thanks. If you want to see a list of all the valid attributes on an account, take a look at the following file:
Code:
/opt/zimbra/openldap/etc/openldap/schema/zimbra.schema
Look for "objectclass ( zimbraAccount". And it will show you all the valid attribute names.
An easier approach might be to use the GUI admin to set all the fields you are interested on a particular account, then look at the account with zmprov:
Code:
/opt/zimbra/bin/zmprov ga account@your.domain
that will show you all the attribute names, you are interested, like:
Code:
description: some description
givenName: John
sn: Smith
...
The attributes like givenName and sn come from LDAP, so don't blame us fo the name
you can then write a script that calls zmprov modifyAccount on whatever accounts you want:
hope that helps...
roland