[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: freeRadius Ldap connection error
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2017-08-20 10:41:18
Message-ID: BFCDC26B-B50E-43D7-9164-D491D8ED1CD3 () deployingradius ! com
[Download RAW message or body]

On Aug 20, 2017, at 12:09 PM, Dhivya Alagar <divya.alagar@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@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.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic