saslauthd with mech "kerberos5" generates a lot of ldap-load
[email protected] Tue, 27 Mar 2018 16:13:12 +0200
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <trinity-34738df4-9c67-4097-bfa3-29e2254f3047-1522159992734@3c-app-gmx-bs22> |
Hi, our cyrus imap server is configured with "sasl_pwcheck_method: saslauthd" and the saslauthd with mech "kerberos5". Everything else we needed was a krb5.conf and a krb5.keytab, so far the authentication over imap works. On the mail server is also a sssd configured, so that the server knows all users from an ldap-server (samba4). Users are not allowed to login on this server. (ssh, local), but I think for postfix the server needs to know all users. If I turn off the sssd, imap-authentication still works. Means saslauthd doesnt need the local authentication service "sssd". So far it makes sense to me, saslauthd is configured for kerberos5. But when I turn on the sssd, imap-authentication still works, but when a user logs in over imap, the sssd resolves all ldap-groups from this user, and this generates a lot of ldap-load, so that the mail-server becomes very slow. So it seems, the saslauthd asks the local user-management for group-informations, is this right ? Is there any connection between the local user-management and saslauthd, although saslauthd is configured with kerberos5 ? Thanks