We use official password script migration from internal to external LDAP:
++++++++++++
ldapsearch -LLLx -H "${ZIMBRA_LDAP}" -D "cn=config" -b "${ZIMBRA_BASEDN}" -w "${ZIMBRA_ROOTPW}" \
"(zimbraPasswordModifiedTime>=`date -u +%Y%m%d%H%M%SZ -d \"-${TIME} sec\"`)" userPassword | \
sed -e '/ou=people,dc=ukw,dc=edu,dc=pl$/achangetype: modify\nreplace: userPassword'| \
ldapmodify -x -H "${EXTERNAL_LDAP}" -D "${EXTERNAL_LDAP_BINDDN}" -w "${EXTERNAL_LDAP_PASSWD}"
+++++++++++++++++++++++++++++++
Our external LDAP looks like this (example):
ou=people, dc=domain,dc=edu,dc=pl
(standard staff)
ou=ciscovpn1, ou=people, dc=domain,dc=edu,dc=pl
(staff with vpn permisssion)
ou=specialaccess, ou=ciscovpn1, ou=people, dc=domain,dc=edu,dc=pl
(staff with special vpn permisssion)
We must have the same LDAP structure in Zimbra, because the password change script don't will be work correctly..
I use 'advanced' ldap structure in my Zimbra since year. I updated Zimbra from 7.x to 7.1.1 and 7.1.2 and 7.1.3 - all works fine (after changge Zimbra ldap structure we must restart ZCS, because some ldap info are collectible in NSCD)...
P.s
Many users has large LDAP structure ...
There are two simple solutions:
Or Zimbra will implement the ability to change passwords for outside accounts (external LDAP auth),
or accept the possibility of having a complex structure with ldap for future update.
__________________
# ZCS 7.1.3 SLES11 SP1
Last edited by soba@ukw.edu.pl; 10-05-2011 at 04:32 AM..
|