On Mon, Jun 18, 2012 at 11:20:52AM +0300, Pavel Bychykhin wrote: > May be someone know a simple way (via LDAP map) to retreive an > objectGUID attribute from AD in TEXT form?
Postfix has no support for encoding binary data retrieved from tables. You would have to store the ASCII encoding of the GUUID as a custom attribute that duplicates (in an encoded) form the binary objectGUUID. > I need objectGUID for naming of user's maildir. objectGUID is > more convenient than sAMAccountName, or a name etc. Is this really necessary? Users to authenticate to access their mail, and so the IMAP server maps each user to the correct mailbox, so the only plausible reason to avoid the sAMAAccountName is if you allow users to change it. It is best to never change the account name. You can change a user's full name (CN) or email address (mail) without changing the account name. -- Viktor.