summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-07-27 17:41:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:18 -0500
commitb344de3f83d8025d0c00c8ae20207e9e42b70d57 (patch)
tree7798d113282513b38c8ff526f117983863d89b92
parentba43b128e2692024f02425ed08ae3681168a245d (diff)
downloadsamba-b344de3f83d8025d0c00c8ae20207e9e42b70d57.tar.gz
samba-b344de3f83d8025d0c00c8ae20207e9e42b70d57.tar.bz2
samba-b344de3f83d8025d0c00c8ae20207e9e42b70d57.zip
r8800: grr...get logic right when checking #define
(This used to be commit c2f69827de13a6e63077bfc4a62738c0f88e0835)
-rw-r--r--source3/nsswitch/winbindd_cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index e6eeba63d5..8a97b7ae17 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -993,7 +993,7 @@ NTSTATUS cm_connect_sam(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx,
conn = &domain->conn;
if (conn->samr_pipe == NULL) {
-#ifdef DISABLE_SCHANNEL_WIN2K3_SP1
+#ifndef DISABLE_SCHANNEL_WIN2K3_SP1
unsigned char *session_key;
if (cm_get_schannel_key(domain, mem_ctx, &session_key))
@@ -1049,7 +1049,7 @@ NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx,
conn = &domain->conn;
if (conn->lsa_pipe == NULL) {
-#ifdef DISABLE_SCHANNEL_WIN2K3_SP1
+#ifndef DISABLE_SCHANNEL_WIN2K3_SP1
unsigned char *session_key;
if (cm_get_schannel_key(domain, mem_ctx, &session_key))