Allow setting userAttrs to empty string
This allows overwriting the default values for user_attrs to be empty which is required when using virtual mailboxes with ldap accounts that have posixAccount attributes set. When user_attrs is empty string those are ignored then.
This commit is contained in:
@@ -277,7 +277,7 @@ in
|
||||
|
||||
dovecot = {
|
||||
userAttrs = mkOption {
|
||||
type = types.str;
|
||||
type = types.nullOr types.str;
|
||||
default = "";
|
||||
description = ''
|
||||
LDAP attributes to be retrieved during userdb lookups.
|
||||
|
||||
Reference in New Issue
Block a user