Re: Wrong behaviour of rlm_ldap module + users file

2007-07-30 Thread inverse
On 7/27/07, Phil Mayers [EMAIL PROTECTED] wrote: DEFAULT Ldap-UserDn = `cn=%{User-Name},ou=whatever,...` Note that the DN need not be real Hi Phil, lol, I browsed the source too and I was gonna recompile it to exclude the hardcoded uid search. Clearly that would have been useless.

Re: Wrong behaviour of rlm_ldap module + users file

2007-07-27 Thread Phil Mayers
On Fri, 2007-07-27 at 13:25 +0200, inverse wrote: Hi, I tried the suggestion and it didn't work, here are the involved radiusd.conf sections. Ok. I quick glance at the code shows that the Ldap-Group compare function will do an LDAP search to find the users LDAP DN. You can set it, and it

Re: Wrong behaviour of rlm_ldap module + users file

2007-07-27 Thread inverse
Hi, I tried the suggestion and it didn't work, here are the involved radiusd.conf sections. You will also notice mschap and similars, that's because we also have dialup users who need an ldap lookup for their belonging to a dialup group and the password. I also need to check if chap still works

Wrong behaviour of rlm_ldap module + users file

2007-07-26 Thread inverse
Hi, this problem is simple (everything not shown here is v1.1.6 out-f-the-box radiusd configuration): users file line: [EMAIL PROTECTED] Auth-Type := EAP, User-Password == a, Ldap-Group == wifi this is a test line, [EMAIL PROTECTED] uses EAP-MD5 , but I want to check if he's in the Ldap-Group

Re: Wrong behaviour of rlm_ldap module + users file

2007-07-26 Thread inverse
users file line: [EMAIL PROTECTED] Auth-Type := EAP, User-Password == a, Ldap-Group == wifi Totally wrong. You want: [EMAIL PROTECTED] Cleartext-Password := a, Ldap-Group == wifi Thanks, I owe you one Bye, Inverse. - List info/subscribe/unsubscribe? See

Re: Wrong behaviour of rlm_ldap module + users file

2007-07-26 Thread Phil Mayers
On Thu, 2007-07-26 at 14:56 +0200, inverse wrote: Hi, this problem is simple (everything not shown here is v1.1.6 out-f-the-box radiusd configuration): users file line: [EMAIL PROTECTED] Auth-Type := EAP, User-Password == a, Ldap-Group == wifi Totally wrong. You want: [EMAIL