1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00

r22808: store default buffer size for samr operations in libnet context.

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
This commit is contained in:
Rafal Szczesniak
2007-05-11 21:44:18 +00:00
committed by Gerald (Jerry) Carter
parent c27c0523ac
commit 3e4b0c5b3b
2 changed files with 5 additions and 1 deletions

View File

@@ -47,7 +47,10 @@ struct libnet_context *libnet_context_init(struct event_context *ev)
/* 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;
}