Cyrus SASL 2.1.17 and realms

dimon at dimon at
Mon Jan 19 12:57:37 EST 2004

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?

Thank you,

More information about the Info-cyrus mailing list