From: Jean-Eric C. <Jea...@li...> - 2001-04-02 14:25:51
|
Hi, Would anyone try this little program? LDAPSearch.find() works great but I always have these errors when updating ( LDAPEntry.commit() ): Modlist: [(2, 'loginshell', ['/bin/bash', '/bin/ash'])] Traceback (most recent call last): File "./class_test.py", line 98, in ? entry.commit(); File "/usr/lib/python2.0/site-packages/python-ldap/ldap/entry.py", line 254, in commit self.connection._modify(self.dn, mod) File "/usr/lib/python2.0/site-packages/python-ldap/ldap/connection.py", line 63, in _modify self.__connection.modify_s(self.__check_base(dn), modlist) ldap.LDAPError: / Ld-error: 0 / Result: 21 / Invalid syntax Thanks -jec <<class_test.py>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Jean-Eric Cuendet Linkvest SA Av des Baumettes 19, 1020 Renens Switzerland Tel +41 21 632 9043 Fax +41 21 632 9090 http://www.linkvest.com E-mail: jea...@li... _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |