[horde] Virtualhost context for hooks

Nels Lindquist nlindq at maei.ca
Thu Jan 4 22:49:35 UTC 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there.

I'm using a preauthenticate hook to normalize login IDs against an
LDAP server.  In each virtualhost configuration file I've defined
different LDAP search bases, but my hook functions appear to be using
the root Horde search base rather than the virtualhost's overridden
configuration.

I'm referincing "global $conf" within my hook functions in order to
access $conf['auth']['params']['basedn']; should I be incorporating
something else to get the virtualhost overrides?

Thanks!

- ----
Nels Lindquist
<nlindq at maei.ca>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlpOr38ACgkQh6z5POoOLgTIzQCfaFj6zo6QCcIgv+vvbB35CvZN
8TIAoMW4QjKJEBcxfwwQ2gRdH5eFlppH
=cJ7m
-----END PGP SIGNATURE-----


More information about the horde mailing list