LDAP filter
Andrés Gómez
andres.gomez.ruiz at gmail.com
Tue Sep 19 14:28:25 CEST 2017
Hi Matthew
This Filter worked great!!
filter = "(&(uid=%{%{Stripped-User-Name}:-%{User-Name}})(
userType=managment))"
Thanks a lot!!!
Andrés
2017-09-18 1:59 GMT-05:00 Matthew Newton <mcn at freeradius.org>:
> On 18 September 2017 03:49:43 BST, "Andrés Gómez" <
> andres.gomez.ruiz at gmail.com> wrote:
> >I also tried
> >ldap {
> >
> > server = "plataform.example.com.co"
> > identity = "cn=roam,dc=example,dc=com,dc=co"
> > password = 12345
> > basedn = "dc=example,dc=com,dc=co"
> >* filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"*
> >* base_filter = "(userType= managment*)"
> > ldap_connections_number = 5
> >...
> >}
> >
> >But the same results, I dont know how to make the filter of the LDAP
> >object "userType= managment" and the user who has the "userType=
> >guest"
> >can authenticate.
>
> Combine both in the one filter?
>
> filter = "(&(uid=%{%{Stripped-User-Name}:-%{User-Name}})(
> userType=managment))"
>
> But still, v2 is unsupported and you really should look to upgrade to
> v3.0.15.
>
> --
> Matthew
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>
More information about the Freeradius-Users
mailing list