I cannot figure out how to get remoteauth to work. I would appreciate some help. I'm trying to use remoteauth against an AD domain. Using the docs and the examples, this is the config that I have but it's not authenticating to the AD domain:
remoteauth.ldif
dn: cn=module{2},cn=config objectClass: olcModuleList cn: module{1} olcModulePath: /opt/bitnami/openldap/lib/openldap olcModuleLoad: remoteauth.so
dn: olcOverlay={6}remoteauth,olcDatabase={2}mdb,cn=config objectClass: olcOverlayConfig objectClass: olcRemoteAuthCfg olcOverlay: {6}remoteauth olcRemoteAuthDNAttribute: seeAlso olcRemoteAuthDomainAttribute: o olcRemoteAuthDefaultRealm: thedomain olcRemoteAuthMapping: thedomain ldap://dc01.domain.tld:389 olcRemoteAuthTLS: starttls=no tls_reqcert=never olcRemoteAuthRetryCount: 3
This is the remote user config in openldap:
dn: cn=username@domain.tld,ou=users,dc=localdomain,dc=local objectClass: inetOrgPerson cn: username@domain.tld sn: Smoe displayName: Joe Smoe givenName: Joe mail: username@domain.tld o: thedomain:username seeAlso: cn=Joe Smoe,ou=Openldap Users,dc=deeztek,dc=com uid: username@domain.tld userPassword::
Thanks
Thanks