Searched refs:sid_buf_len (Results 1 - 1 of 1) sorted by relevance

/sssd/src/lib/idmap/
H A Dsss_idmap_conv.c167 size_t sid_buf_len; local
177 sid_buf_len = 25 + dom_sid->num_auths * 11;
178 sid_buf = ctx->alloc_func(sid_buf_len, ctx->alloc_pvt);
182 memset(sid_buf, 0, sid_buf_len);
190 nc = snprintf(sid_buf, sid_buf_len, "S-%u-%lu", dom_sid->sid_rev_num,
192 if (nc < 0 || nc >= sid_buf_len) {
204 sid_buf_len -= nc;
206 nc = snprintf(p, sid_buf_len, "-%lu",
208 if (nc < 0 || nc >= sid_buf_len) {

Completed in 8 milliseconds