LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
Freeradius- Ldap


Hi

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 143.69.2.219 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 = "212.192.75.228"
Tunnel-Client-Endpoint:0 = "212.192.75.228"
# 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 ldap.cvolt.com:389, authentication 0
[ldap] bind as ??cn=admin,dc=cvolt,dc=local??/revolt to ldap.cvolt.com:3 89
[ldap] waiting for bind result ...
[ldap] ??cn=admin,dc=cvolt,dc=local?? bind to ldap.cvolt.com:389 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 143.69.2.219 port 54695, id=49, length=123
Waiting to send Access-Reject to client 143.69.2.219 port 54695 - ID: 49

Ready to process requests.

Please help me on this error

Thanks
Venky

Last edited by blrenky; 09-01-2015 at 04:11 PM. Reason: full error added
 
Old 09-07-2015, 12:24 AM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 525

Rep: Reputation: 60
Code:
[ldap] bind as ??cn=admin,dc=cvolt,dc=local??/revolt to ldap.cvolt.com:3 89
[ldap] waiting for bind result ...
[ldap] ??cn=admin,dc=cvolt,dc=local?? bind to ldap.cvolt.com:389 failed Invalid DN syntax
Your bind fails. The syntax of the username is not correct.
 
Old 09-14-2015, 06:43 AM   #3
blrenky
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.
 
  


Reply


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 12-01-2014 12:45 AM
Freeradius-LDAP encription gryzly Linux - Security 0 08-15-2013 04:44 PM
freeradius ldap help required. tssav Linux - Server 4 06-05-2009 01:22 PM
Freeradius LDAP Authentication netmaster3620 Linux - Server 1 11-20-2008 12:36 PM
FreeRadius Server Configuration and Integration with LDAP help required swati_sharma Linux - Server 2 10-06-2008 04:04 PM


All times are GMT -5. The time now is 04:20 AM.

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