diff options
Diffstat (limited to 'source3/pipeutil.c')
-rw-r--r-- | source3/pipeutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/pipeutil.c b/source3/pipeutil.c index dff0374433..93a78df493 100644 --- a/source3/pipeutil.c +++ b/source3/pipeutil.c @@ -106,10 +106,10 @@ char *dom_sid_to_string(DOM_SID *sid) static pstring sidstr; char subauth[16]; int i; - uint32 ia = (sid->id_auth[0]) + - (sid->id_auth[1] << 8 ) + - (sid->id_auth[2] << 16) + - (sid->id_auth[3] << 24); + uint32 ia = (sid->id_auth[5]) + + (sid->id_auth[4] << 8 ) + + (sid->id_auth[3] << 16) + + (sid->id_auth[2] << 24); sprintf(sidstr, "S-%d-%d", sid->sid_rev_num, ia); |