Re: Checkval weird issue with LDAP backend and PAM authentication

2010-11-25 Thread Marco Carcano
Marco Carcano Il giorno 23/nov/10, alle ore 16:25, John Dennis ha scritto: On 11/23/2010 08:33 AM, Alan DeKok wrote: marco wrote: Sorry Alan I've not realized that the logs had became a garbage :O( - maybe a webmail realted issue of my ISP. Now I Bcc myself to see how does it appear

Re: Checkval weird issue with LDAP backend and PAM authentication

2010-11-25 Thread Marco Carcano
Hi Alan I RTM unlang, but I have to admit I only got confused - The only thing I have understood is to write a simple statement like this (in authorize section) if (NAS-Identifier == ftp ) { ok } else { reject } and I think

Re: Checkval weird issue with LDAP backend and PAM authentication

2010-11-26 Thread Marco Carcano
Hi Alan but I have not been able to see a working example using ldap, if (NAS-Identifier == %{ldap: ... ldap stuff ... }) { thinking at the %{sql:SELECT ...} example I tough I syntax almost like this if (NAS-Identifier == ldap:cn=%{User-Name},ou=Users,dc=marcolinux,dc=local

Re: Checkval weird issue with LDAP backend and PAM authentication

2010-11-26 Thread Marco Carcano
Hi Alan, just to let you know: if (NAS-Identifier == %{ldap:cn=%{User- Name},ou=Users,dc=marcolinux,dc=local (eckAllowedServices)} ) { ok } message: ++? if (NAS-Identifier == %{ldap:cn=%{User- Name},ou=Users,dc=marcolinux,dc=local (eckAllowedServices)} ) rlm_ldap: - ldap_xlat

Re: Checkval weird issue with LDAP backend and PAM authentication

2010-11-26 Thread Marco Carcano
[*]} == % {NAS-Identifier} ) and if (%{ldap:ldap://127.0.0.1/CN=%{User- Name},OU=Users,DC=marcolinux,DC=local?eckAllowedServices}[*] == % {NAS-Identifier} ) but had no luck Marco Carcano just for info (for other users that may read this post in the future): I was wondering if it performed

Re: Checkval weird issue with LDAP backend and PAM authentication SOLVED with unlang

2010-11-26 Thread Marco Carcano
Good luck Marco Carcano - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html