Project

General

Profile

LDAP troubles

Added by stroodle noodle over 14 years ago

I'm having trouble logging a user in with LDAP. Attached a picture to show the settings I'm trying to use. The 'test' connection works fine, however when trying to log in with an actual account I receive the "Invalid user or password" error. I have very little LDAP knowledge, so I am not sure if I am doing everything correctly. I've only ever worked with LDAP via C#, so I grabbed all of my credentials from this snippet of C# (this probably isn't relevant, but who knows):

    de.Path = "LDAP://ldap.domain.com/ou=People,dc=domain,dc=com";
    de.Username = "uid=Bob,ou=People,dc=domain,dc=com";
    de.Password = "";

    de.AuthenticationType = AuthenticationTypes.SecureSocketsLayer;

Tried to attach a picture to show the settings I'm using. I did create the user before logging in as well (setting his authentication mode to the name I gave the LDAP connection). Any ideas? LDAP isn't a necessity for me, but it sure would be a nice convenience. Also, if it matters, I'm running this out-of-the-box on Windows via a BitNami package (.8.4-1).

ldap.png (7.51 KB) ldap.png

Replies (3)

RE: LDAP troubles - Added by stroodle noodle over 14 years ago

I've tried all sorts of other LDAP browsers - have zero issues with any of them. I can log in with the same credentials, so it looks like this is Redmine. Just not sure what exactly it doesn't like. I've also tried explicitly placing my DN after "uid=user" as well, no change. Tried SSL, no change.

RE: LDAP troubles - Added by Adrian Cherry over 14 years ago

Hi,

I've just got LDAP working on my Redmine installation, likewise I have a very rudimentary knowledge of LDAP but the following settings worked for me.
Base DN : dc=domain,dc=net
Login : SAMAccountName

I found the free ldap browser from here very useful.
www.ldapbrowser.com/download.htm

HTH

Adrian Cherry

RE: LDAP troubles - Added by mike B over 9 years ago

I had issues as well but none of the provided worked. the only think different that worked for me was changing the account to instead of domain.local/user and it worked like a charm.

    (1-3/3)