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

ldap_utils.php should do error checking for mandatory variables #21

Open
ahelsing opened this issue May 20, 2015 · 0 comments
Open

ldap_utils.php should do error checking for mandatory variables #21

ahelsing opened this issue May 20, 2015 · 0 comments

Comments

@ahelsing
Copy link
Member

The ldap_setup() function in /usr/share/geni-ar/lib/php/ldap_utils.php requires a number of variables to be correctly set in /etc/geni-ar/settings.php. If the variables are not correctly set for whatever reason, ldap_setup() attempts a bind with null variables, and fails with no indication of why the bind failed.

It would be helpful if ldap_setup() did a check for whether each of the config variables it requires was zero-length, and failed with an error saying that (rather than just "LDAP bind failed") if variables were undefined.

Imported from trac ticket #21, created by chaos on 09-08-2013 at 15:53, last modified: 04-02-2014 at 15:21

@ahelsing ahelsing added this to the 1.4 milestone May 20, 2015
@tcmitchell tcmitchell removed this from the 1.4 milestone Jan 7, 2016
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

2 participants