Преглед на файлове

Ticket #503 - Improve AD version in winsync log message

When enabling replication level logging, winsync prints out what
version of Windows/AD it detects.  If it detects win2k3 or later, it
prints out "detected win2k3 peer".  This can be confusing if you are
running a later version, such as win2k8.  The code is really trying
to detect if we can use certain operations that only started being
supported in win2k3.  This patch changes the message to match this
logic by printing "detected win2k3 or later peer".
Nathan Kinder преди 13 години
родител
ревизия
98b809ba58
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ldap/servers/plugins/replication/windows_connection.c

+ 1 - 1
ldap/servers/plugins/replication/windows_connection.c

@@ -1333,7 +1333,7 @@ windows_conn_connect(Repl_Connection *conn)
 		if (CONN_IS_WIN2K3 == supports)
 		{
 			windows_private_set_iswin2k3(conn->agmt,1);
-			LDAPDebug( LDAP_DEBUG_REPL, "windows_conn_connect : detected Win2k3 peer\n", 0, 0, 0 );
+			LDAPDebug( LDAP_DEBUG_REPL, "windows_conn_connect : detected Win2k3 or later peer\n", 0, 0, 0 );
 		} else
 		{
 			windows_private_set_iswin2k3(conn->agmt,0);