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 Connection fails on Ubuntu 16.04 LTS PHP 7 #107

Open
unimatrix73 opened this issue Apr 28, 2016 · 3 comments
Open

LDAP Connection fails on Ubuntu 16.04 LTS PHP 7 #107

unimatrix73 opened this issue Apr 28, 2016 · 3 comments

Comments

@unimatrix73
Copy link

When i try to move from Ubuntu 12.04 with PHP 5.3.10 to Ubuntu 16.04 with PHP 7.0.4 then I get this Error:

ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in ........./adLDAP.php on line 630
ldap_set_option(): supplied argument is not a valid ldap link resource in ..........adLDAP.php on line 634
ldap_set_option(): supplied argument is not a valid ldap link resource in ..........adLDAP.php on line 635

I user PHP LDAP Class (adldap) Version 4.0.4

@veron-33
Copy link

I think this project and this version (4.0.4) is not maintained anymore.
You can try actual version of Adldap:
v5: https://github.com/Adldap2/Adldap2/releases/tag/v5.2.17
or newer v6: https://github.com/Adldap2/Adldap2
But I not sure whether it works correctly on PHP7

@PeterEstephan
Copy link

Ive gotten it to work fine on PHP7 on Ubuntu 16.04. Have you tried:
apt install php7.0-ldap
service apache2 restart

@unimatrix73
Copy link
Author

Yes i try this also. But it had not worked. So i move now a while ago to Adldap2 6.1.

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