summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-06-11 03:04:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:57 -0500
commit43d3689ecfbac71e78132ac94470081e3db79951 (patch)
tree638f8031aff80b68991f257a565077fb6d71a3d0 /source4/torture
parentb8c8da4a50e7dd7d791ab9cd3803666f7c95acb5 (diff)
downloadsamba-43d3689ecfbac71e78132ac94470081e3db79951.tar.gz
samba-43d3689ecfbac71e78132ac94470081e3db79951.tar.bz2
samba-43d3689ecfbac71e78132ac94470081e3db79951.zip
r7479: ifdef out some more stuff to fix compiler warnings.
(This used to be commit c4d10a98ff991cc48d065c4373570aedc37dccf3)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/xplogin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/xplogin.c b/source4/torture/rpc/xplogin.c
index 235ac02e38..3a5a2f5844 100644
--- a/source4/torture/rpc/xplogin.c
+++ b/source4/torture/rpc/xplogin.c
@@ -28,6 +28,7 @@
#include "librpc/gen_ndr/ndr_srvsvc.h"
#include "libcli/composite/composite.h"
+#if 0
static NTSTATUS after_negprot(struct smbcli_transport **dst_transport,
const char *dest_host, uint16_t port,
const char *my_name)
@@ -973,7 +974,6 @@ static NTSTATUS test_remoteTOD(struct smbcli_transport *transport)
return status;
}
-#if 0
static BOOL xp_login(const char *dcname, const char *wksname,
const char *domain, const char *wkspwd,
const char *user1name, const char *user1pw,
@@ -1111,8 +1111,10 @@ static const struct user_pw machines[] = {
BOOL torture_rpc_login(void)
{
+#if 0
const char *pdcname = "pdcname";
const char *domainname = "domain";
+#endif
int useridx1 = rand() % ARRAY_SIZE(users);
int useridx2 = rand() % ARRAY_SIZE(users);