[Dovecot] ldap uid with static gid problem

Timo Sirainen tss at iki.fi
Tue Apr 26 14:21:02 EEST 2005


On Tue, 2005-04-26 at 13:14 +0200, Farkas Levente wrote:
> hi,
> i'd like to use dovecot to authenticate from ldap. in ldap each user has 
>   it's uniq uid and gid. unfortunately with postfix we can't use uniq 
> uid/gid since in this case we have ot create all user's home in advance. 
>    so we decided to use uniq uid and a common gid in postfix since in 
> this case postfix can create new users maildir and deliver new mails. so 
> i'd like to use everyone's own uid in dovecot, but a common gid (same as 
> in postfix). but how can i do so? i read the wiki, but the problem is if 
> i use:
> auth_userdb = ldap /etc/dovecot-ldap.conf
> then i have to define ldap attrib name in dovecot-ldap.conf:
> user_attrs = mail,,,uid,uidNumber,gidNumber
> what should i use in the last field in user_attrs?

Just remove the gidNumber so the field becomes empty and unused.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050426/23fa4e67/attachment-0001.bin>


More information about the dovecot mailing list