I am looking for something like this. dn: cn=User1,dc=example,dc=com changetype: modify replace: mail mail: us...@example.com
dn: cn=User2,dc=example,dc=com changetype: modify replace: mail mail: us...@example.com dn: cn=User3,dc=example,dc=com changetype: modify replace: mail mail: us...@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? Regards, Rahul. 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. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev