[horde] connecting horde to openldap
Michael J Rubinsky
mrubinsk at horde.org
Tue Jul 19 17:27:03 UTC 2016
Quoting Spyros Tsiolis <stsiol at yahoo.co.uk>:
> --------------------------------------------
> On Tue, 19/7/16, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>
> Subject: Re: [horde] connecting horde to openldap
> To: horde at lists.horde.org
> Date: Tuesday, 19 July, 2016, 19:05
>
>
> 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.
> --------------------------------------------
>
>
> I suspect that the horde/horde_ldap must be :
>
> pear install horde/horde_ldap
Correct.
> which is in the usual fashion .
>
> But the include path ?
I'm referring to php's include_path. If you install everything from
pear and other things are working, this is probably not the issue.
> Regards,
>
> spyros
--
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/10e4b9b0/attachment.bin>
More information about the horde
mailing list