-
Notifications
You must be signed in to change notification settings - Fork 66
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
LDAP binding #427
Comments
Can you query the ldap server with ldapsearch? EDIT: What ldap server are you using? |
Yes, But I use following commend: system:ubuntu 14.04 |
if thats the case the ldap_user should be |
Hi, I follow the step but it still not working . |
any defferent way i can try?? |
ldap server display error: get_ava: unknown attributeType sAMAccountName |
check the LDAP_EMAIL_FIELD it should define the account name the users are using to login. MailWatch can work with mail address and |
any news? |
I change some set in the conf.php: Then I change some code in the functions.php
LDAP is work. |
As it is solved: can you close it? |
Hi, I'm having the same issue. What exactly did you change in function.php? |
@CowBoy6 can you try to use |
@Skywalker-11 I'm using EFA, if this could help. Here is output:
|
@CowBoy6 can you try if a ldap query like the following works (for binding user -D use the value as indicated by |
@Skywalker-11 If I try to authenticate as user [email protected] it returns Invalid DN syntax.
When I enter different entry for binding user it returns all users info and result is not success.
|
@Skywalker-11 Forgot to mention, we have openldap. This is part from conf.php for LDAP settings for authentication:
|
If all your users are under Otherwise you can use the patch #1048 and use |
My solution was add into conf.php: Modify function.php row 2923 from: into this: |
My solution: // LDAP settings for authentication define('LDAP_DN', 'dc=mydomain,dc=com'); |
Hi,
I am trying to bind user authorization to LDAP In conf.php
// LDAP settings
define('USE_LDAP', true);
define('LDAP_SSL', false); // set to true if using LDAP with SSL encryption
define('LDAP_HOST', '192.168.1.1');
define('LDAP_PORT', '389');
define('LDAP_PROTOCOL_VERSION', 3);
define('LDAP_DN', 'OU=employee,DC=example,DC=com');
define('LDAP_USER', 'jimmy'); // if no email set: cn=admin,dc=example,dc=com
define('LDAP_PASS', 'password');
I'm getting these errors:
Could not bind to server. Returned Error was: [34] Invalid DN syntax
tcpdump info:

No DN information was sent.
normal situation:

so in conf.php LDAP_DN is invalid?
The text was updated successfully, but these errors were encountered: