[horde] Horde installation for users in multiple domains

Thomas O'Brien thomas at creativebusinessystems.com
Fri Oct 22 08:33:44 PDT 2004


Quoting diego at llosa.net:

> Thomas,
> Thanks I got it to work for passwd.  I am still having difficulties
> with the one
> for sam.
>
> I have in horde/sam/config/conf.php :
> $conf['hooks']['username'] = true;
>
> and then in horde/config/hooks.php :
>
> if (!function_exists('_sam_hook_username')) {
>      function _sam_hook_username($horde_uid)
>      {
>          if (strstr($horde_uid, '@')) {
>              $parts = explode('@', $horde_uid);
>              return $parts[0];
>          } else {
>              return $horde_uid;
>          }
>      }
> }
>
>
> But still does not work.  It fails to add the @domain part to the
> username.  Any
> ideas why is not working?
>

Honestly, no. But this thread is in the right place and I'm sure someone here
does know. In the mean time maybe search the archives.

Thomas




More information about the horde mailing list