Hi there,

I am trying do implement Pass-Trough authentication with SASL and I’am using 
https://ltb-project.org/documentation/general/sasl_delegation 
<https://ltb-project.org/documentation/general/sasl_delegation> as an example.
Is it possible that this manual does not work with slapd package from default 
Ubuntu? 

So far everything working except last part (pasted bellow) when I am changing 
meta backend for ldap.
When I switch backends I can’t see dc=local BaseDN and so on.

Can someone explain please or point me where the problem could be?

Thanks, BR!
Martin

# Database LDAP for local Manager authentication
database ldap
suffix "cn=manager,dc=local"
rootdn "cn=manager,dc=local"
rootpw secret

# Database LDAP for LDAP 1
database        ldap
suffix          "ou=LDAP1,dc=local"

uri ldap://ldap1.example.com

idassert-bind bindmethod=simple
   binddn="cn=admin,dc=example1,dc=com"
   credentials="secret"
   mode=none
   flags=non-prescriptive
idassert-authzFrom "dn.exact:cn=Manager,dc=local"

overlay rwm
rwm-suffixmassage   "ou=LDAP1,dc=local" "dc=example,dc=com"

# Database LDAP for LDAP 2
database        ldap
suffix          "ou=LDAP1,dc=local"

uri  ldap://ldap2.example.com

idassert-bind bindmethod=simple
  binddn="cn=admin,dc=example2,dc=com"
  credentials="secret"
  mode=none
  flags=non-prescriptive
idassert-authzFrom "dn.exact:cn=Manager,dc=local"

overlay rwm
rwm-suffixmassage   "ou=LDAP1,dc=local" "dc=example,dc=com"

# Example of rwm configuration for Active Directory
rwm-map attribute uid sAMAccountName
rwm-map attribute * *
_______________________________________________
ltb-dev mailing list
[email protected]
https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-dev

Reply via email to