feoras_fael
01/18/2024, 5:21 PMimap/sasl: authentication failed {"reason":"no auth. provider accepted creds, last err: auth.ldap: search: LDAP Result Code 50 \"Insufficient Access Rights\": No user currently bound","src_ip":"xxx:42058","username":"test@sub.example.com"}
or
imap/sasl: authentication failed {"reason":"no auth. provider accepted creds, last err: unknown credentials","src_ip":"xxx:51592","username":"test@sub.example.com"}
I'm not really experienced with ldap yet so I tried different filter's like any combinations of mail_attribute and username with
filter "(&(objectClass=posixAccount)({mail_attribute}={username}))" without any luck.
In maddy they say to change "auth_map (see documentation page for used storage backend)" which would be lldap but I didn't found any option like thisfeoras_fael
01/18/2024, 5:26 PMnitnelave
01/18/2024, 5:26 PMfeoras_fael
01/18/2024, 5:28 PMauth.ldap local_authdb {
urls ldap://lldap:3890
bind plain "cn=admin,ou=people,dc=example,dc=com" "password_of_user_admin"
base_dn "dc=example,dc=com"
filter "(&(|(uid={username})(mail={username}))(objectClass=person))"
starttls off
debug off
connect_timeout 1m
}feoras_fael
01/18/2024, 5:29 PMnitnelave
01/18/2024, 5:30 PMnitnelave
01/18/2024, 5:30 PMfeoras_fael
01/18/2024, 5:32 PMfeoras_fael
01/18/2024, 6:18 PMnitnelave
01/18/2024, 6:18 PMfeoras_fael
01/18/2024, 6:19 PM