[racktables-users] Re: setting up LDAP authentication

> // This is only necessary for 'ldap' USER_AUTH_SRC
> $ldap_server = 'stbldap01.sun.ac.z';

There's a missing "a" in the hostname.

> $ldap_domain = 'ou=users,O=SU';

There are two ways to use LDAP. The first one is to set $ldap_domain,
it works for Active Directory. Other LDAP implementations may assume
mapping the presented username into internal ID. This is done with
two (undocumented) options. Could you try the following?

$ldap_server = 'stbldap01.sun.ac.za';
$ldap_search_dn = 'ou=users,O=SU';
$ldap_search_attr = 'uid';

> 
> And in the user-interface section I have 
> 
> User authentication source      ldap
> 
> The data in $ldap_domain is what we use for other php-system so use
> ldap-authentication.
> 
> A few questions:
> 
> 1. What is wrong with my configuration?
> 2. When I create a user on the system that will use LDAP-authentication
>    what password do I put in there?

Any password. It's not used until the auth source is switched back to
"database"

> 3. Is LDAPS available?  How?

It may work, I presume, but nobody has looked into that yet. Do you have
a patch?

Other related posts: