fix ldap options for authentik looking up correct cn
This commit is contained in:
parent
7ab8485f3d
commit
dda9d5529f
1 changed files with 8 additions and 3 deletions
|
|
@ -74,12 +74,17 @@
|
||||||
ldap = {
|
ldap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
bind = {
|
bind = {
|
||||||
dn = "cn=dovecot,ou=users,dc=auth,dc=htw,dc=stura-dresden,dc=de";
|
dn = "cn=ldapservice,ou=users,dc=auth,dc=htw,dc=stura-dresden,dc=de";
|
||||||
passwordFile = "/var/lib/dovecot_ldap_passwd";
|
passwordFile = "/var/lib/dovecot_ldap_passwd";
|
||||||
};
|
};
|
||||||
dovecot = { };
|
dovecot = {
|
||||||
|
userFilter = "(&(objectClass=posixAccount)(cn=%u))";
|
||||||
|
passFilter = "(&(objectClass=posixAccount)(cn=%u))";
|
||||||
|
};
|
||||||
|
postfix = {
|
||||||
|
filter = "(&(objectClass=posixUser)(cn=%s))";
|
||||||
|
};
|
||||||
searchBase = "dc=auth,dc=htw,dc=stura-dresden,dc=de";
|
searchBase = "dc=auth,dc=htw,dc=stura-dresden,dc=de";
|
||||||
searchScope = "sub";
|
|
||||||
uris = [
|
uris = [
|
||||||
"ldap://localhost:389"
|
"ldap://localhost:389"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue