From: Xander v. E. <xa...@bo...> - 2000-10-17 08:29:37
|
Hello, Could anybody tell me where i can find the documentation of the = python-ldap module? Where there is clearly explained wich functions there are and how they = work. I've some trouble with adding persons to the ldap server. I managed to = add organisationalunits. I use this code: try: dn =3D "cn=3DJorgen, dc=3DPeople, dc=3DMailinglist,o=3Dbos,c=3Dnl" print "Updating", repr(dn) l.add_s(dn, [ ("cn", ["Jorgen"]), ("givenname", ["Jorgen"]), ("objectclass",["top"]), ("objectclass",["person"]), ("objectclass",["organizationalperson"]), ("Phone", ["065464894"]), ("description", ["Miljonair"]) ] ) except ldap.LDAPError: pass l.unbind() I get no error's but after i execute it, it isn't inserted........ Best. Regards, Xander van Es LET OP!: nieuw adres (tel. + fax ongewijzigd). Bos pioneers in web-building Telefoonweg 44 b 6712 GD Ede tel +31 318 693111 fax + 31 318 693042 http://www.bos.nl |