lib: Add error checks in dom_sid_string_buf
authorVolker Lendecke <vl@samba.org>
Thu, 1 Nov 2018 10:11:17 +0000 (11:11 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 2 Nov 2018 16:03:26 +0000 (17:03 +0100)
commit831ee63f54959168cf34f12d4590102f40448cc5
tree4fabdfa0231c18c370bad970ddc63ccc86b0463d
parent537a26d6d1d1c04456ec0f0b28f04a7de86af027
lib: Add error checks in dom_sid_string_buf

Also, avoid casts by using PRIxxx macros

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/security/dom_sid.c
source4/auth/sam.c