Re: [courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-24 Thread Michelle Konzack
Hello Gordon, Am 2006-02-21 16:06:00, schrieb Gordon Messmer: The documentation is slightly misleading. The authpam module does use Aha. - Maybe, but I have configured libnss-pgsql and libpam-pgsql1 as written in there documentation and all is working fine, except courier. This is the

[courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-24 Thread Michelle Konzack
Hello Sam, Am 2006-02-21 18:30:28, schrieb Sam Varshavchik: 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. It is setup correctly like in the

Re: [courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-24 Thread Gordon Messmer
Michelle Konzack wrote: Am 2006-02-21 18:30:28, schrieb Sam Varshavchik: If you set up nsswitch.conf to use pgsql, all applications, including authdaemon, should end up querying pgsql for all userid/groupid lookups. All other programs are working but curier... :-/ Seriously... it doesn't

[courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-23 Thread Michelle Konzack
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

[courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-23 Thread Michelle Konzack
Am 2006-02-21 14:07:18, schrieb Jay Lee: So write a module for libnss. All the docs are there. Authcustom is a I have allready tried this, but failed... OK, I am coding, but I am not the best one. :-( Better someone with more experience do that for security reason. skeleton example of

[courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-21 Thread Michelle Konzack
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

Re: [courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-21 Thread Jay Lee
On Mon, February 20, 2006 3:21 pm, Michelle Konzack wrote: 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

[courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-21 Thread Sam Varshavchik
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

Re: [courier-users] Re: courier + libnss-pgsql/libpam-pgsql1

2006-02-21 Thread Gordon Messmer
Michelle Konzack wrote: Why does this module does not use libnss, which does the job for /etc/passwd. I think, authpam should use libnss. The documentation is slightly misleading. The authpam module does use libc's getpwnam() function, and thereby gets info from sources configured in the