LDAP Freeradius

Cris Boisvert cris at usai.net
Tue Sep 27 17:26:37 CEST 2005


I can authenticate off correctly when I run radiuss -X

But when I start radius normally it can't connect to the ldap server?

Running Freeradius on fedora core 4


Ideas?

Why would it working in debug but not normally?


Here's the log info
--------------------------------Radius
log-----------------------------------
Mon Sep 26 15:55:27 2005 : Info: Using deprecated naslist file.  Support for
this will go away soon.
Mon Sep 26 15:55:27 2005 : Info: rlm_exec: Wait=yes but no output defined.
Did you mean output=none?
Mon Sep 26 15:55:27 2005 : Info: Ready to process requests.
Mon Sep 26 15:55:30 2005 : Error: rlm_ldap:  bind to 192.168.77.6:389
failed: Can't contact LDAP server Mon Sep 26 15:55:30 2005 : Error:
rlm_ldap: (re)connection attempt failed





------------------radius x  output -----------------------------------------



 modcall[authorize]: module "eap" returns noop for request 0
    users: Matched entry DEFAULT at line 152
  modcall[authorize]: module "files" returns ok for request 0
modcall: group authorize returns ok for request 0
  rad_check_password:  Found Auth-Type LDAP
auth: type "LDAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group Auth-Type for request 0
rlm_ldap: - authenticate
rlm_ldap: login attempt by "wow at pork.com" with password "test1234"
radius_xlat:  '(mail=wow at pork.com)'
radius_xlat:  'o=pork.com'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to 192.168.77.6:389, authentication 0
rlm_ldap: bind as / to 192.168.77.6:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in o=pork.com, with filter (mail=wow at pork.com)
rlm_ldap: ldap_release_conn: Release Id: 0
rlm_ldap: user DN: uid=wow,ou=People,o=pork.com
rlm_ldap: (re)connect to 192.168.77.6:389, authentication 1
rlm_ldap: bind as uid=wow,ou=People,o=pork.com/test1234 to 192.168.77.6:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: user wow at pork.com authenticated succesfully
  modcall[authenticate]: module "ldap" returns ok for request 0
modcall: group Auth-Type returns ok for request 0 Sending Access-Accept of
id 26 to 192.168.77.6:3665 Finished request 0




More information about the Freeradius-Users mailing list