Skip to content

Commit 0b00384

Browse files
committed
set homeDirectory from ldap vdhome value
1 parent f41b640 commit 0b00384

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

roles/postfix/templates/dovecot-ldap.conf.ext.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ scope = subtree
3131

3232
# ldap filter, return an entity that is a virtual mail account
3333
user_filter = (&(objectClass=VirtualMailAccount)(mail=%n)(accountActive=TRUE)(delete=FALSE))
34+
35+
# when using global uid/gid use this
36+
users_attrs = homeDirectory=vdhome

0 commit comments

Comments
 (0)