From 4a8010012a59b1771665290d53e4c966a231507b Mon Sep 17 00:00:00 2001
From: Günther Deschner <gd@samba.org>
Date: Tue, 5 Feb 2008 13:38:48 +0100
Subject: Fix _samr_Connect5(). Yes we do pretend to be > w2k all the time :)

Guenther
(This used to be commit a407feb65301408f91a346ca9c01c511f95556c9)
---
 source3/rpc_server/srv_samr_nt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index e321d75626..ff50f5d225 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2837,7 +2837,7 @@ NTSTATUS _samr_Connect5(pipes_struct *p,
 
 	DEBUG(5,("_samr_Connect5: %d\n", __LINE__));
 
-	info1.unknown1 = 3;
+	info1.client_version = SAMR_CONNECT_AFTER_W2K;
 	info1.unknown2 = 0;
 
 	*r->out.level_out = 1;
-- 
cgit