[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nss-pgsql and SUCCESS=continue



Hi,

/usr/share/doc/libnss-pgsql1/nss-pgsql.html suggests an
nsswitch.conf entry like so:

  passwd:         compat [SUCCESS=continue] pgsql

with the following reasoning:

  The option [SUCCESS=continue] ensures that all accounts or groups
  are retrieved when using the iteration functions getpwent(3) and
  getgrent(3).

in all other docs, I see the following used instead:

  passwd:         compat [NOTFOUND=continue] pgsql

this makes much more sense. In fact, if I add SUCCESS=continue:

  passwd:         compat [NOTFOUND=continue SUCCESS=continue] pgsql

nss will stop working. I have not yet tried removing
NOTFOUND=continue since I am connected via SSH and don't want to run
a risk.

Could anyone shed some light on what I want to be using here?

Thanks,

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"i have made good judgments in the past.
 i have made good judgments in the future." 
                                                      - george w. bush 

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: