git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0298f7f
)
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
source/nsswitch/libwbclient/wbc_sid.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/libwbclient/wbc_sid.c
b/source/nsswitch/libwbclient/wbc_sid.c
index 09bfc3e8404ab2f2eebd81b85d8559a924c5c1fa..324a19bd564711522ea92a852b4cbb9797d665e5 100644
(file)
--- 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);
}