I've found the solution. I use this method :
>>> mod_attrs = [( ldap.MOD_ADD, 'uidNumber', '1000' )]
>>> l.modify_s('uid=francis,ou=users,dc=example,dc=com', mod_attrs)
I had began with this method, but my error was to keep number as integer and
not as string.
Thx
Steeve Barbeau
http://steeve-b
you cannot alter/change stuctral objectClass of an existing entry
On 20 Aug 2010 4:08 PM, "Steeve BARBEAU" wrote:
Hi,
I'm new to this mailing list and I've a question concerning python-ldap.
I want to add some objectClass and attributes to existing entries but I have
this error :
ldap.OTHER: {'