Re: Error to add objectClass to entries

2010-08-20 Thread Steeve BARBEAU
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

Re: Error to add objectClass to entries

2010-08-20 Thread Chaos Eternal
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: {'