wbclient: fix conversion logic in wbcSidToStringBuf
authorJeff Layton <jlayton@samba.org>
Wed, 31 Jul 2013 14:38:19 +0000 (10:38 -0400)
committerJeremy Allison <jra@samba.org>
Wed, 31 Jul 2013 22:16:04 +0000 (15:16 -0700)
commitba9d8612e3f66fa7c8c1999c26c658167124b18f
tree861ee28a76ea5389afd40da54e0f9e253d29e221
parent1a4ec0b885f95b481d9df6461bd4a8e8fd175f53
wbclient: fix conversion logic in wbcSidToStringBuf

Might as well fix it to handle large authority values properly. Also
correct some of the formatting.

Signed-off-by: Jeff Layton <jlayton@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
nsswitch/libwbclient/wbc_sid.c