[horde] virtual users setup

Jan Schneider jan at horde.org
Fri Feb 21 03:20:36 PST 2003


Zitat von Woerns Urstmann <wurst at eminenz.ath.cx>:

> Zitat von Jan Schneider <jan at horde.org>:
> 
> > Zitat von Woerns Urstmann <wurst at eminenz.ath.cx>:
> >
> > > i'm using a virtual user setup with cyrus and mysql (web-cyradm) so
> my
> > > users
> > > get login names like "user0001" "user0002" and so on. is there any
> place
> > > where
> > > i can put some mapping like alias-file on it, so that i.e. nag won't
> show
> > > tasks of user "user0001" but instead a mapped name like
> "jack.burton"?
> >
> > You can use the vinfo hook for this purpose. It maps imap login names
> to
> > Horde  user names.
> 
> Ja, thanks for your reply. i looked into hooks.php, but i don't
> understand it.
> what do i have to change to
> a) enable the vinfo-hook and

In IMP's configuration.

> b) have a file or mysql table where i can (using some script) do simple
> mappings?

You have to actually code your hook from scratch that does the translation
based on a database table or file. The hooks provided in hooks.php are just
examples.

Btw, if you got one ready, it would be great if you can provide it as a
further example for hooks.php.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the horde mailing list