Jonathan Schreiter wrote:
> I think your best option is to just keep Kerberos for
> especially if you are already using it successfully for other apps.
> What problems did you have with SASL mapping?
Thanks for your reply. I've followed the documentation on the FDS website, basically
to keep it as compatible as possible, I've added (under confg - sasl - mapping):
Hmm - this doesn't seem quite right. For one (cn=&) is not the correct
syntax. What does & mean here? If by & you mean "the entire string
matched by nsSaslMapRegexString" then this means you expect a SASL
username of something like "John Doe" which is mapped to an entry with
cn=John Doe under ou=People. But this still won't work unless you do
something like this:
You have to use the escaped parentheses in the regexstring to put the match into a
matching group (referenced by \1). But I still don't think this will work unless you
have a very nonstandard Kerberos set up. The regex string is supposed to match against
the Kerberos principal, which is usually something like jdoe(a)DOMAIN.COM, or the domain is
omitted and the principal sent to the DS is just "jdoe". The examples at
describe both of these situations.
On the server I've added export KRB5_KTNAME=/etc/ldap.keytab to
/opt/fedora-ds/start-slapd. (I've done a ktdump to this file from kadmin).
On the client that previously connected to OpenLDAP, I've changed the /etc/ldap.conf
(and /etc/openldap/ldap.conf) to:
base dc=example, dc=com
When trying to do an ldapwoami I recieve:
ldap_sasl_interactive_bind_s: Invalid credentials (49)
additional info: SASL(-1): generic failure: GSSAPI Error: Miscellaneus failure
I have already done a kinit username to my KRB5 REALM and that user exists in the base
ou=People, dc=example, dc=com on the FDS.
One thing that was not clear to me was if I needed to add a SASL Mapping entry under the
configuration tab when I already have the added entry above - and if so what it should
You're pretty close, just refer to
Also, I'm not sure if I need all the settings (such as a
sasl_auth_id) but they are left over from configuration of openldap.
Any help would be appreciated.
Fedora-directory-users mailing list