adding organizationalUnit

Michael Engelhart mengelhart at katahdinsoftware.com
Wed May 14 19:55:55 CEST 2003


Hi

Is it possible to add an ou to a directory using python-ldap

I'm trying to add something like this to my directory (this LDIF works 
with ldapadd fine)

dn: ou=Sales,o=somecompany.com
objectclass: top
objectclass: organizationalunit
ou: Sales


When i tried doing this using the add(dn, modlist) function, it failed 
with an error saying the "dn: attribute type undefined"

Any tips would be appreciated.

THanks
Michael






More information about the python-ldap mailing list