Bind to ldap with the current auticated user

2008-11-23 Thread Ram Akuka
Hi, i am trying to bind to LDAP server with my the current auth user .. so i added the following to the ldap module: identity = uid=%{Stripped-User-Name:-%{User-Name}},ou=people,o=XXX,o=XXX password = %{%{User-Password}:-%{Chap-Password}} but insted of compressing the unlang string and using the

Re: Bind to ldap with the current auticated user

2008-11-23 Thread Alan DeKok
Ram Akuka wrote: Hi, i am trying to bind to LDAP server with my the current auth user .. You don't need to change anything to do that. Just make sure LDAP is being used for authentication, and it will automatically bind as user. If you want to do bind as user to get authorization

Re: Bind to ldap with the current auticated user

2008-11-23 Thread Arran Cudbard-Bell
Alan DeKok wrote: Ram Akuka wrote: Hi, i am trying to bind to LDAP server with my the current auth user .. You don't need to change anything to do that. Just make sure LDAP is being used for authentication, and it will automatically bind as user. If you want to do bind as