Change filter
This commit is contained in:
+1
-1
@@ -245,7 +245,7 @@ in {
|
|||||||
"auth_bind = yes"
|
"auth_bind = yes"
|
||||||
"auth_bind_userdn = cn=%u,${cfg.ldap.member-ou},${cfg.ldap.base}"
|
"auth_bind_userdn = cn=%u,${cfg.ldap.member-ou},${cfg.ldap.base}"
|
||||||
"base = ${cfg.ldap.base}"
|
"base = ${cfg.ldap.base}"
|
||||||
"user_attrs = =user=%{ldap:cn}"
|
"user_filter = (&(objectClass=user)(cn=%n))"
|
||||||
]);
|
]);
|
||||||
target-file = "/run/dovecot-secret/ldap.conf";
|
target-file = "/run/dovecot-secret/ldap.conf";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user