t this was the solution.
>
Really strange.
Don't was set ldap.VERSION2 in my code.
I'm using python-ldap 2.3
Att,
Fernando Ribeiro
--
-----
- Fernando Ribeiro - SysAdmin
- +55-61-8438-5806
-
Hi James,
The problem was fixed using ldap.VERSION with ldap.VERSION3:
self.conn.set_option(ldap.VERSION, ldap.VERSION3)
Thanks
Att,
--
-
- Fernando Ribeiro
- +55-61-8438-5806
def _modify(self, dn):
self.log.debug("%s: %s"%(dn, self.modlist))
try:
ldap_result_id = self.conn.modify(dn, self.modlist)
result_type, result_data =
self.conn.result(ldap_result_id,
0)
except ldap.LDAPError,