User creation - automatic subscriptions

Rob Siemborski rjs3 at andrew.cmu.edu
Thu Dec 4 16:24:52 EST 2003


On Thu, 4 Dec 2003, Mike Cathey wrote:

> > imtest -a cyrus -u <userid> -m digest-md5 localhost
> >
> > Both of these will authenticate you as cyrus (using cyrus' password),
> > but authorize you (assume the identity) as <userid>.
>
> Is this (authorization as another user) defined in one of the IMAP RFCs?

Its defined as part of the SASL mechanisms.

> I've been poking around in the code for imtest (not a real C coder, btw)
> and haven't found what I'm looking for yet.

Any reference to "authzid" or "authoriziation id" should be what you are
looking for.

> Could someone save me the time and point me to an RFC or the section of
> the code where the authorization is handled? I need to use it with some
> perl modules (Mail::IMAPClient)...

You need to use a SASL mechanism that supports authorization (e.g. PLAIN,
DIGEST-MD5, GSSAPI...)

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper





More information about the Info-cyrus mailing list