****************************************************************************/
void security_token_debug(int dbg_class, int dbg_lev, const struct security_token *token)
{
- TALLOC_CTX *mem_ctx;
uint32_t i;
if (!token) {
return;
}
- mem_ctx = talloc_init("security_token_debug()");
- if (!mem_ctx) {
- return;
- }
-
DEBUGC(dbg_class, dbg_lev, ("Security token SIDs (%lu):\n",
(unsigned long)token->num_sids));
for (i = 0; i < token->num_sids; i++) {
}
security_token_debug_privileges(dbg_class, dbg_lev, token);
-
- talloc_free(mem_ctx);
}
/* These really should be cheaper... */