Cyrus SASL 2.1.17 and realms

Igor Brezac igor at ipass.net
Mon Jan 19 17:50:59 EST 2004


On Mon, 19 Jan 2004 dimon at intellinetinc.com wrote:

>
> Hi everybody,
>
> I'm using Cyrus SASL 2.1.17 + PAM + pam-pgsql. When I used v 2.1.15 before, I
> had user login as user at domain in pam-pgsql module. Right now SASL devides it to
> username and realm. I can still get username (without @domain part) with
> pam_get_user() function, but not realm any more. So my question is: how can I
> retrieve this realm in my pam-pgsql module? I'm new to pam programming, so if
> anyone can help me with this, I'll be very happy :-)
> Is there anything like pam_get_user() function? Is it pam_get_item() function I
> have to use to get the realm?

This may help:
http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&searchterm=patch&msg=4669

-- 
Igor




More information about the Info-cyrus mailing list