2.0 teeny tiny ldap config fix

Hugh Messenger hugh at alaweb.com
Sat Jul 21 02:33:50 CEST 2007

Hey Alan,

Just one small change needed in the default ldap modules section of

                filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"

. needs to be .

                filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"

Can I also suggest adding this right above/below that line:

                #  If you are using a Windows AD, use 'sAMAccountName'
instead of
                #  'uid' in the filter.  You will also need to specify an
                #  and password, as AD doesn't allow anonymous binding.

Might save future generations a few precious minutes of their lives

   -- hugh

More information about the Freeradius-Devel mailing list