LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 8th, 2004, 08:14 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Thumbs up LDAP and FreeRadius

I'm a network developer..I'm developing a program managing user login-info for dialup users.And i use FreeRadius as my user authen program,use openldap as my user info DB..But i'm a newer into Ldap world,anyone can give me some advice about how to use ldap and FreeRadius(http://www.freeRadius.org)??
__________________
Being a Code Headman !

Reply With Quote
  #2  
Old April 12th, 2004, 11:04 AM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Psycho Canadian
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Jan 2001
Location: Canada
Posts: 4,788 Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Viper_SB User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 20 h 7 m 56 sec
Reputation Power: 437
sorry never heard of or used freeraduis before
__________________
Miscellaneous Software
Viper_SB
Developershed E-Support


Anyone else play chess?
Challenge me

Reply With Quote
  #3  
Old April 12th, 2004, 07:52 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Thumbs up

Quote:
Originally Posted by Viper_SB
sorry never heard of or used freeraduis before

THX...I have try to debug it for my aim.. ..Although it exists some difficult in my forward way..

Reply With Quote
  #4  
Old May 12th, 2004, 10:23 AM
kwilley kwilley is offline
TANSTAAFL
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: chair
Posts: 156 kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 21 h 48 m 9 sec
Reputation Power: 26
config radius.conf

Code:
        ldap {
                server = "x.x.x.x"
                port = 636
                identity= "cn=ldapuser,dc=domain,dc=com"
                password = ldapuser_pw
                basedn = "dc=domain,dc=com"
                #for ssl conns
                tls_cacertfile = /usr/local/ssl/cert/cert.pem
                #default filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
                #AD Filter
                filter = "(&(samaccountname=%{user-name}))"
                start_tls = no
                # default_profile = "cn=radprofile,ou=dialup,o=My Org,c=UA"
                # profile_attribute = "radiusProfileDn"
                # access_attr = "dialupAccess"

                # Mapping of RADIUS dictionary attributes to LDAP
                # directory attributes.
                dictionary_mapping = ${raddbdir}/ldap.attrmap
                ldap_connections_number = 5
                # password_header = "{clear}"
                # password_attribute = userPassword
                # groupname_attribute = cn
                # groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
                # groupmembership_attribute = radiusGroupName
                timeout = 5
                timelimit = 10
                net_timeout = 5
                # compare_check_items = yes
                # access_attr_used_for_allow = yes
        }

Reply With Quote
  #5  
Old May 12th, 2004, 07:48 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
THX,Kwilley!I had lost my mind for get this help!!.I will try it!Do U give me a ldap segment in radius configure?..Can u give me ldap configure?Because i don't know this relation between ladp configure and radius configure..After i setup the radius configure,how i will setup ldap configure(I know how to setup ldap configure!:-))..Can u give me some advice?PLz reply it..THX again!

Reply With Quote
  #6  
Old May 13th, 2004, 08:31 AM
kwilley kwilley is offline
TANSTAAFL
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: chair
Posts: 156 kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level)kwilley User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 21 h 48 m 9 sec
Reputation Power: 26
I posted the ldap section of the freeradius config.

The radius server is simply an interface between your program and your ldap directory.

I'm not a ldap guru as we only use it to query our W2K AD servers...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > LDAP and FreeRadius


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway