#1
  1. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2003
    Posts
    1,152
    Rep Power
    13

    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 !
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    sorry never heard of or used freeraduis before
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2003
    Posts
    1,152
    Rep Power
    13

    Thumbs up


    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..
    Being a Code Headman !
  6. #4
  7. No Profile Picture
    TANSTAAFL
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    chair
    Posts
    164
    Rep Power
    32
    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
            }
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2003
    Posts
    1,152
    Rep Power
    13
    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!
    Being a Code Headman !
  10. #6
  11. No Profile Picture
    TANSTAAFL
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    chair
    Posts
    164
    Rep Power
    32
    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...

IMN logo majestic logo threadwatch logo seochat tools logo