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

Need help with LDAP integration #3789

Closed
NR-201 opened this issue Dec 17, 2024 · 10 comments
Closed

Need help with LDAP integration #3789

NR-201 opened this issue Dec 17, 2024 · 10 comments
Labels
support request Need assistance with MRBS

Comments

@NR-201
Copy link

NR-201 commented Dec 17, 2024

I have been trying to integrate LDAP into the MRBS system but I keep getting unknown user errors no matter what credentials I try. The server is able to communicate with the LDAP server and initial bind was successful according to the logs but I am getting an operations error. Is it an issue with the binds

Browser details:

  • OS: [Debian 12]
  • Browser [Chrome]

Server details:

  • MRBS version [e.g. 1.11.6]
  • Web server: [e.g. Apache 2.4.62]
  • OS: [Debian12]
  • PHP version: [8.4.1]
  • Database used: [e.g. MySQL 15.1]

image
Error Log
image
Config file (I just edited out the password info)

@NR-201 NR-201 added the support request Need assistance with MRBS label Dec 17, 2024
@campbell-m
Copy link
Contributor

What does the debug info tell you? (It will be in your PHP error log)

@campbell-m
Copy link
Contributor

Sorry, I've just seen the debug info!

@NR-201
Copy link
Author

NR-201 commented Dec 17, 2024

No worries!

@campbell-m
Copy link
Contributor

Can you post please the full line from the debug info that shows 'ldap_search failed', preferably as text rather than as an image.

@NR-201
Copy link
Author

NR-201 commented Dec 17, 2024

[Tue Dec 17 06:29:21.926036 2024] [php:notice] [pid 10787:tid 10787] [client 127.0.0.1:34372] [MRBS DEBUG] MRBS\Auth\AuthLdap->action(768): ldap_search failed: Operations error [000004DC: LdapErr: DSID-0C090C>0C090C78, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4f7c], referer: http://0.0.0.0/admin.php

@campbell-m
Copy link
Contributor

I searched for the error message and found this post. Can you try setting

$ldap_disable_referrals = true;

@NR-201
Copy link
Author

NR-201 commented Dec 17, 2024

image
No luck

@NR-201
Copy link
Author

NR-201 commented Dec 17, 2024

Nevermind it worked!

@campbell-m
Copy link
Contributor

Good!

@NR-201
Copy link
Author

NR-201 commented Dec 17, 2024

Thanks much!

@NR-201 NR-201 closed this as completed Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support request Need assistance with MRBS
Projects
None yet
Development

No branches or pull requests

2 participants