[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2570-gd18778f

Stefan Metzmacher metze at samba.org
Thu Feb 28 09:04:16 GMT 2008


The branch, v3-2-test has been updated
       via  d18778f329f0c49f1250d93cf1b52603afaf15e1 (commit)
       via  fb352fdbcc3fe378d2aadc4914b981eaa06b35ae (commit)
      from  ebc7f903cfd4a5f7a7baaaa1674ef84368481cb9 (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit d18778f329f0c49f1250d93cf1b52603afaf15e1
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Feb 28 09:49:59 2008 +0100

    Update WHATSNEW.txt with my changes for 3.2.0pre2
    
    metze

commit fb352fdbcc3fe378d2aadc4914b981eaa06b35ae
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Feb 28 08:29:07 2008 +0100

    call libnet_conf_get_seqnum() just once and fix compiler warnings
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 WHATSNEW.txt            |   19 +++++++++++++++++++
 source/param/loadparm.c |   13 +++++++------
 2 files changed, 26 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index bcdf56c..f60aa04 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -127,6 +127,25 @@ o   Kai Blin <kai at samba.org>
     * make test now supports more extensive SPOOLSS testing using vlp.
     * Correctly handle mixed-case hostnames in NTLMv2 authentication.
 
+o   Stefan Metzmacher <metze at samba.org>
+    * Fixes for libreplace.
+    * Build fixes.
+    * Add nss_wrapper support.
+    * Start and test winbindd by 'make test'
+    * Split up child_dispatch_table into domain, idmap and locator tables
+      in winbindd.
+    * Fix for a crash bug in pidl generated client code.
+      This could have happend with [in,out,unique] pointers
+      when the clients sends a valid pointer, but the server
+      reponse with a NULL pointer (as samba-3.0.26a do for some calls).
+    * Change NTSTAUS into enum ndr_err_code in librpc/ndr.
+    * Remove unused calls in the struct based winbindd protocol.
+    * Add --configfile option to wbinfo.
+    * Convert winbind_env_set(), winbind_on() and winbind_off() into macros.
+    * Return rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode.
+    * Implement wbcErrorString() and wbcAuthenticateUserEx()
+    * Convert auth_winbind to use wbcAuthenticateUserEx()
+
 Original 3.2.0pre1 commits:
 ---------------------------
 o   Michael Adam <obnox at samba.org>
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 79c522f..e23c307 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -3490,6 +3490,7 @@ bool lp_file_list_changed(void)
  	DEBUG(6, ("lp_file_list_changed()\n"));
 
 	if (lp_config_backend() == CONFIG_BACKEND_REGISTRY) {
+		uint64_t conf_cur_seqnum;
 		if (conf_ctx == NULL) {
 			WERROR werr;
 			werr = libnet_conf_open(NULL, &conf_ctx);
@@ -3499,12 +3500,12 @@ bool lp_file_list_changed(void)
 				return false;
 			}
 		}
-		if (conf_last_seqnum !=
-		    libnet_conf_get_seqnum(conf_ctx, NULL, NULL))
-		{
-			DEBUGADD(6, ("regdb seqnum changed: old = %lu, "
-				     "new = %lu\n", conf_last_seqnum,
-				     libnet_conf_get_seqnum(conf_ctx, NULL, NULL)));
+		conf_cur_seqnum = libnet_conf_get_seqnum(conf_ctx, NULL, NULL);
+		if (conf_last_seqnum != conf_cur_seqnum) {
+			DEBUGADD(6, ("regdb seqnum changed: old = %llu, "
+				     "new = %llu\n",
+				     (unsigned long long)conf_last_seqnum,
+				     (unsigned long long)conf_cur_seqnum));
 			return true;
 		} else {
 			/*


-- 
Samba Shared Repository


More information about the samba-cvs mailing list