Added by karel lang about 10 years ago
Hi guys,
just installed successfully OP and configured LDAP connection to our 389-directory server.
If i test “LDAP authentication”, it says “TEST successful”.
Now - my question - is about howto setup users to OP. I thought, that if i use LDAP auth. users will get automatically created and OP will ‘read’ necessary info about user (first name, surname, email etc) from LDAP.
But LDAP user is not able to login, so do i have to create all users ‘by hand’ and only pick the option for password being authenticated against LDAP?
Thank You
Replies (2)
FYI solved. For reference:
Name: LDAP
Host: 192.168.2.2
Port: 636
LDAPS: checked
Account: uid=openproject,ou=Users,dc=companyname,dc=com
Password: ****
Base DN: dc=companyname,dc=com
On the fly user creation: checked
Login: uid
First name: givenName
Last name: sn
Email: mail
Problem was at the “Account” specification. If i stated there only “openproject” LDAP server returned error. I had to specify whole LDAP path as seen above.
OS: RHEL6.5
LDAP: 389-Directory Server
Users are now authenticate against LDAP and user account is automatically created upon 1st login .. voila! :]
cheers :]
Hi there,
I also got the problem with connecting to LDAP.
Here are my settings.
Name*: LDAP
Host*: [servername.mydomain.local]
Port*: 54132
LDAPS: FALSE
Account: [domain\username]
Password: [hidden]
Base DN: dc=mydomain,dc=local
On-the-fly user creation: TRUE
Attributes
Login*: sAMAccountName
First name: cn
Last name: sn
Email: [blank]
Admin: [blank]
Values withing [] are example data.
When I try to test the connection, I get the error:
"Unable to connect (getaddrinfo: Name or service not known)"
Can someone give me a hint what to change/test/fix?
And what is the Attributes section about?
System configuration:
Debian 9 for OpenProject
Windows Server 2008 R2 Standard