Loading...
 

LDAP / Active directory


Error by Searching for user Information

Austria

Hello ,

I get an HTTP 500 error when I try to login with an account from the AD. The local administrator login works.

Tiki comes up to line 290 {$ entry = $ searchresult-> shiftEntry ();} in \ lib\ auth\ ldap.php . The error is output from this line.

Configuration:

Host172.16.51.2
Port389
Write LDAP Debuginformation in Tiki Logscheck
Use SSL (ldaps)uncheck
Benutze TLSuncheck
LDAP-Bind-TypActive Directory (username@domäne)
Search scopeSubtree
LDAP version3
Base DNdc=xxx,dc=xxx
User DNou=Benutzer
User attributesAMAccountName
User OCuser
Realname AttributsdisplayName
Country attribute-empty-
E-Mail attributeuserPrincipalName
Administrator-useradministrator@xxx.xxx


Logs:

UserLib::validate_user_ldap()
Connect Host: ldap://172.16.51.2:389. Binddn: sp at xxx.xxx at line 225 in /var/www/html/lib/auth/ldap.php
Searching for user information with filter: (sAMAccountName=sp) at line 278 in /var/www/html/lib/auth/ldap.php


If you need some more Information, please write a comment!

Thanks

Sam

United States

If there is a firewall between the login device and the server make sure there is a forward rule for ldap traffic.
Try adding ldap:// as a prefix to your server address
Edit the .../vendor_extra/pear/PEAR.php file as instructed by albertgi in the comments of this post https://dev.tiki.org/item6283.


Austria

Hello David,

I've done what you said, but it still does not work....


Austria
The problem is solved. I have now installed the new Tiki version. (v17) Thanks but to everyone for helping

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.