freeRadius Ldap connection error

Alan DeKok aland at deployingradius.com
Sun Aug 20 12:41:18 CEST 2017


On Aug 20, 2017, at 12:09 PM, Dhivya Alagar <divya.alagar at gmail.com> wrote:
> ..
> radtest to localhost from the server throws error.
> *radius.log output:*
> 
> Sun Aug 20 13:31:25 2017 : Info: rlm_sql (sql): Connected new DB handle, #31
> Sun Aug 20 13:31:25 2017 : Info: Loaded virtual server <default>
> Sun Aug 20 13:31:25 2017 : Info: Loaded virtual server inner-tunnel
> Sun Aug 20 13:31:25 2017 : Info: Ready to process requests.
> Sun Aug 20 13:36:30 2017 : Error:   [ldap] cn=Manager,dc=example,dc=com
> bind to radserv.example.com:389 failed Server is unwilling to perform
> Sun Aug 20 13:36:30 2017 : Error:   [ldap] (re)connection attempt failed
> Sun Aug 20 14:03:23 2017 : Error:   [ldap] cn=Manager,dc=example,dc=com
> bind to radserv.example.com:389 failed Server is unwilling to perform

  That's a message from the LDAP server.  Fix the LDAP server so it allows FreeRADIUS to connect to it.

> Sun Aug 20 14:03:23 2017 : Error:   [ldap] (re)connection attempt failed
> 
> [image: Inline image 1]

  Please don't post screenshots.  The mailing list removes them, because they're not helpful.

> *Here is the radiusd output*
> ...
> Failed binding to authentication address * port 1812: Address already in
> use
> /etc/raddb/radiusd.conf[273]: Error binding to port for 0.0.0.0 port 1812
> [root at radserv tmp]#

  It helps to READ the debug output.  In this case, you tried to start it in debug mode, while it was already running as a deamon.

> *ldap module Configuration:*

  We don't ask for that.  We don't need it.

> Am I missing something. Please let me know

  Fix the LDAP server so that it allows FreeRADIUS to connect.

  Alan DeKok.




More information about the Freeradius-Users mailing list