dwimberger / crowd-ldap-server

Implementation of an LDAP server that delegates authentication to an Atlassian Crowd installation using the Crowd REST API.
Apache License 2.0
71 stars 59 forks source link

Radius LDAP configuration? #22

Open Antairez opened 8 years ago

Antairez commented 8 years ago

May I have some guidance on how to set up Radius to use this LDAP solely for authentication please?

ldap {
        #
        #  Note that this needs to match the name in the LDAP
        #  server certificate, if you're using ldaps.
        server = "127.0.0.1"
        identity = "ou=users,dc=crowd"
        #password = mypass
        basedn = "ou=users,dc=crowd"
        filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
        #base_filter = "(objectclass=radiusprofile)"

Trying to mimic what's being done in the testAuth.sh

USER_UID=$1
ldapsearch -v -x -D 'uid='${USER_UID}',ou=users,dc=crowd' -W -H ldap://localhost:10389 -b ou=users,dc=crowd uid=${USER_UID}
dwimberger commented 7 years ago

Why not use the Radius counterpart? https://github.com/dwimberger/crowd-radius-server