char ***param_values;
uint32_t share_count, param_count;
- ctx = talloc_init("list");
+ ctx = talloc_stackframe();
if (argc != 0) {
net_conf_list_usage(argc, argv);
struct smbconf_ctx *txt_ctx;
WERROR werr;
- ctx = talloc_init("net_conf_import");
+ ctx = talloc_stackframe();
switch (argc) {
case 0:
char **share_names = NULL;
TALLOC_CTX *ctx;
- ctx = talloc_init("listshares");
+ ctx = talloc_stackframe();
if (argc != 0) {
net_conf_listshares_usage(argc, argv);
char **param_names;
char **param_values;
- ctx = talloc_init("showshare");
+ ctx = talloc_stackframe();
if (argc != 1) {
net_conf_showshare_usage(argc, argv);
char *valstr = NULL;
TALLOC_CTX *ctx;
- ctx = talloc_init("getparm");
+ ctx = talloc_stackframe();
if (argc != 2) {
net_conf_getparm_usage(argc, argv);