This allows not requiring it as an argument in some function calls
and still enables specifying any size if it's necessary via libnet
context.
rafal
/* connected services' params */
ZERO_STRUCT(ctx->samr);
- ZERO_STRUCT(ctx->lsa);
+ ZERO_STRUCT(ctx->lsa);
+
+ /* default buffer size for various operations requiring specifying a buffer */
+ ctx->samr.buf_size = 128;
return ctx;
}
const char *name;
uint32_t access_mask;
struct policy_handle handle;
+ int buf_size;
} samr;
/* lsa connection parameters - opened handles and related properties */