diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-18 11:13:30 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2005-08-18 11:13:30 +0000 |
commit | d0fdfbbb6df637df2049129a12fd51dd313937e3 (patch) | |
tree | af321381af8b405ffc01c1ce5850dcc25e153891 /modules/pam_userdb | |
parent | 61453cd289e5bcf6f0c87ede494fa54e4e282456 (diff) | |
download | pam-d0fdfbbb6df637df2049129a12fd51dd313937e3.tar.gz pam-d0fdfbbb6df637df2049129a12fd51dd313937e3.tar.bz2 pam-d0fdfbbb6df637df2049129a12fd51dd313937e3.zip |
Relevant BUGIDs: none
Purpose of commit: new feature
Commit summary:
---------------
Use modules.map as linker version map for all PAM modules
Use /var/run for debug output instead of /tmp (Patches from ALT Linux/OWL)
Diffstat (limited to 'modules/pam_userdb')
-rw-r--r-- | modules/pam_userdb/Makefile.am | 5 | ||||
-rw-r--r-- | modules/pam_userdb/README | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/modules/pam_userdb/Makefile.am b/modules/pam_userdb/Makefile.am index 0c7da8bf..3c87f1aa 100644 --- a/modules/pam_userdb/Makefile.am +++ b/modules/pam_userdb/Makefile.am @@ -11,9 +11,12 @@ secureconfdir = $(SCONFIGDIR) AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ -I$(top_srcdir)/modules/pammodutil/include/ -AM_LDFLAGS = -avoid-version -module \ +AM_LDFLAGS = -no-undefined -avoid-version -module \ -L$(top_builddir)/modules/pammodutil -lpammodutil \ -L$(top_builddir)/libpam -lpam @LIBDB@ @LIBCRYPT@ +if HAVE_VERSIONING + AM_LDFLAGS += -Wl,--version-script=../modules.map +endif if HAVE_LIBDB securelib_LTLIBRARIES = pam_userdb.la diff --git a/modules/pam_userdb/README b/modules/pam_userdb/README index fc56cfa0..8b4f6760 100644 --- a/modules/pam_userdb/README +++ b/modules/pam_userdb/README @@ -51,7 +51,7 @@ MODULE SERVICES PROVIDED: auth _authentication and _setcred (blank) EXAMPLE USE: - auth sufficient pam_userdb.so icase db=/tmp/dbtest.db + auth sufficient pam_userdb.so icase db=/etc/dbtest.db AUTHOR: Cristian Gafton <gafton@redhat.com> |