Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to tie TeamPass with LDAP #2348

Closed
mzakhan opened this issue Jul 19, 2018 · 5 comments
Closed

Unable to tie TeamPass with LDAP #2348

mzakhan opened this issue Jul 19, 2018 · 5 comments

Comments

@mzakhan
Copy link

mzakhan commented Jul 19, 2018

Hey Nils,

I am facing issues while hooking up LDAP users authentication with TeamPass. I tried doing so with both LDAP server types (Search Based and Non Search Based). It throws messages “No such object” and “Not possible to get connected with this user”. In point of fact, the user with which I am authenticating does exist into LDAP and working well with other applications.

Can you please confirm what could be the reason here. Appreciate your response in this regards.

Thanks!
Zohaib

Expected behaviour

Teampass should authenticate users with LDAP

Actual behaviour

LDAP users aren't authenticating with LDAP thru TeamPass

Server configuration

Operating system: CentOS Linux release 7.2.1511

Web server: httpd-2.4.6-40.el7.centos.4.x86_64

Database: Server version: 5.5.50-MariaDB MariaDB Server

PHP version: PHP 5.6.36

Teampass version: TeamPass 2.1.27.16

Client configuration

Browser: Google Chrome

Operating system: : Microsoft Widows 7

Logs

image

@nilsteampassnet
Copy link
Owner

We need to see the settings you set because your issue comes certainly from the settings.
Just randomisée the domain or ip

@mzakhan
Copy link
Author

mzakhan commented Jul 19, 2018

Thanks for the prompt response Nils. It was a settings issue. Now I am able to authenticate with LDAP.

Quick question: Is there any way of defining multiple entities both in "LDAP group to search" and "LDAP search base" fields? Tried separating them with comma but it doesn't work.

Regards,
Zohaib

@mzakhan
Copy link
Author

mzakhan commented Jul 23, 2018

Please update.

Thanks!

@nilsteampassnet
Copy link
Owner

Can't you use OU to distingues the multiple entities?

@ozawa-hi
Copy link

ozawa-hi commented Nov 1, 2019

There's a bug in the LDAP page's "Test current configuration".
When using OpenLDAP, leave the "LDAP account suffix for your domain" empty.
This will cause the test to fail, but I've found that users on LDAP will actually be able to login to TeamPass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants