Modifying multiple dns with a single function call

Michael Ströder michael at
Fri Mar 18 10:55:56 CET 2011

Rahul Amaram wrote:
> I would like to know if it possible to modify multiple dns at once i.e. 
> via a single modify_s request.

Yes, if you mean (multiple) DN-valued attribute values in a single entry.

No, if you mean the DNs of multiple entries.

> I might need to update about 10,000 entries and I was wondering about 
> the best way to do this.

One by one...

This can get tricky if you have a hierarchy of DNs and you have to rename
superior entries.

Ciao, Michael.

More information about the python-ldap mailing list