Help connecting to remote ldap server

Raymond Norton admin at lctn.org
Thu Jun 24 16:18:14 CEST 2010


ldapsearch -x -b  uid=billy,ou=People,dc=lctn,dc=org (on remote ldap server)

Command successfully displays information on user.



radtest raymond "password" 127.0.0.1 1 testing123 (on freeradius server)

Displays local user info

radtest billy "password" 127.0.0.1 1 testing123  (on freeradius server)

displays: rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, 
id=2, lengt

My config changes are as follows:

/modules/ldap:  (on remote ldap server)

ldap {

         server = "10.10.3.1"
         basedn = "dc=lctn,dc=org"
         filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"

/etc/ldap/slapd.conf (on remote ldap server)

Commented out access statements.

#access to attrs=userPassword
#        by dn="cn=admin,dc=lctn,dc=org" write
#        by anonymous auth
#        by self write
#        by * none



/freeradius/radiusd.conf (added ldap module)

instantiate {

         exec


         expr
         ldap



>    So... what is going wrong?
>    
>



More information about the Freeradius-Users mailing list