summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-08 10:45:39 +0100
committerGünther Deschner <gd@samba.org>2011-02-08 14:05:36 +0100
commit34722c72f687ad8a357656152aed9f6bafab1cad (patch)
tree4b0c82937608c623336186acc09940035706c01b /source3/pam_smbpass
parent242797aca93a2f8d1e1670a1eaeb5d8e5cd07a1d (diff)
downloadsamba-34722c72f687ad8a357656152aed9f6bafab1cad.tar.gz
samba-34722c72f687ad8a357656152aed9f6bafab1cad.tar.bz2
samba-34722c72f687ad8a357656152aed9f6bafab1cad.zip
pam: share pam errors in a common location.
Guenther
Diffstat (limited to 'source3/pam_smbpass')
-rw-r--r--source3/pam_smbpass/general.h1
-rw-r--r--source3/pam_smbpass/wscript_build2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/pam_smbpass/general.h b/source3/pam_smbpass/general.h
index f6b3e672ae..74bd870bc5 100644
--- a/source3/pam_smbpass/general.h
+++ b/source3/pam_smbpass/general.h
@@ -1,4 +1,5 @@
#include "../librpc/gen_ndr/samr.h"
+#include "../libcli/auth/pam_errors.h"
#ifndef LINUX
/* This is only needed by modules in the Sun implementation. */
diff --git a/source3/pam_smbpass/wscript_build b/source3/pam_smbpass/wscript_build
index 1a43bcea71..2eaee2ea98 100644
--- a/source3/pam_smbpass/wscript_build
+++ b/source3/pam_smbpass/wscript_build
@@ -6,7 +6,7 @@ if bld.CONFIG_SET('WITH_PAM_MODULES'):
pam_smb_passwd.c
pam_smb_acct.c
support.c''',
- deps='''tdb talloc pam wbclient cap ASN1_UTIL PARAM LIB_NONSMBD PASSDB GROUPDB SMBLDAP
+ deps='''tdb talloc pam PAM_ERRORS wbclient cap ASN1_UTIL PARAM LIB_NONSMBD PASSDB GROUPDB SMBLDAP
LIBSAMBA LIBTSOCKET''',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_smbpass.so',