Valerion wrote:Actually the information is held in the internal SYSTEM directory. The Scalix LDAP daemon is simply an interface into this.
omsearch -s -m @ALL-ATTR@You can get more information in the hidden USERLIST directory
omsearch -s -d USERLIST -t h -m @ALL-ATTR@Seems the password is store in there in a hashed form, you won't be able to retrieve it in a plaintext way.
Thats ok, don't need to read the password entries in plain text.
Of course, given all this info, I am not entirely sure this will help you, as you can't really consititure more than the user's details this way.
The best way is to get all the relevant info is with an omshowu on each user, then use that information in a subsequent omaddu. This will create the user mailbox plus all the needed directory entries for you. Combined with a sxmboxexp you can get the user back exactly the way it was.
what i was really after was a way to easily restore a user (or group of users) account (including all atributes - i.e. password and everything) if necessary.
Primarily its being able to restore the user password back to what it was.....
with openldap thats relatively straight-forward with slapcat.
omshowu and omsearch can give me almost everything.
omldapsearch does an export output to ldif with ....
omldapsearch -L UTF8-N -s sub "cn=*"
and omldapadd or omldapmodify can reimport via ldif format.
But again, its not everything.
Given that ldap is more or less just a frontend is there any other tools to export the system user list (including all user attributes) to a file, and be able to re-import that back in if necessary?
TIA