LDAP "Bind Success" but Login fails
Hello there,
i'm sseking for help with my problem. I had a Tiki CMS 15.4 installation whitch worked fine after a few tries. Now I'm setting up a new installation but sadly I didn't document all my settings.
After a fresh installation on my Windows Server 2012 R2 with IIS 8 and MySQL Iinstalled a fresh copy of Tiki CMS. Right after the initial setup I switch to the LDAP configuration an try my luck with these settings:
Authentication Method: TIKI & LDAP
Setting | Value | alternative |
If user does not exist in Tiki | Deny Access | |
Create user if not in LDAP | no | |
Use Tiki authentication for Admin login | yes | |
Host | MyADHost.domain.local | |
Port | 389 | |
Debug | yes | |
LDAP Bind Type | AD user@domain | |
SearchScope | Subtree | |
LDAP Version | 3 | |
Base DN | dc=domain,dc=local | |
User DN | -empty- | |
User attribute | sAMAccountName | sAMAccountName or default |
User OC | Person | sAMAccountName or default |
Realname attribute | Name |
The rest I left empty. This is what the log shows:
ID | Message | |
1 | UserLib::validate_user_ldap() | |
2 | Connect Host: ldap://MyADHost.domain.local:389. Binddn: user at domain.local at line 225 in C:\Wiki\lib\auth\ldap.php | |
3 | Searching for user information with filter: (sAMAccountName=user) at line 278 in C:\Wiki\lib\auth\ldap.php | |
4 | Connect Host: ldap://MyADHost.domain.local:389. Binddn: CN=user,OU=IT,OU=MyGroup,DC=domain,DC=local at line 225 in C:\FestWiki\lib\auth\ldap.php | |
5 | Bind successful. |
Successful? Yes, the LDAP lookup seems to work fine. Still, the logged on "user" gets the error:
Error
Invalid username or password
I haven't touched the "LDAP external groups" since I remember defaulting every value prior to my first success.
I'd appreciate every help since Tiki CMS is the perfect solution for my needs.
Kind regards.
Jan