AnsweredAssumed Answered

LDAP subscope Query

Question asked by bensewell on Jul 21, 2011
Heres the scenario.

I've kind of got LDAP working against two ldap servers. 

One is using this setting:
ldap.authentication.userNameFormat=%s@domaina.co.uk

The other is using this setting:
ldap.authentication.userNameFormat=uid=%s,ou=External,ou=Users,dc=domainb,dc=co,dc=uk

The first ldap with %s@domaina.co.uk works fine.

The second ldap works but only with the External OU.  If i want to include all the subscopes i thought i could just knock off the External and have ldap.authentication.userNameFormat=uid=%s,ou=Users,dc=domainb,dc=co,dc=uk. 

After a bit of digging the usual parameter to include subscopes is -s so would this work ldap.authentication.userNameFormat=uid=%-s,ou=Users,dc=domainb,dc=co,dc=uk?

Thanks, Ben

Outcomes