Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 59c3c9989adffc8f3903c9bf6dcc54b9 > files > 1

lib64nss-pgsql-1.4.0-8.mga4.x86_64.rpm

# example configfile for PostgreSQL NSS module
# this file must be readable for root only

shadowconnectionstring = hostaddr=127.0.0.1 dbname=unix user=postgres connect_timeout=1

#Query in the following format
#shadow_name, shadow_passwd, shadow_lstchg, shadow_min, shadow_max, shadow_warn, shadow_inact, shadow_expire, shadow_flag
shadowbyname = SELECT * FROM shadow_table WHERE username = $1
shadow = SELECT * FROM shadow_table