The branch, v3-2-test has been updated via eaee722ca74af274e628cbd868753800bddc3e97 (commit) from 857e9d2b27eb6824a8056490076fa020fd185a6d (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit eaee722ca74af274e628cbd868753800bddc3e97 Author: Herb Lewis <[EMAIL PROTECTED]> Date: Thu Jul 17 09:23:30 2008 -0700 allow SID with 0 in subauthority to be converted properly from string representation. ----------------------------------------------------------------------- Summary of changes: source/nsswitch/libwbclient/wbc_sid.c | 3 ++- 1 files changed, 2 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 b090926..4bfd62c 100644 --- a/source/nsswitch/libwbclient/wbc_sid.c +++ b/source/nsswitch/libwbclient/wbc_sid.c @@ -140,7 +140,8 @@ wbcErr wbcStringToSid(const char *str, p = q +1; sid->num_auths = 0; while (sid->num_auths < WBC_MAXSUBAUTHS) { - if ((x=(uint32_t)strtoul(p, &q, 10)) == 0) + x=(uint32_t)strtoul(p, &q, 10); + if (p == q) break; sid->sub_auths[sid->num_auths++] = x; -- Samba Shared Repository