Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-01-2015, 09:48 AM   #1
LQ Newbie
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
Freeradius- Ldap


I have setup Freeradius -ldap on debian os. but does not allow the user authentication.
below error shown
Ready to process requests.
rad_recv: Access-Request packet from host port 54695, id=49, length=123
User-Name = "cloudy"
User-Password = "123456"
NAS-Identifier = "VPN Server"
Service-Type = Framed-User
NAS-Port-Type = Virtual
Tunnel-Type:0 = PPTP
Tunnel-Medium-Type:0 = IPv4
Calling-Station-Id = ""
Tunnel-Client-Endpoint:0 = ""
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] No '@' in User-Name = "cloudy", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] = noop
[eap] No EAP-Message, not doing EAP
++[eap] = noop
[ldap] performing user authorization for cloud
[ldap] expand: {Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> cloudy
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=cloud)
[ldap] expand: dc=Cvolt,dc=local -> dc=cvolt,dc=local
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] attempting LDAP reconnection
[ldap] (re)connect to, authentication 0
[ldap] bind as ??cn=admin,dc=cvolt,dc=local??/revolt to 89
[ldap] waiting for bind result ...
[ldap] ??cn=admin,dc=cvolt,dc=local?? bind to failed Invalid DN syntax
[ldap] (re)connection attempt failed
[ldap] search failed
[ldap] ldap_release_conn: Release Id: 0
++[ldap] = fail
+} # group authorize = fail
Using Post-Auth-Type REJECT
# Executing group from file /etc/freeradius/sites-enabled/default
+group REJECT {
[attr_filter.access_reject] expand: %{User-Name} -> cloudy
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] = updated
+} # group REJECT = updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Request packet from host port 54695, id=49, length=123
Waiting to send Access-Reject to client port 54695 - ID: 49

Ready to process requests.

Please help me on this error


Last edited by blrenky; 09-01-2015 at 03:11 PM. Reason: full error added
Old 09-06-2015, 11:24 PM   #2
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 538

Rep: Reputation: 71
[ldap] bind as ??cn=admin,dc=cvolt,dc=local??/revolt to 89
[ldap] waiting for bind result ...
[ldap] ??cn=admin,dc=cvolt,dc=local?? bind to failed Invalid DN syntax
Your bind fails. The syntax of the username is not correct.
Old 09-14-2015, 05:43 AM   #3
LQ Newbie
Registered: Sep 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
the problem got resolved, as there was configuration error in ldap file.
to resolve, took the new ldap file and modified the changes and was able to resolve the issue.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeRadius + LDAP: Store Client Profiles in db peridian Linux - Software 0 11-30-2014 11:45 PM
Freeradius-LDAP encription gryzly Linux - Security 0 08-15-2013 03:44 PM
freeradius ldap help required. tssav Linux - Server 4 06-05-2009 12:22 PM
Freeradius LDAP Authentication netmaster3620 Linux - Server 1 11-20-2008 11:36 AM
FreeRadius Server Configuration and Integration with LDAP help required swati_sharma Linux - Server 2 10-06-2008 03:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration