diff options
author | Günther Deschner <gd@samba.org> | 2010-12-14 17:14:58 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-12-14 22:42:18 +0100 |
commit | d860281cd9248b699875a1c4791c7e0cb841da6a (patch) | |
tree | 0894ff0de320dce9606008bea81dcc61e32c7831 | |
parent | a13b99323712a3bdd362de06179d0c23dbda0d79 (diff) | |
download | samba-d860281cd9248b699875a1c4791c7e0cb841da6a.tar.gz samba-d860281cd9248b699875a1c4791c7e0cb841da6a.tar.bz2 samba-d860281cd9248b699875a1c4791c7e0cb841da6a.zip |
s3-waf: add pam_ and nss_winbind.
Guenther
-rw-r--r-- | source3/wscript_build | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 90d7f58e4b..35e4142275 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -535,7 +535,7 @@ RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}''' -PAM_WINBIND_SRC = '../nsswitch/pam_winbind.c ${WBCOMMON_SRC} ${LIBREPLACE_SRC}' +PAM_WINBIND_SRC = '../nsswitch/pam_winbind.c' LIBSMBCLIENT_THREAD_SRC = '''libsmb/libsmb_thread_impl.c libsmb/libsmb_thread_posix.c''' @@ -788,6 +788,19 @@ bld.SAMBA_LIBRARY('smbsharemodes', private_library=True, vars=locals()) +bld.SAMBA_LIBRARY('nss_winbind', + source='../nsswitch/winbind_nss_linux.c', + deps='WBCOMMON', + realname='libnss_winbind.so.2', + vnum='2') + +if bld.CONFIG_SET('WITH_PAM_MODULES'): + bld.SAMBA_LIBRARY('pamwinbind', + source=PAM_WINBIND_SRC, + deps='intl talloc wbclient WBCOMMON LIBINIPARSER pam', + cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR, + realname='pam_winbind.so') + bld.SAMBA_SUBSYSTEM('LIBMSRPC', source='${LIBMSRPC_SRC}', deps='''ndr NDR_SECURITY NDR_DCERPC NDR_SCHANNEL |