Package: postgresql-8.1
Version: 8.1.8-1
I've configured a server as a Samba primary domain controller, using
ldap as backend. Pure etch.
I've setup nss and pam using the debian wiki:
http://wiki.debian.org/NSSLDAPSetup
shortly: pam_unix module in debian are nss-enabled, so normally there's
no need to setup PAM, but only nss.
But for postgres i was forced to wrote down a /etc/pam.d/postgresql
with inside:
auth required pam_ldap.so
account required pam_ldap.so
particulary the 'account' stanza are required, and this is not needed
for evey other services (ssh, dovecod, ...) on the same server.
Seems that postgres use pam in a rather different way from other
services, i don't know if this descend of having postgres not running
as root, and i don't know if this is curable.
But i think at least a row in README.Debian can be added.
Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797