git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a79026
)
libwbclient: let wbcStringToSid handle the global NULL sid.
author
Günther Deschner
<gd@samba.org>
Wed, 30 Jul 2008 14:59:11 +0000
(16:59 +0200)
committer
Günther Deschner
<gd@samba.org>
Wed, 30 Jul 2008 15:08:31 +0000
(17:08 +0200)
Guenther
(This used to be commit
09fed085bea9dae5bb8aacd986deed3d458e3574
)
source3/nsswitch/libwbclient/wbc_sid.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/libwbclient/wbc_sid.c
b/source3/nsswitch/libwbclient/wbc_sid.c
index 09bfc3e8404ab2f2eebd81b85d8559a924c5c1fa..324a19bd564711522ea92a852b4cbb9797d665e5 100644
(file)
--- a/
source3/nsswitch/libwbclient/wbc_sid.c
+++ b/
source3/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);
}