[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Wed Feb 16 18:02:03 MST 2011
The branch, master has been updated
via 78c4b21 s3-selftest: make sure we really use --format=subunit when calling smbtorture4.
via a759b1a s4-build: added LOCALEDIR config option
via e1f2442 s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
via 5debcb1 idl: naming a structure 'VERSION' is not a good idea!
via 0aed229 libndr: remove prototype for nonexisting function ndr_print_ipv4_addr().
via 0e156e7 s3-waf: move libsmb/clikrb5.c and libads/kerberos.c into KRBCLIENT.
via bc83400 nsswitch: make wb_reqtrans a common subsystem.
via 743b13b s3-waf: make most of the nsswitch common.
via 9867b7b s4-waf: move wbinfo buildrule to winbind.
from 9e822f1 s3-waf: add check for struct stat st_flags member.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 78c4b2170eaa29f38d9b2904c8a6e71edfeb831b
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 01:12:04 2011 +0100
s3-selftest: make sure we really use --format=subunit when calling smbtorture4.
Guenther
Autobuild-User: Günther Deschner <gd at samba.org>
Autobuild-Date: Thu Feb 17 02:01:56 CET 2011 on sn-devel-104
commit a759b1a3ca0750cf6637f9541ee1109d14707fd8
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 9 15:56:56 2011 +1100
s4-build: added LOCALEDIR config option
s3 needs dyn_LOCALEDIR
commit e1f2442096e626b49e63838b28698965eef52518
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 15 16:31:35 2011 +1100
s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
this needs to be in souce3/, as otherwise it can't handle an in-tree
kerberos library
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5debcb1027aec5e711605d575b210675fce3169a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 15 17:50:22 2011 +1100
idl: naming a structure 'VERSION' is not a good idea!
this renames it to ntlmssp_VERSION
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0aed229710b8058878f25ce7b738ef807fb1faaa
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 00:43:30 2011 +0100
libndr: remove prototype for nonexisting function ndr_print_ipv4_addr().
Guenther
commit 0e156e7d62df9178c89d1beae4d0c3c936ea2827
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 00:49:11 2011 +0100
s3-waf: move libsmb/clikrb5.c and libads/kerberos.c into KRBCLIENT.
This avoids two duplicates...
Guenther
commit bc83400d8102d7f01e00d71d86cd28f7dc1fbfc9
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 00:43:05 2011 +0100
nsswitch: make wb_reqtrans a common subsystem.
Guenther
commit 743b13b8e0bb1a79219d4cd89a4c3e3f75344d2c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 17 00:11:18 2011 +0100
s3-waf: make most of the nsswitch common.
Guenther
commit 9867b7bf34c80a12b936682ab6cb686ab45ca51c
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 16 23:53:25 2011 +0100
s4-waf: move wbinfo buildrule to winbind.
Will be moved back later, once we have a more common samba-util.so
Guenther
-----------------------------------------------------------------------
Summary of changes:
lib/replace/wscript | 8 ----
libcli/auth/ntlmssp_server.c | 4 +-
librpc/idl/ntlmssp.idl | 4 +-
librpc/ndr/libndr.h | 1 -
librpc/ndr/ndr_ntlmssp.c | 2 +-
{source3/lib => nsswitch}/wb_reqtrans.c | 2 +-
{source3/lib => nsswitch}/wb_reqtrans.h | 0
nsswitch/wscript_build | 23 ++++++++----
source3/Makefile.in | 4 +-
source3/selftest/tests.sh | 2 +-
source3/torture/wbc_async.h | 2 +-
source3/winbindd/winbindd.c | 2 +-
source3/winbindd/winbindd_dual.c | 2 +-
source3/wscript | 6 +++
source3/wscript_build | 58 +++++-------------------------
source4/dynconfig/dynconfig.c | 1 +
source4/dynconfig/wscript | 3 +-
source4/winbind/wscript_build | 4 ++
18 files changed, 50 insertions(+), 78 deletions(-)
rename {source3/lib => nsswitch}/wb_reqtrans.c (99%)
rename {source3/lib => nsswitch}/wb_reqtrans.h (100%)
Changeset truncated at 500 lines:
diff --git a/lib/replace/wscript b/lib/replace/wscript
index b9921c9..b1aad69 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -280,14 +280,6 @@ def configure(conf):
define = 'REPLACE_STRPTIME',
)
- if conf.CONFIG_SET('HAVE_KRB5_H'):
- # Check for KRB5_DEPRECATED handling
- conf.CHECK_CODE('''#define KRB5_DEPRECATED 1
-#include <krb5.h>''',
- 'HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER', addmain=False,
- link=False,
- msg="Checking for KRB5_DEPRECATED define taking an identifier")
-
conf.CHECK_CODE('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ', execute=False)
conf.CHECK_CODE('#include "test/snprintf.c"',
diff --git a/libcli/auth/ntlmssp_server.c b/libcli/auth/ntlmssp_server.c
index f78698a..264e8bc 100644
--- a/libcli/auth/ntlmssp_server.c
+++ b/libcli/auth/ntlmssp_server.c
@@ -161,7 +161,7 @@ NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
if (chal_flags & NTLMSSP_NEGOTIATE_VERSION) {
enum ndr_err_code err;
- struct VERSION vers;
+ struct ntlmssp_VERSION vers;
/* "What Windows returns" as a version number. */
ZERO_STRUCT(vers);
@@ -173,7 +173,7 @@ NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
err = ndr_push_struct_blob(&version_blob,
ntlmssp_state,
&vers,
- (ndr_push_flags_fn_t)ndr_push_VERSION);
+ (ndr_push_flags_fn_t)ndr_push_ntlmssp_VERSION);
if (!NDR_ERR_CODE_IS_SUCCESS(err)) {
data_blob_free(&struct_blob);
diff --git a/librpc/idl/ntlmssp.idl b/librpc/idl/ntlmssp.idl
index b9be7da..7c3b8fe 100644
--- a/librpc/idl/ntlmssp.idl
+++ b/librpc/idl/ntlmssp.idl
@@ -92,10 +92,10 @@ interface ntlmssp
uint16 ProductBuild;
uint8 Reserved[3];
ntlmssp_NTLMRevisionCurrent NTLMRevisionCurrent;
- } VERSION;
+ } ntlmssp_VERSION;
typedef [noprint,nodiscriminant] union {
- [case(NTLMSSP_NEGOTIATE_VERSION)] VERSION version;
+ [case(NTLMSSP_NEGOTIATE_VERSION)] ntlmssp_VERSION version;
[default];
} ntlmssp_Version;
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index 67b5372..21e4bda 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -378,7 +378,6 @@ enum ndr_err_code ndr_push_dom_sid0(struct ndr_push *ndr, int ndr_flags, const s
enum ndr_err_code ndr_pull_dom_sid0(struct ndr_pull *ndr, int ndr_flags, struct dom_sid *sid);
void ndr_print_dom_sid0(struct ndr_print *ndr, const char *name, const struct dom_sid *sid);
size_t ndr_size_dom_sid0(const struct dom_sid *sid, int flags);
-void ndr_print_ipv4_addr(struct ndr_print *ndr, const char *name, const struct in_addr *_ip);
void ndr_print_GUID(struct ndr_print *ndr, const char *name, const struct GUID *guid);
bool ndr_syntax_id_equal(const struct ndr_syntax_id *i1, const struct ndr_syntax_id *i2);
enum ndr_err_code ndr_push_struct_blob(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, const void *p, ndr_push_flags_fn_t fn);
diff --git a/librpc/ndr/ndr_ntlmssp.c b/librpc/ndr/ndr_ntlmssp.c
index 02fc3c2..d024da5 100644
--- a/librpc/ndr/ndr_ntlmssp.c
+++ b/librpc/ndr/ndr_ntlmssp.c
@@ -167,7 +167,7 @@ _PUBLIC_ void ndr_print_ntlmssp_Version(struct ndr_print *ndr, const char *name,
level = ndr_print_get_switch_value(ndr, r);
switch (level) {
case NTLMSSP_NEGOTIATE_VERSION:
- ndr_print_VERSION(ndr, name, &r->version);
+ ndr_print_ntlmssp_VERSION(ndr, name, &r->version);
break;
default:
diff --git a/source3/lib/wb_reqtrans.c b/nsswitch/wb_reqtrans.c
similarity index 99%
rename from source3/lib/wb_reqtrans.c
rename to nsswitch/wb_reqtrans.c
index 78f806d..779ef52 100644
--- a/source3/lib/wb_reqtrans.c
+++ b/nsswitch/wb_reqtrans.c
@@ -32,7 +32,7 @@
#include "lib/util/tevent_unix.h"
#include "nsswitch/winbind_struct_protocol.h"
#include "nsswitch/libwbclient/wbclient.h"
-#include "lib/wb_reqtrans.h"
+#include "nsswitch/wb_reqtrans.h"
/* can't use DEBUG here... */
#define DEBUG(a,b)
diff --git a/source3/lib/wb_reqtrans.h b/nsswitch/wb_reqtrans.h
similarity index 100%
rename from source3/lib/wb_reqtrans.h
rename to nsswitch/wb_reqtrans.h
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index a9881bd..6087eda 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -14,21 +14,28 @@ bld.SAMBA_BINARY('nsstest',
)
-bld.SAMBA_BINARY('wbinfo',
- source='wbinfo.c',
- deps='samba-util LIBCLI_AUTH popt POPT_SAMBA winbind-client wbclient tevent UTIL_TEVENT LIBASYNC_REQ security ndr NDR_SECURITY'
- )
-
bld.SAMBA_LIBRARY('nss_winbind',
- source='../nsswitch/winbind_nss_linux.c',
+ source='winbind_nss_linux.c',
deps='winbind-client',
realname='libnss_winbind.so.2',
vnum='2')
-if bld.CONFIG_SET('HAVE_PAM_START'):
+
+if bld.CONFIG_SET('WITH_PAM_MODULES') or bld.CONFIG_SET('HAVE_PAM_START'):
bld.SAMBA_LIBRARY('pamwinbind',
- source='../nsswitch/pam_winbind.c',
+ source='pam_winbind.c',
deps='intl talloc wbclient winbind-client LIBINIPARSER pam',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_winbind.so',
)
+
+if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
+ bld.SAMBA_LIBRARY('winbind_krb5_locator',
+ source='winbind_krb5_locator.c',
+ deps='wbclient krb5',
+ realname='winbind_krb5_locator.so')
+
+bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
+ source='wb_reqtrans.c',
+ deps='talloc tevent LIBASYNC_REQ'
+ )
diff --git a/source3/Makefile.in b/source3/Makefile.in
index eb6d4a7..8140f0a 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1217,7 +1217,7 @@ SMBTORTURE_OBJ = $(SMBTORTURE_OBJ1) $(PARAM_OBJ) $(TLDAP_OBJ) \
$(LIBSMB_OBJ) $(KRBCLIENT_OBJ) $(LIB_NONSMBD_OBJ) \
@LIBWBCLIENT_STATIC@ \
torture/wbc_async.o \
- lib/wb_reqtrans.o \
+ ../nsswitch/wb_reqtrans.o \
$(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) $(LIBCLI_ECHO_OBJ)
MASKTEST_OBJ = torture/masktest.o $(PARAM_OBJ) $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
@@ -1411,7 +1411,7 @@ WINBINDD_OBJ1 = \
auth/server_info_sam.o \
auth/user_info.o \
auth/pampass.o \
- lib/wb_reqtrans.o
+ ../nsswitch/wb_reqtrans.o
WINBINDD_OBJ = \
$(WINBINDD_OBJ1) $(PASSDB_OBJ) $(GROUPDB_OBJ) \
diff --git a/source3/selftest/tests.sh b/source3/selftest/tests.sh
index 7603602..092e758 100755
--- a/source3/selftest/tests.sh
+++ b/source3/selftest/tests.sh
@@ -174,7 +174,7 @@ plantest "blackbox.testparm" dc:local LOCAL_PATH="$LOCAL_PATH" BINDIR="$BINDIR"
if [ -n "$SELFTEST_VERBOSE" ]; then
TORTURE4_OPTIONS="$TORTURE4_OPTIONS --option=torture:progress=no"
fi
- TORTURE_OPTIONS="$TORTURE4_OPTIONS --format=subunit"
+ TORTURE4_OPTIONS="$TORTURE4_OPTIONS --format=subunit"
if [ -n "$SELFTEST_QUICK" ]; then
TORTURE4_OPTIONS="$TORTURE4_OPTIONS --option=torture:quick=yes"
fi
diff --git a/source3/torture/wbc_async.h b/source3/torture/wbc_async.h
index 6a49511..9cd6a93 100644
--- a/source3/torture/wbc_async.h
+++ b/source3/torture/wbc_async.h
@@ -27,7 +27,7 @@
#include <talloc.h>
#include <tevent.h>
#include "nsswitch/libwbclient/wbclient.h"
-#include "lib/wb_reqtrans.h"
+#include "nsswitch/wb_reqtrans.h"
struct wb_context;
struct winbindd_request;
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 3a76231..92ae12f 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -26,7 +26,7 @@
#include "popt_common.h"
#include "winbindd.h"
#include "nsswitch/winbind_client.h"
-#include "lib/wb_reqtrans.h"
+#include "nsswitch/wb_reqtrans.h"
#include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/srv_lsa.h"
#include "../librpc/gen_ndr/srv_samr.h"
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 6465d84..bf9fd13 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -29,7 +29,7 @@
#include "includes.h"
#include "winbindd.h"
-#include "lib/wb_reqtrans.h"
+#include "nsswitch/wb_reqtrans.h"
#include "librpc/gen_ndr/messaging.h"
#include "secrets.h"
#include "../lib/util/select.h"
diff --git a/source3/wscript b/source3/wscript
index c87fb45..4938f16 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -759,6 +759,12 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab);
headers='krb5.h', lib='krb5', execute=True,
msg="Checking whether the WRFILE:-keytab is supported");
+ # Check for KRB5_DEPRECATED handling
+ conf.CHECK_CODE('''#define KRB5_DEPRECATED 1
+#include <krb5.h>''',
+ 'HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER', addmain=False,
+ link=False,
+ msg="Checking for KRB5_DEPRECATED define taking an identifier")
else:
conf.SET_TARGET_TYPE('krb5', 'EMPTY')
conf.SET_TARGET_TYPE('gssapi', 'EMPTY')
diff --git a/source3/wscript_build b/source3/wscript_build
index 3ff87c3..1c29bd7 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -15,8 +15,6 @@ SMBLDAP_SRC = '''lib/smbldap.c lib/smbldap_util.c'''
VERSION_SRC = '''lib/version.c'''
-WBCOMMON_SRC = '../nsswitch/wb_common.c'
-
AFS_SRC = 'lib/afs.c'
AFS_SETTOKEN_SRC = 'lib/afs_settoken.c'
@@ -129,7 +127,7 @@ PARAM_UTIL_SRC = '''param/util.c'''
PARAM_WITHOUT_REG_SRC = '''param/loadparm.c param/loadparm_server_role.c
lib/sharesec.c lib/ldap_debug_handler.c'''
-KRBCLIENT_SRC = '''libads/kerberos.c libads/ads_status.c'''
+KRBCLIENT_SRC = '''libads/kerberos.c libads/ads_status.c libsmb/clikrb5.c'''
LIBGPO_SRC0 = '''../libgpo/gpo_ldap.c ../libgpo/gpo_ini.c ../libgpo/gpo_util.c
../libgpo/gpo_fetch.c libgpo/gpo_filesync.c ../libgpo/gpo_sec.c
@@ -179,7 +177,7 @@ TLDAP_SRC = '''lib/tldap.c lib/tldap_util.c lib/util_tsock.c'''
SCHANNEL_SRC = '''../libcli/auth/schannel_sign.c'''
LIBSMB_SRC = '''libsmb/clientgen.c libsmb/cliconnect.c libsmb/clifile.c
- libsmb/clikrb5.c libsmb/clispnego.c
+ libsmb/clispnego.c
libsmb/clirap.c libsmb/clierror.c libsmb/climessage.c
libsmb/clireadwrite.c libsmb/clilist.c libsmb/cliprint.c
libsmb/clitrans.c libsmb/clisecdesc.c libsmb/clidgram.c
@@ -384,8 +382,7 @@ WINBINDD_SRC1 = '''winbindd/winbindd.c
auth/server_info.c
auth/server_info_sam.c
auth/user_info.c
- auth/user_util.c
- lib/wb_reqtrans.c'''
+ auth/user_util.c'''
WINBINDD_SRC = '''${WINBINDD_SRC1}
${TDB_VALIDATE_SRC}'''
@@ -509,8 +506,6 @@ RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c
RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}'''
-PAM_WINBIND_SRC = '../nsswitch/pam_winbind.c'
-
LIBSMBCLIENT_THREAD_SRC = '''libsmb/libsmb_thread_impl.c
libsmb/libsmb_thread_posix.c'''
@@ -617,8 +612,7 @@ SMBTORTURE_SRC1 = '''torture/torture.c torture/nbio.c torture/scanner.c torture/
torture/test_smbsock_any_connect.c'''
SMBTORTURE_SRC = '''${SMBTORTURE_SRC1}
- torture/wbc_async.c
- lib/wb_reqtrans.c'''
+ torture/wbc_async.c'''
MASKTEST_SRC = '''torture/masktest.c'''
@@ -626,8 +620,6 @@ MSGTEST_SRC = '''torture/msgtest.c'''
LOCKTEST_SRC = '''torture/locktest.c'''
-NSSTEST_SRC = '''../nsswitch/nsstest.c ${LIBSAMBAUTIL_SRC}'''
-
PDBTEST_SRC = '''torture/pdbtest.c'''
VFSTEST_SRC = '''torture/cmd_vfs.c torture/vfstest.c'''
@@ -659,9 +651,7 @@ WBINFO_SRC = '''../nsswitch/wbinfo.c'''
NTLM_AUTH_SRC1 = '''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c'''
-NTLM_AUTH_SRC = '''${NTLM_AUTH_SRC1}
- libsmb/clikrb5.c libads/kerberos.c'''
-
+NTLM_AUTH_SRC = '''${NTLM_AUTH_SRC1}'''
VLP_SRC = '''printing/tests/vlp.c'''
@@ -701,11 +691,6 @@ bld.RECURSE('build')
######################## SUBSYSTEMS #################################
-bld.SAMBA_SUBSYSTEM('winbind-client',
- source=WBCOMMON_SRC,
- deps='replace',
- cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR)
-
bld.SAMBA_LIBRARY('netapi',
source=LIBNETAPI_SRC,
public_deps='''talloc tdb cap wbclient LIB_NONSMBD LIBSMB KRBCLIENT
@@ -734,12 +719,6 @@ bld.SAMBA_LIBRARY('smbsharemodes',
vnum='0',
vars=locals())
-bld.SAMBA_LIBRARY('nss_winbind',
- source='../nsswitch/winbind_nss_linux.c',
- deps='winbind-client',
- realname='libnss_winbind.so.2',
- vnum='2')
-
bld.SAMBA_LIBRARY('nss_wins',
source=WINBIND_WINS_NSS_SRC,
deps='''winbind-client PARAM LIBSMB LIB_NONSMBD LIBTSOCKET KRBCLIENT
@@ -747,19 +726,6 @@ bld.SAMBA_LIBRARY('nss_wins',
realname='libnss_wins.so.2',
vnum='2')
-if bld.CONFIG_SET('WITH_PAM_MODULES'):
- bld.SAMBA_LIBRARY('pamwinbind',
- source=PAM_WINBIND_SRC,
- deps='intl talloc wbclient winbind-client LIBINIPARSER pam',
- cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
- realname='pam_winbind.so')
-
-if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
- bld.SAMBA_LIBRARY('winbind_krb5_locator',
- source='../nsswitch/winbind_krb5_locator.c',
- deps='wbclient krb5',
- realname='winbind_krb5_locator.so')
-
bld.SAMBA_SUBSYSTEM('LIBMSRPC',
source='${LIBMSRPC_SRC}',
deps='''ndr ndr-util NDR_SECURITY NDR_DCERPC NDR_SCHANNEL
@@ -865,7 +831,7 @@ bld.SAMBA_SUBSYSTEM('LIBSAMBA',
bld.SAMBA_SUBSYSTEM('LIBSMB',
source=LIBSMB_SRC,
- deps='LIBSAMBA CLDAP LIBNMB LIBNBT LIBDRSUAPI SPNEGO_PARSE LIBTSOCKET',
+ deps='LIBSAMBA CLDAP LIBNMB LIBNBT LIBDRSUAPI SPNEGO_PARSE LIBTSOCKET KRBCLIENT',
vars=locals())
bld.SAMBA_SUBSYSTEM('LIBDRSUAPI',
@@ -1144,7 +1110,7 @@ bld.SAMBA_BINARY('winbindd/winbindd',
LIBCLI_SAMR LIBCLI_LSA LIBRPCCLI_NETLOGON
RPC_NDR_DSSETUP NAMED_PIPE_AUTH_TSTREAM INIT_NETLOGON
RPC_NCACN_NP RPC_PIPE_REGISTER RPC_SAMR RPC_LSARPC
- PAM_ERRORS
+ PAM_ERRORS WB_REQTRANS
''',
enabled=bld.env.build_winbind,
install_path='${SBINDIR}',
@@ -1263,7 +1229,7 @@ bld.SAMBA_BINARY('nmblookup',
bld.SAMBA_BINARY('smbtorture',
source=SMBTORTURE_SRC,
deps='''talloc tdb tevent cap resolv wbclient PARAM LIBSMB KRBCLIENT TLDAP
- LIB_NONSMBD POPT_SAMBA ASN1_UTIL LIBTSOCKET NDR_LSA LIBMSRPC LIBMSRPC_GEN RPC_NDR_ECHO''',
+ LIB_NONSMBD POPT_SAMBA ASN1_UTIL LIBTSOCKET NDR_LSA LIBMSRPC LIBMSRPC_GEN RPC_NDR_ECHO WB_REQTRANS''',
vars=locals())
bld.SAMBA_BINARY('smbconftort',
@@ -1313,11 +1279,6 @@ bld.SAMBA_BINARY('locktest',
ASN1_UTIL LIBTSOCKET NDR_SAMR NDR_LSA LOCKING FNAME_UTIL''',
vars=locals())
-bld.SAMBA_BINARY('nsstest',
- source=NSSTEST_SRC,
- deps='dl',
- vars=locals())
-
bld.SAMBA_BINARY('pdbtest',
source=PDBTEST_SRC,
deps='''talloc tdb cap resolv wbclient PARAM LIBSMB KRBCLIENT LIB_NONSMBD PASSDB GROUPDB
@@ -1373,7 +1334,7 @@ bld.SAMBA_BINARY('ntlm_auth',
deps='''tdb talloc cap resolv krb5 k5crypto com_err wbclient PARAM LIB_NONSMBD
LIBS LIBSAMBA POPT_SAMBA ASN1_UTIL LIBTSOCKET
PASSDB GROUPDB SMBLDAP winbind-client LIBINIPARSER LIBADS_SERVER
- NDR_SAMR NDR_LSA NDR_NETLOGON LIBCLI_LDAP_NDR LIBNMB SLCACHE SPNEGO_PARSE''',
+ NDR_SAMR NDR_LSA NDR_NETLOGON LIBCLI_LDAP_NDR LIBNMB SLCACHE SPNEGO_PARSE KRBCLIENT''',
vars=locals())
bld.SAMBA_BINARY('timelimit',
@@ -1442,6 +1403,7 @@ bld.RECURSE('../lib/tdb')
bld.RECURSE('../lib/tevent')
bld.RECURSE('../lib/tsocket')
bld.RECURSE('../lib/zlib')
+bld.RECURSE('../nsswitch')
bld.RECURSE('../nsswitch/libwbclient')
bld.RECURSE('auth')
bld.RECURSE('libgpo/gpext')
diff --git a/source4/dynconfig/dynconfig.c b/source4/dynconfig/dynconfig.c
index 9fbfed0..228cbbc 100644
--- a/source4/dynconfig/dynconfig.c
+++ b/source4/dynconfig/dynconfig.c
@@ -84,6 +84,7 @@ DEFINE_DYN_CONFIG_PARAM(PIDDIR)
DEFINE_DYN_CONFIG_PARAM(NCALRPCDIR)
DEFINE_DYN_CONFIG_PARAM(SMB_PASSWD_FILE)
DEFINE_DYN_CONFIG_PARAM(PRIVATE_DIR)
+DEFINE_DYN_CONFIG_PARAM(LOCALEDIR)
/* these are not in s3 */
DEFINE_DYN_CONFIG_PARAM(DATADIR)
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript
index c2741fd..45f7936 100755
--- a/source4/dynconfig/wscript
+++ b/source4/dynconfig/wscript
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-import string, Utils, Options, sys, Build, os
+import string, Utils, Options, sys, Build, os, intltool
from samba_utils import EXPAND_VARIABLES, os_path_relpath
# list of directory options to offer in configure
@@ -26,6 +26,7 @@ dyn_cflags = {
'LOCKDIR' : '${LOCALSTATEDIR}/locks',
'PIDDIR' : '${LOCALSTATEDIR}/run',
'DATADIR' : '${DATADIR}',
+ 'LOCALEDIR' : '${LOCALEDIR}',
'SETUPDIR' : '${DATADIR}/setup',
'WINBINDD_SOCKET_DIR' : '${WINBINDD_SOCKET_DIR}',
'WINBINDD_PRIVILEGED_SOCKET_DIR' : '${WINBINDD_PRIVILEGED_SOCKET_DIR}',
diff --git a/source4/winbind/wscript_build b/source4/winbind/wscript_build
index 5ba9c2a..09fee43 100644
--- a/source4/winbind/wscript_build
+++ b/source4/winbind/wscript_build
@@ -24,3 +24,7 @@ bld.SAMBA_SUBSYSTEM('IDMAP',
public_deps='samdb-common ldbsamba'
)
+bld.SAMBA_BINARY('wbinfo',
+ source='../../nsswitch/wbinfo.c',
+ deps='samba-util LIBCLI_AUTH popt POPT_SAMBA winbind-client wbclient tevent UTIL_TEVENT LIBASYNC_REQ security ndr NDR_SECURITY'
+ )
--
Samba Shared Repository
More information about the samba-cvs
mailing list