Sue cn not uid in the ldap DN

This commit is contained in:
niten 2023-09-29 15:54:07 -07:00
parent 36a9d2a1fa
commit 1c5449a499

View File

@ -243,7 +243,7 @@ in {
"dn = ${cfg.ldap.bind-dn}" "dn = ${cfg.ldap.bind-dn}"
"dnpass = ${readFile cfg.ldap.bind-password-file}" "dnpass = ${readFile cfg.ldap.bind-password-file}"
"auth_bind = yes" "auth_bind = yes"
"auth_bind_userdn = uid=%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}"
]); ]);
target-file = "/run/dovecot-secret/ldap.conf"; target-file = "/run/dovecot-secret/ldap.conf";