Hello,

I try to use FreeRADIUS 0.7 with the LDAP module to return the value of LDAP-
UserDN on successful authentication.

The users file looks as follows:

DEFAULT Auth-Type := ldap
        User-Name := "%{ldap-userdn}",
        Reply-Message := "%{ldap-userdn}",
        Fall-Through = 0

The Access-Accept reply has the following form:

rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=61, length=79
        User-Name = "%{ldap-userdn}"
        Reply-Message = "cn=RANK,o=Uni-Passau"

It seems that the variable ldap-userdn does not get expanded for the User-Name 
reply item.

What can I do to return the ldap-userdn in the User-Name reply item?

Thanks in advance,
        Christian

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to