Add dom_sid_string_buf
authorVolker Lendecke <vl@samba.org>
Thu, 3 Mar 2011 15:59:39 +0000 (16:59 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 4 Mar 2011 05:58:37 +0000 (06:58 +0100)
commitd64035043053707dde17d97ef082ebe9e653daea
tree68ed869eca8dbcd76827cae33b51e3ff60f10f2d
parent28fdc60a7f87e0bb6c93c4bfa8a7417abe6745f6
Add dom_sid_string_buf

This prints into a fixed buffer with the same overflow semantics as snprintf
has: Return required string length, regardless of whether it fit or not.
libcli/security/dom_sid.c
libcli/security/dom_sid.h