[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3456-g09fed08

Günther Deschner gd at samba.org
Wed Jul 30 15:09:06 GMT 2008


The branch, v3-3-test has been updated
       via  09fed085bea9dae5bb8aacd986deed3d458e3574 (commit)
      from  0298f7fe9e273a94d14b5b6ce3dbd5e6deee9ecb (commit)

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


- Log -----------------------------------------------------------------
commit 09fed085bea9dae5bb8aacd986deed3d458e3574
Author: Günther Deschner <gd at samba.org>
Date:   Wed Jul 30 16:59:11 2008 +0200

    libwbclient: let wbcStringToSid handle the global NULL sid.
    
    Guenther

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

Summary of changes:
 source/nsswitch/libwbclient/wbc_sid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/libwbclient/wbc_sid.c b/source/nsswitch/libwbclient/wbc_sid.c
index 09bfc3e..324a19b 100644
--- a/source/nsswitch/libwbclient/wbc_sid.c
+++ b/source/nsswitch/libwbclient/wbc_sid.c
@@ -123,7 +123,7 @@ wbcErr wbcStringToSid(const char *str,
 
 	p = q+1;
 	x = (uint32_t)strtol(p, &q, 10);
-	if (x==0 || !q || *q!='-') {
+	if (!q || *q!='-') {
 		wbc_status = WBC_ERR_INVALID_SID;
 		BAIL_ON_WBC_ERROR(wbc_status);
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list