View Single Post
  #8 (permalink)  
Old 02-24-2006, 11:01 AM
marcmac marcmac is offline
Zimbra Employee
 
Posts: 2,103
Default

Write this to a file (FILENAME):
Code:
# Add HSM-specific attributes and values

dn: cn=config,cn=zimbra
changetype: modify
objectclass: zimbraHsmGlobalConfig
-

dn: cn=config,cn=zimbra
changetype: modify
add:
zimbraHsmAge: 30d
zimbraServerInheritedAttr: zimbraHsmAge
then
Code:
zmlocalconfig -s ldap_root_password
zmlocalconfig -s zimbra_ldap_userdn
Take the values you got for password and userdn and the name of the file you created and run (as the zimbra user):
Code:
/opt/zimbra/openldap/bin/ldapmodify -a -c -w 'PASSWORD' -D "USERDN" -x -f FILENAME
NOTE - quotes are important in the above command.
Reply With Quote