Modifying multiple dns with a single function call
rahul at synovel.com
Fri Mar 18 13:16:22 CET 2011
I am looking for something like this.
mail: user1 at example.com
mail: user2 at example.com
mail: user3 at example.com
I want to make all the above changes with a single function call. Is
this possible or should I call modify_s once for each dn entry?
On Friday 18 March 2011 03:25 PM, Michael Ströder wrote:
> 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