andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
dc8c34
From 90bb6b273f91e7296b7dfbe6e193b5aeabfec22d Mon Sep 17 00:00:00 2001
dc8c34
From: Nathan Kinder <nkinder@redhat.com>
dc8c34
Date: Tue, 6 Nov 2012 07:58:58 -0800
dc8c34
Subject: [PATCH 11/16] Ticket #503 - Improve AD version in winsync log
dc8c34
 message
dc8c34
dc8c34
When enabling replication level logging, winsync prints out what
dc8c34
version of Windows/AD it detects.  If it detects win2k3 or later, it
dc8c34
prints out "detected win2k3 peer".  This can be confusing if you are
dc8c34
running a later version, such as win2k8.  The code is really trying
dc8c34
to detect if we can use certain operations that only started being
dc8c34
supported in win2k3.  This patch changes the message to match this
dc8c34
logic by printing "detected win2k3 or later peer".
dc8c34
(cherry picked from commit 98b809ba580530d9418e7bbf857e1ff2b79f75c8)
dc8c34
---
dc8c34
 ldap/servers/plugins/replication/windows_connection.c | 2 +-
dc8c34
 1 file changed, 1 insertion(+), 1 deletion(-)
dc8c34
dc8c34
diff --git a/ldap/servers/plugins/replication/windows_connection.c b/ldap/servers/plugins/replication/windows_connection.c
dc8c34
index 0393627..105c205 100644
dc8c34
--- a/ldap/servers/plugins/replication/windows_connection.c
dc8c34
+++ b/ldap/servers/plugins/replication/windows_connection.c
dc8c34
@@ -1333,7 +1333,7 @@ windows_conn_connect(Repl_Connection *conn)
dc8c34
 		if (CONN_IS_WIN2K3 == supports)
dc8c34
 		{
dc8c34
 			windows_private_set_iswin2k3(conn->agmt,1);
dc8c34
-			LDAPDebug( LDAP_DEBUG_REPL, "windows_conn_connect : detected Win2k3 peer\n", 0, 0, 0 );
dc8c34
+			LDAPDebug( LDAP_DEBUG_REPL, "windows_conn_connect : detected Win2k3 or later peer\n", 0, 0, 0 );
dc8c34
 		} else
dc8c34
 		{
dc8c34
 			windows_private_set_iswin2k3(conn->agmt,0);
dc8c34
-- 
dc8c34
1.7.11.7
dc8c34