LDAP Radius -x help...

Cris Boisvert cris at usai.net
Mon Sep 26 22:05:02 CEST 2005


Running Freeradius on fedora core 4

When I use Radiusd -X  I can authenticate via the ldap server I have
running..

But when I start radius normally  "service radiusd start" it starts but the
error log says It can't talk to 
The ldap server..

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