OpenPAM dynamic module loading not working ?
From: Dominic Marks (dom_at_cus.org.uk)
Date: 07/07/03
- Previous message: Pav Lucistnik: "ACPI vs fdc0"
- Next in thread: Dag-Erling Smørgrav: "Re: OpenPAM dynamic module loading not working ?"
- Reply: Dag-Erling Smørgrav: "Re: OpenPAM dynamic module loading not working ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 6 Jul 2003 23:47:53 +0100 To: freebsd-current@freebsd.org
Hey,
I'm trying to setup authentication against a PostgreSQL Database with
OpenPAM and pam_pgsql. I have installed the pam_pgsql port and
configured a few services (samba, pop3) to authenticate against the DB.
Whenever an authentication request is made I get the following errors
(regardless of the source service):
Samba:
Jul 7 22:22:18 bacon smbd[67333]: in openpam_load_module(): no pam_pgsql.so found
Jul 7 22:22:18 bacon smbd[67333]: [2003/07/07 22:22:18, 0] passdb/pampass.c:smb_pam_error_handler(71)
Jul 7 22:22:18 bacon smbd[67333]: smb_pam_error_handler: PAM: Init Failed : failed to load module
Dovecot:
Jul 7 22:10:40 bacon dovecot-auth: in openpam_load_module(): no pam_pgsql.so found
Jul 7 22:10:40 bacon dovecot-auth: PAM: pam_start(example) failed: failed to load module
I have checked I installed things properly, I also created the link
although that shouldn't be required (from looking at the source).
bacon# ls -l /usr/lib/pam_pgsql.so*
lrwxr-xr-x 1 root wheel 14 Jul 7 21:45 /usr/lib/pam_pgsql.so -> pam_pgsql.so.2
-r--r--r-- 1 root wheel 14052 Jan 12 10:46 /usr/lib/pam_pgsql.so.2
The pam.d file I'm using for Samba:
bacon# cat /etc/pam.d/samba
#
# /etc/pam.d/samba
#
auth required pam_pgsql.so
account required pam_pgsql.so
password required pam_pgsql.so
I can't find anything wrong in my configuration, but maybe I'm being
stupid. If someone has any ideas on a resolution, I'd appreciate it.
Thanks,
-- Dominic <dom at cus.org.uk> <dominic.marks at npl.co.uk> _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Pav Lucistnik: "ACPI vs fdc0"
- Next in thread: Dag-Erling Smørgrav: "Re: OpenPAM dynamic module loading not working ?"
- Reply: Dag-Erling Smørgrav: "Re: OpenPAM dynamic module loading not working ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|