port of Net::LDAP::Entry

Michael Ströder michael at stroeder.com
Thu Jul 25 12:09:06 CEST 2002


Robert Sander wrote:
> This is a first port of
> Net::LDAP::Entry 

I have to admit that I do not know Net::LDAP::Entry. Therefore I 
might not fully understand the rationale.

Check out ldap.modlist.modifyModlist(). Simply copy your old entry 
tweak the new entry's dictionary and create a list you can 
directly pass to LDAPObject.modify()/modify_s(). In some cases 
that might not work since there's no smart schema handling of the 
LDAP syntaxes but most times it's pretty convenient.

Ciao, Michael.






More information about the python-ldap mailing list