r7479: ifdef out some more stuff to fix compiler warnings.
authorTim Potter <tpot@samba.org>
Sat, 11 Jun 2005 03:04:40 +0000 (03:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:57 +0000 (13:17 -0500)
source/torture/rpc/xplogin.c

index 235ac02e38b5aca0182ac04aa024cbb46a6b70f4..3a5a2f5844ff68ced4e9f82cc9ab031e25bfb017 100644 (file)
@@ -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);