Displaying 4 results from an estimated 4 matches for "simple_bind_".
Did you mean:
simple_bind
2015 Jan 19
8
Slow ldap authentication against samba 4
hi everyone... somebody has experimented any problems with poor
performance about ldap authentication against samba 4? I'm trying
authentication with 300 users and many users can't login. Some conections
are rejected. I doesn't found anything searching on internet. Any help?
--
Grato,
Jefferson Parreira dos Santos Emerick
2015 Aug 13
1
Slow ldap authentication against samba 4
...t; * l = ldap.open(self.host)*
>>>> * l.protocol_version = ldap.VERSION3*
>>>> * l.port = 389*
>>>> * if self.timeout:*
>>>> * l.set_option(ldap.OPT_TIMEOUT, self.timeout)*
>>>> * l.simple_bind_s(self.username, self.password)*
>>>> * print '%s OK' %self.id <http://self.id>*
>>>> * except ldap.LDAPError, e:*
>>>> * print '%s FAIL' %self.id <http://self.id>, e*
>>>> *
>>>> *
>>...
2015 Jan 20
0
Slow ldap authentication against samba 4
...*
> *
> *
> * def run(self):*
> * try:*
> * l = ldap.open(self.host)*
> * l.protocol_version = ldap.VERSION3*
> * l.port = 389*
> * if self.timeout:*
> * l.set_option(ldap.OPT_TIMEOUT, self.timeout)*
> * l.simple_bind_s(self.username, self.password)*
> * print '%s OK' %self.id <http://self.id>*
> * except ldap.LDAPError, e:*
> * print '%s FAIL' %self.id <http://self.id>, e*
> *
> *
> *for i in range(int(sys.argv[4])):*
> * timeout = None*
&g...
2015 Aug 13
0
Slow ldap authentication against samba 4
...try:*
>>> * l = ldap.open(self.host)*
>>> * l.protocol_version = ldap.VERSION3*
>>> * l.port = 389*
>>> * if self.timeout:*
>>> * l.set_option(ldap.OPT_TIMEOUT, self.timeout)*
>>> * l.simple_bind_s(self.username, self.password)*
>>> * print '%s OK' %self.id <http://self.id>*
>>> * except ldap.LDAPError, e:*
>>> * print '%s FAIL' %self.id <http://self.id>, e*
>>> *
>>> *
>>> *for i in rang...