Hi, list.

it seems .modify() or .modify_s() can only modify one dn in one time.  
How can i modify several dn in one time?

Such as ldapadd command:

# ldapadd -x -D 'cn=Manager,dc=xxx,dc=xxx' -wpasswd -f new.ldif

Content of new.ldif:

dn: cn=vmail,dc=xxx,dc=xxx
changetype: modify
add: cn
cn: newCN
cn: newCN2
--
dn: cn=user01,dc=xxx,dc=xxx
changetype: modify
cn: newCN
cn: newCN2



-- 
Best Regards.

Zhang Huangbin

- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux,
  CentOS, Debian, Ubuntu: http://www.iredmail.org/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to