LDAP - bind as user - howto?
Alan DeKok
aland at deployingradius.com
Thu Oct 16 21:56:28 CEST 2014
Matej Žerovnik wrote:
> In hints file I have:
> DEFAULT Ldap-UserDN := "uid=%{User-Name},ou=test,dc=example,dc=com",
> Auth-Type := LDAP
Don't use the "hints" file. Use the "users" file. The two files are
for very different things.
> If I put DEFAULT Ldap-UserDN :=
> "uid=testuser,ou=test,dc=example,dc=com", Auth-Type := LDAP in users
> file and uncomment files in authorize section, login is successfu.
Then do that.
> How do I make radius use template provided in hints file and pass it on
> to authenticate modul, so it tries to login to ldap?
I have no idea why you're set on using the hints file.
> Is this even the right way of doing it? I didn't find many posts, that
> tried to do that. Everybody usually search ldap for USERDN attribute in
> authorize section with ldap module.
Everyone uses the "users" file for simple tests.
Alan DeKok.
More information about the Freeradius-Users
mailing list