Skip to content

Radius LDAP configuration? #22

@Antairez

Description

@Antairez

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions