Modifying multiple dns with a single function call
Michael Ströder
michael at stroeder.com
Fri Mar 18 13:49:24 CET 2011
Rahul Amaram wrote:
> I am looking for something like this.
>
> dn: cn=User1,dc=example,dc=com
> changetype: modify
> replace: mail
> mail: user1 at example.com
>
> dn: cn=User2,dc=example,dc=com
> changetype: modify
> replace: mail
> mail: user2 at example.com
>
> dn: cn=User3,dc=example,dc=com
> changetype: modify
> replace: mail
> mail: user3 at example.com
>
> I want to make all the above changes with a single function call. Is
> this possible
No.
> or should I call modify_s once for each dn entry?
Yes.
Ciao, Michael.
More information about the python-ldap
mailing list