18 messages in net.sourceforge.lists.courier-users[courier-users] Re: courier + libnss-...
FromSent OnAttachments
Michelle KonzackJan 6, 2006 10:30 am 
Michelle KonzackFeb 21, 2006 10:57 am 
Jay LeeFeb 21, 2006 11:07 am 
Sam VarshavchikFeb 21, 2006 3:30 pm 
Gordon MessmerFeb 21, 2006 4:08 pm 
Michelle KonzackFeb 23, 2006 5:23 am 
Michelle KonzackFeb 23, 2006 5:28 am 
Gordon MessmerFeb 23, 2006 10:58 am 
Dave PlattFeb 23, 2006 4:10 pm 
Sam VarshavchikFeb 23, 2006 4:18 pm 
Dave PlattFeb 23, 2006 4:32 pm 
Sam VarshavchikFeb 23, 2006 5:43 pm 
Michelle KonzackFeb 24, 2006 8:04 am 
Michelle KonzackFeb 24, 2006 8:04 am 
Michelle KonzackFeb 24, 2006 8:04 am 
Gordon MessmerFeb 24, 2006 9:16 am 
Dave PlattFeb 24, 2006 3:52 pm 
Sam VarshavchikFeb 24, 2006 5:13 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: courier + libnss-pgsql/libpam-pgsql1Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Feb 21, 2006 3:30:40 pm
List:net.sourceforge.lists.courier-users

Michelle Konzack writes:

Again:

+---[ man 'authlib' ]---------------------------------------------- | | authpam | authenticates using the system's PAM library (plug­ | gable authentication module). This is, essen­ | tially, a way to use existing PAM modules for | authentication functionality. Note, however, that | the authenticated account's home directory, userid | and groupid are still read from the /etc/passwd | file, since PAM functionality is limited to vali­ | dating account passwords. +------------------------------------------------------------------

Why does this module does not use "libnss", which does the job for /etc/passwd. I think, authpam should use libnss.

Any developer comments?

Adding "libnss" will solv all problems, because I am using "libnss-pgsql". And because "courier" does not support it, I need to sync several times daily 86 Mailservers manualy with this stupid /etc/passwd.

I challenge you to find any application written for Linux that "supports" libnss.

You won't find any.

libnss is an internal glibc library, used by glibc's getpw() and getgr() functions. You specify which modules you want to resolve userids and groupids by setting up your nsswitch.conf correctly.

If you set up nsswitch.conf to use pgsql, all applications, including authdaemon, should end up querying pgsql for all userid/groupid lookups.