[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2775-gfba8506
Günther Deschner
gd at samba.org
Wed Jul 30 15:09:58 GMT 2008
The branch, v3-2-test has been updated
via fba8506112938bf714c06da08e0e0725a7eecf3a (commit)
from 3a3640a85daa1a85415c949f9c2b804b4f067dd7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit fba8506112938bf714c06da08e0e0725a7eecf3a
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
(cherry picked from commit 09fed085bea9dae5bb8aacd986deed3d458e3574)
-----------------------------------------------------------------------
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 4bfd62c..ca5eab4 100644
--- a/source/nsswitch/libwbclient/wbc_sid.c
+++ b/source/nsswitch/libwbclient/wbc_sid.c
@@ -124,7 +124,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