DevHeads.net

Postings by Andras Kemeny

please help, getting desperate

hi,

i have a question regarding the pipe, when being used to contact the LDA
(in my case, dovecot).

my virtual users are in LDAP, but they have their own UID and GID. since
i don't want to do a setuid script for the LDA (and obviously the LDA
needs to run with the correct permissions to be able to affect the
target user's mailbox files), is there a way to use the whole record
object from the LDAP query (which contains the uidNumber and gidNumber
attributes) and use some kind of substitution in the master.cf when
specifying the user=UID:GID parameter?