[horde] connecting horde to openldap

Michael J Rubinsky mrubinsk at horde.org
Tue Jul 19 16:05:25 UTC 2016


Quoting Spyros Tsiolis <stsiol at yahoo.co.uk>:

> Hello all again,
>
> OK, I think I managed to isolate the issue.
>
> It seems that this is the piece of code that created it :
>
> "turba/config/backends.php" :
>
>    'bind_dn' => 'cn=admin,ou=contacts,dc=hordeserver,dc=home,dc=local'
>
> I tried to re-create the problem with phpldapadmin and it seems I did it.
>
> If I try to access "contacts" ou under "phpldapadmin" the login screen should
> be like so :
>
> LOGIN DN:
> cn=admin,dc=hordeserver,dc=home,dc=local
>
> PASSWORD:
> <ENTER_PASS_HERE>
>
> And I can logon to the phpldapadmin page.
>
> Now if I try to do this :
>
> LOGIN DN:
> cn=admin,ou=contacts,dc=hordeserver,dc=home,dc=local
>
> PASSWORD:
> <ENTER_PASS_HERE>
>
> phpldapadmin comes back with exactly the same error message :
>
> Unable to connect to LDAP server Hordeserver LDAP Server
> Error: Invalid credentials (49) for user
>
>
> So , I thought, I might try to take away the "ou" string from within
> "backends.php", so I did :
>
> "turba/config/backends.php" :
> CHANGED THIS :
>    'bind_dn' => 'cn=admin,ou=contacts,dc=hordeserver,dc=home,dc=local'
>
> TO This :
>     'bind_dn' => 'cn=admin,dc=hordeserver,dc=home,dc=local'
>
>
> And here is the error message from within turba :
>
> Fatal error: Class 'Horde_Ldap_Filter' not found in  
> /var/www/html/turba/lib/Driver/Ldap.php on line 170
> A fatal error has occurred
>
> Class 'Horde_Ldap_Filter' not found

Do you have the Horde/Horde_Ldap package installed, and in the include  
path? If so, try clearing the autoloader cache.



> Details have been logged for the administrator.
>
>
> From what I understand, I am doing something wrong with the  
> authentication process
> on turba.
>
> Any ideas ?
>
> Thank you all for your time,
>
> spyros
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <https://lists.horde.org/archives/horde/attachments/20160719/6ab514b5/attachment.bin>


More information about the horde mailing list