Hi. I use contribs 6.01 to host a mambo site. I am trying to get the mambo ldap authentication hack working, but they need to know information about my ldap setup, and I am not sure what goes where.
The guide says that it needs the following data (and gives the following examples):
1) LDAP host
this is the name of the server where your LDAP is installed. Mambo will connect to this server to perform authentication.
If this field is left blank, LDAP will not be used.
Is this just my server? eg. xxxxx.no-ip.com ? or something else?
2) Use LDAP V3
Click here if your LDAP requires version 3 to be queried. This is the case of the latest openldap versions.
Do we use LDAP V3?
3) Base DN
If you're installing this hack you should know what the Base DN is. It should look like:
o=mydomain.com
Huh? I tried dc=xxxxx,dc=no-ip,dc=com ; but no luck!
4) Connect string
The connect string defines how authentication is performed on LDAP, it is specific to your LDAP configuraion. Here are 2 examples:
For OpenLdap: uid=[login],ou=XXX
For Active Directory: sAMAccountName=[login],ou=XXX,dc=XXX,dc=XXX
You'll have to fill in the proper values for XXX (they depend on your configuration). The [login] string will be dynamically replaced by the user-entered login, and should be left as is.
Again, huh? I assume I use uid=[login], but what's ou ? What should sme users use?
5) Search string
When a user has been authenticated, we'll want to retrieve LDAP profile information to store it into the mambo profile. The search string defines how to locate the current user, it usually is a substring of the query string, for instance:
uid=[login]
Is this OK, or do I need something else?
6) Default group
I don't need help with this.
7) Email field
This is the name of the LDAP field used to store the email of the user. This is used to initialize the mambo profile on the first connection.
What's our email field called?
I will be very thankful for any advice. It would be nice to have mambo with ldap authentication working.
Steve