Loading...
 
LDAP / Active directory

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

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting