scfg 146 source4/ntvfs/cifs/vfs_cifs.c struct share_config *scfg = ntvfs->ctx->config;
scfg 155 source4/ntvfs/cifs/vfs_cifs.c host = share_string_option(scfg, CIFS_SERVER, NULL);
scfg 156 source4/ntvfs/cifs/vfs_cifs.c user = share_string_option(scfg, CIFS_USER, NULL);
scfg 157 source4/ntvfs/cifs/vfs_cifs.c pass = share_string_option(scfg, CIFS_PASSWORD, NULL);
scfg 158 source4/ntvfs/cifs/vfs_cifs.c domain = share_string_option(scfg, CIFS_DOMAIN, NULL);
scfg 159 source4/ntvfs/cifs/vfs_cifs.c remote_share = share_string_option(scfg, CIFS_SHARE, NULL);
scfg 164 source4/ntvfs/cifs/vfs_cifs.c machine_account = share_bool_option(scfg, CIFS_USE_MACHINE_ACCT, CIFS_USE_MACHINE_ACCT_DEFAULT);
scfg 248 source4/ntvfs/cifs/vfs_cifs.c p->map_generic = share_bool_option(scfg, CIFS_MAP_GENERIC, CIFS_MAP_GENERIC_DEFAULT);
scfg 250 source4/ntvfs/cifs/vfs_cifs.c p->map_trans2 = share_bool_option(scfg, CIFS_MAP_TRANS2, CIFS_MAP_TRANS2_DEFAULT);
scfg 55 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c struct share_config *scfg = ntvfs->ctx->config;
scfg 61 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c p->connectpath = talloc_strdup(p, share_string_option(scfg, SHARE_PATH, ""));
scfg 88 source4/ntvfs/common/notify.c struct share_config *scfg)
scfg 92 source4/ntvfs/common/notify.c if (share_bool_option(scfg, NOTIFY_ENABLE, NOTIFY_ENABLE_DEFAULT) != true) {
scfg 125 source4/ntvfs/common/notify.c notify->sys_notify_ctx = sys_notify_context_create(scfg, notify, ev);
scfg 42 source4/ntvfs/ipc/rap_server.c struct share_config *scfg;
scfg 64 source4/ntvfs/ipc/rap_server.c if (!NT_STATUS_IS_OK(share_get_config(mem_ctx, sctx, snames[i], &scfg))) {
scfg 72 source4/ntvfs/ipc/rap_server.c r->out.info[i].info1.type = dcesrv_common_get_share_type(mem_ctx, NULL, scfg);
scfg 73 source4/ntvfs/ipc/rap_server.c r->out.info[i].info1.comment = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_COMMENT, ""));
scfg 74 source4/ntvfs/ipc/rap_server.c talloc_free(scfg);
scfg 153 source4/ntvfs/ntvfs_base.c NTSTATUS ntvfs_init_connection(TALLOC_CTX *mem_ctx, struct share_config *scfg, enum ntvfs_type type,
scfg 160 source4/ntvfs/ntvfs_base.c const char **handlers = share_string_list_option(mem_ctx, scfg, SHARE_NTVFS_HANDLER);
scfg 173 source4/ntvfs/ntvfs_base.c ctx->config = talloc_steal(ctx, scfg);
scfg 40 source4/ntvfs/posix/vfs_posix.c struct share_config *scfg = pvfs->ntvfs->ctx->config;
scfg 43 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, SHARE_MAP_HIDDEN, SHARE_MAP_HIDDEN_DEFAULT))
scfg 45 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, SHARE_MAP_ARCHIVE, SHARE_MAP_ARCHIVE_DEFAULT))
scfg 47 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, SHARE_MAP_SYSTEM, SHARE_MAP_SYSTEM_DEFAULT))
scfg 49 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, SHARE_READONLY, SHARE_READONLY_DEFAULT))
scfg 51 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, SHARE_STRICT_SYNC, SHARE_STRICT_SYNC_DEFAULT))
scfg 53 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, SHARE_STRICT_LOCKING, SHARE_STRICT_LOCKING_DEFAULT))
scfg 55 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, SHARE_CI_FILESYSTEM, SHARE_CI_FILESYSTEM_DEFAULT))
scfg 57 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, PVFS_FAKE_OPLOCKS, PVFS_FAKE_OPLOCKS_DEFAULT))
scfg 59 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, PVFS_AIO, false))
scfg 63 source4/ntvfs/posix/vfs_posix.c pvfs->options.create_mask = share_int_option(scfg,
scfg 66 source4/ntvfs/posix/vfs_posix.c pvfs->options.dir_mask = share_int_option(scfg,
scfg 69 source4/ntvfs/posix/vfs_posix.c pvfs->options.force_dir_mode = share_int_option(scfg,
scfg 72 source4/ntvfs/posix/vfs_posix.c pvfs->options.force_create_mode = share_int_option(scfg,
scfg 76 source4/ntvfs/posix/vfs_posix.c pvfs->alloc_size_rounding = share_int_option(scfg,
scfg 80 source4/ntvfs/posix/vfs_posix.c pvfs->search.inactivity_time = share_int_option(scfg,
scfg 85 source4/ntvfs/posix/vfs_posix.c if (share_bool_option(scfg, PVFS_XATTR, PVFS_XATTR_DEFAULT))
scfg 89 source4/ntvfs/posix/vfs_posix.c pvfs->sharing_violation_delay = share_int_option(scfg,
scfg 93 source4/ntvfs/posix/vfs_posix.c pvfs->oplock_break_timeout = share_int_option(scfg,
scfg 97 source4/ntvfs/posix/vfs_posix.c pvfs->writetime_delay = share_int_option(scfg,
scfg 101 source4/ntvfs/posix/vfs_posix.c pvfs->share_name = talloc_strdup(pvfs, scfg->name);
scfg 110 source4/ntvfs/posix/vfs_posix.c eadb = share_string_option(scfg, PVFS_EADB, NULL);
scfg 139 source4/ntvfs/posix/vfs_posix.c pvfs->acl_ops = pvfs_acl_backend_byname(share_string_option(scfg, PVFS_ACL, "xattr"));
scfg 54 source4/ntvfs/simple/vfs_simple.c struct share_config *scfg = ntvfs->ctx->config;
scfg 60 source4/ntvfs/simple/vfs_simple.c p->connectpath = talloc_strdup(p, share_string_option(scfg, SHARE_PATH, ""));
scfg 163 source4/ntvfs/smb2/vfs_smb2.c struct share_config *scfg = ntvfs->ctx->config;
scfg 173 source4/ntvfs/smb2/vfs_smb2.c host = share_string_option(scfg, SMB2_SERVER, NULL);
scfg 174 source4/ntvfs/smb2/vfs_smb2.c user = share_string_option(scfg, SMB2_USER, NULL);
scfg 175 source4/ntvfs/smb2/vfs_smb2.c pass = share_string_option(scfg, SMB2_PASSWORD, NULL);
scfg 176 source4/ntvfs/smb2/vfs_smb2.c domain = share_string_option(scfg, SMB2_DOMAIN, NULL);
scfg 177 source4/ntvfs/smb2/vfs_smb2.c remote_share = share_string_option(scfg, SMB2_SHARE, NULL);
scfg 182 source4/ntvfs/smb2/vfs_smb2.c machine_account = share_bool_option(scfg, SMB2_USE_MACHINE_ACCT, SMB2_USE_MACHINE_ACCT_DEFAULT);
scfg 40 source4/ntvfs/sysdep/sys_lease.c _PUBLIC_ struct sys_lease_context *sys_lease_context_create(struct share_config *scfg,
scfg 68 source4/ntvfs/sysdep/sys_lease.c bname = share_string_option(scfg, LEASE_BACKEND, NULL);
scfg 53 source4/ntvfs/sysdep/sys_lease.h struct sys_lease_context *sys_lease_context_create(struct share_config *scfg,
scfg 41 source4/ntvfs/sysdep/sys_notify.c _PUBLIC_ struct sys_notify_context *sys_notify_context_create(struct share_config *scfg,
scfg 64 source4/ntvfs/sysdep/sys_notify.c bname = share_string_option(scfg, NOTIFY_BACKEND, NULL);
scfg 79 source4/ntvfs/sysdep/sys_notify.c enabled = share_bool_option(scfg, enable_opt_name, true);
scfg 47 source4/ntvfs/sysdep/sys_notify.h struct sys_notify_context *sys_notify_context_create(struct share_config *scfg,
scfg 26 source4/param/share.c const char *share_string_option(struct share_config *scfg, const char *opt_name, const char *defval)
scfg 28 source4/param/share.c return scfg->ctx->ops->string_option(scfg, opt_name, defval);
scfg 31 source4/param/share.c int share_int_option(struct share_config *scfg, const char *opt_name, int defval)
scfg 33 source4/param/share.c return scfg->ctx->ops->int_option(scfg, opt_name, defval);
scfg 36 source4/param/share.c bool share_bool_option(struct share_config *scfg, const char *opt_name, bool defval)
scfg 38 source4/param/share.c return scfg->ctx->ops->bool_option(scfg, opt_name, defval);
scfg 41 source4/param/share.c const char **share_string_list_option(TALLOC_CTX *mem_ctx, struct share_config *scfg, const char *opt_name)
scfg 43 source4/param/share.c return scfg->ctx->ops->string_list_option(mem_ctx, scfg, opt_name);
scfg 51 source4/param/share.c NTSTATUS share_get_config(TALLOC_CTX *mem_ctx, struct share_context *sctx, const char *name, struct share_config **scfg)
scfg 53 source4/param/share.c return sctx->ops->get_config(mem_ctx, sctx, name, scfg);
scfg 44 source4/param/share_classic.c static const char *sclassic_string_option(struct share_config *scfg,
scfg 48 source4/param/share_classic.c struct loadparm_service *s = talloc_get_type(scfg->opaque,
scfg 50 source4/param/share_classic.c struct loadparm_context *lp_ctx = talloc_get_type(scfg->ctx->priv_data,
scfg 56 source4/param/share_classic.c parm = talloc_strdup(scfg, opt_name);
scfg 73 source4/param/share_classic.c return scfg->name;
scfg 108 source4/param/share_classic.c static int sclassic_int_option(struct share_config *scfg, const char *opt_name, int defval)
scfg 110 source4/param/share_classic.c struct loadparm_service *s = talloc_get_type(scfg->opaque,
scfg 112 source4/param/share_classic.c struct loadparm_context *lp_ctx = talloc_get_type(scfg->ctx->priv_data,
scfg 118 source4/param/share_classic.c parm = talloc_strdup(scfg, opt_name);
scfg 165 source4/param/share_classic.c static bool sclassic_bool_option(struct share_config *scfg, const char *opt_name,
scfg 168 source4/param/share_classic.c struct loadparm_service *s = talloc_get_type(scfg->opaque,
scfg 170 source4/param/share_classic.c struct loadparm_context *lp_ctx = talloc_get_type(scfg->ctx->priv_data,
scfg 176 source4/param/share_classic.c parm = talloc_strdup(scfg, opt_name);
scfg 239 source4/param/share_classic.c static const char **sclassic_string_list_option(TALLOC_CTX *mem_ctx, struct share_config *scfg, const char *opt_name)
scfg 241 source4/param/share_classic.c struct loadparm_service *s = talloc_get_type(scfg->opaque,
scfg 243 source4/param/share_classic.c struct loadparm_context *lp_ctx = talloc_get_type(scfg->ctx->priv_data,
scfg 249 source4/param/share_classic.c parm = talloc_strdup(scfg, opt_name);
scfg 315 source4/param/share_classic.c struct share_config **scfg)
scfg 342 source4/param/share_classic.c *scfg = s;
scfg 59 source4/param/share_ldb.c static const char *sldb_string_option(struct share_config *scfg, const char *opt_name, const char *defval)
scfg 64 source4/param/share_ldb.c if (scfg == NULL) return defval;
scfg 66 source4/param/share_ldb.c msg = talloc_get_type(scfg->opaque, struct ldb_message);
scfg 71 source4/param/share_ldb.c name = talloc_strdup(scfg, opt_name);
scfg 90 source4/param/share_ldb.c static int sldb_int_option(struct share_config *scfg, const char *opt_name, int defval)
scfg 95 source4/param/share_ldb.c val = sldb_string_option(scfg, opt_name, NULL);
scfg 105 source4/param/share_ldb.c static bool sldb_bool_option(struct share_config *scfg, const char *opt_name, bool defval)
scfg 109 source4/param/share_ldb.c val = sldb_string_option(scfg, opt_name, NULL);
scfg 117 source4/param/share_ldb.c static const char **sldb_string_list_option(TALLOC_CTX *mem_ctx, struct share_config *scfg, const char *opt_name)
scfg 124 source4/param/share_ldb.c if (scfg == NULL) return NULL;
scfg 126 source4/param/share_ldb.c msg = talloc_get_type(scfg->opaque, struct ldb_message);
scfg 131 source4/param/share_ldb.c name = talloc_strdup(scfg, opt_name);
scfg 210 source4/param/share_ldb.c struct share_config **scfg)
scfg 260 source4/param/share_ldb.c *scfg = talloc_steal(mem_ctx, s);
scfg 28 source4/rpc_server/common/common.h enum srvsvc_ShareType dcesrv_common_get_share_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg);
scfg 32 source4/rpc_server/common/common.h uint32_t dcesrv_common_get_share_permissions(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg);
scfg 33 source4/rpc_server/common/common.h uint32_t dcesrv_common_get_share_current_users(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg);
scfg 34 source4/rpc_server/common/common.h const char *dcesrv_common_get_share_path(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg);
scfg 34 source4/rpc_server/common/share_info.c uint32_t dcesrv_common_get_share_permissions(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg)
scfg 40 source4/rpc_server/common/share_info.c uint32_t dcesrv_common_get_share_current_users(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg)
scfg 46 source4/rpc_server/common/share_info.c enum srvsvc_ShareType dcesrv_common_get_share_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg)
scfg 59 source4/rpc_server/common/share_info.c if (!share_bool_option(scfg, SHARE_BROWSEABLE, SHARE_BROWSEABLE_DEFAULT)) {
scfg 63 source4/rpc_server/common/share_info.c sharetype = share_string_option(scfg, SHARE_TYPE, SHARE_TYPE_DEFAULT);
scfg 80 source4/rpc_server/common/share_info.c const char *dcesrv_common_get_share_path(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg)
scfg 85 source4/rpc_server/common/share_info.c sharetype = share_string_option(scfg, SHARE_TYPE, SHARE_TYPE_DEFAULT);
scfg 91 source4/rpc_server/common/share_info.c p = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_PATH, ""));
scfg 104 source4/rpc_server/common/share_info.c uint32_t dcesrv_common_get_share_dfs_flags(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg)
scfg 110 source4/rpc_server/common/share_info.c struct security_descriptor *dcesrv_common_get_security_descriptor(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg)
scfg 627 source4/rpc_server/srvsvc/dcesrv_srvsvc.c struct share_config *scfg, uint32_t level,
scfg 635 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info0->name = talloc_strdup(mem_ctx, scfg->name);
scfg 642 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info1->name = talloc_strdup(mem_ctx, scfg->name);
scfg 644 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info1->type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 645 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info1->comment = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_COMMENT, ""));
scfg 652 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->name = talloc_strdup(mem_ctx, scfg->name);
scfg 654 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 655 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->comment = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_COMMENT, ""));
scfg 657 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->permissions = dcesrv_common_get_share_permissions(mem_ctx, dce_ctx, scfg);
scfg 658 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->max_users = share_int_option(scfg, SHARE_MAX_CONNECTIONS, SHARE_MAX_CONNECTIONS_DEFAULT);
scfg 659 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->current_users = dcesrv_common_get_share_current_users(mem_ctx, dce_ctx, scfg);
scfg 660 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->path = dcesrv_common_get_share_path(mem_ctx, dce_ctx, scfg);
scfg 662 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info2->password = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_PASSWORD, NULL));
scfg 668 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info501->name = talloc_strdup(mem_ctx, scfg->name);
scfg 670 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info501->type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 671 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info501->comment = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_COMMENT, ""));
scfg 673 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info501->csc_policy = share_int_option(scfg, SHARE_CSC_POLICY, SHARE_CSC_POLICY_DEFAULT);
scfg 679 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->name = talloc_strdup(mem_ctx, scfg->name);
scfg 681 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 682 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->comment = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_COMMENT, ""));
scfg 684 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->permissions = dcesrv_common_get_share_permissions(mem_ctx, dce_ctx, scfg);
scfg 685 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->max_users = share_int_option(scfg, SHARE_MAX_CONNECTIONS, SHARE_MAX_CONNECTIONS_DEFAULT);
scfg 686 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->current_users = dcesrv_common_get_share_current_users(mem_ctx, dce_ctx, scfg);
scfg 687 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->path = dcesrv_common_get_share_path(mem_ctx, dce_ctx, scfg);
scfg 689 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->password = talloc_strdup(mem_ctx, share_string_option(scfg, SHARE_PASSWORD, NULL));
scfg 690 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info502->sd_buf.sd = dcesrv_common_get_security_descriptor(mem_ctx, dce_ctx, scfg);
scfg 696 source4/rpc_server/srvsvc/dcesrv_srvsvc.c info->info1005->dfs_flags = dcesrv_common_get_share_dfs_flags(mem_ctx, dce_ctx, scfg);
scfg 717 source4/rpc_server/srvsvc/dcesrv_srvsvc.c struct share_config *scfg;
scfg 758 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 764 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 768 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 799 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 805 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 809 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 843 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 849 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 853 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 887 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 893 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 897 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 931 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 937 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 941 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 966 source4/rpc_server/srvsvc/dcesrv_srvsvc.c struct share_config *scfg = NULL;
scfg 982 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, r->in.share_name, &scfg);
scfg 996 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.level, &info);
scfg 1012 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.level, &info);
scfg 1030 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.level, &info);
scfg 1046 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.level, &info);
scfg 1064 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.level, &info);
scfg 1080 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.level, &info);
scfg 1384 source4/rpc_server/srvsvc/dcesrv_srvsvc.c struct share_config *scfg = NULL;
scfg 1422 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, names[i], &scfg);
scfg 1426 source4/rpc_server/srvsvc/dcesrv_srvsvc.c path = share_string_option(scfg, SHARE_PATH, NULL);
scfg 1430 source4/rpc_server/srvsvc/dcesrv_srvsvc.c type = share_string_option(scfg, SHARE_TYPE, NULL);
scfg 1816 source4/rpc_server/srvsvc/dcesrv_srvsvc.c struct share_config *scfg;
scfg 1861 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 1867 source4/rpc_server/srvsvc/dcesrv_srvsvc.c type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 1870 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 1875 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 1877 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 1913 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 1919 source4/rpc_server/srvsvc/dcesrv_srvsvc.c type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 1922 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 1927 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 1929 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 1967 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 1973 source4/rpc_server/srvsvc/dcesrv_srvsvc.c type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 1976 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 1981 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 1983 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 2021 source4/rpc_server/srvsvc/dcesrv_srvsvc.c nterr = share_get_config(mem_ctx, sctx, snames[i], &scfg);
scfg 2027 source4/rpc_server/srvsvc/dcesrv_srvsvc.c type = dcesrv_common_get_share_type(mem_ctx, dce_ctx, scfg);
scfg 2030 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 2035 source4/rpc_server/srvsvc/dcesrv_srvsvc.c status = dcesrv_srvsvc_fiel_ShareInfo(dce_call, mem_ctx, scfg, r->in.info_ctr->level, &info);
scfg 2037 source4/rpc_server/srvsvc/dcesrv_srvsvc.c talloc_free(scfg);
scfg 62 source4/rpc_server/srvsvc/srvsvc_ntvfs.c struct share_config *scfg;
scfg 70 source4/rpc_server/srvsvc/srvsvc_ntvfs.c status = share_get_config(mem_ctx, sctx, share, &scfg);
scfg 78 source4/rpc_server/srvsvc/srvsvc_ntvfs.c scfg->name,
scfg 79 source4/rpc_server/srvsvc/srvsvc_ntvfs.c share_string_list_option(scfg, SHARE_HOSTS_ALLOW),
scfg 80 source4/rpc_server/srvsvc/srvsvc_ntvfs.c share_string_list_option(scfg, SHARE_HOSTS_DENY))) {
scfg 86 source4/rpc_server/srvsvc/srvsvc_ntvfs.c sharetype = share_string_option(scfg, SHARE_TYPE, SHARE_TYPE_DEFAULT);
scfg 99 source4/rpc_server/srvsvc/srvsvc_ntvfs.c status = ntvfs_init_connection(c, scfg, type,
scfg 109 source4/rpc_server/srvsvc/srvsvc_ntvfs.c scfg->name));
scfg 131 source4/rpc_server/srvsvc/srvsvc_ntvfs.c status = ntvfs_connect(ntvfs_req, scfg->name);
scfg 32 source4/smb_server/smb/service.c struct share_config *scfg,
scfg 41 source4/smb_server/smb/service.c tcon = smbsrv_smb_tcon_new(req->smb_conn, scfg->name);
scfg 53 source4/smb_server/smb/service.c status = ntvfs_init_connection(tcon, scfg, type,
scfg 63 source4/smb_server/smb/service.c scfg->name));
scfg 102 source4/smb_server/smb/service.c status = ntvfs_connect(req->ntvfs, scfg->name);
scfg 128 source4/smb_server/smb/service.c struct share_config *scfg;
scfg 140 source4/smb_server/smb/service.c status = share_get_config(req, req->smb_conn->share_context, service, &scfg);
scfg 149 source4/smb_server/smb/service.c scfg->name,
scfg 150 source4/smb_server/smb/service.c share_string_list_option(req, scfg, SHARE_HOSTS_ALLOW),
scfg 151 source4/smb_server/smb/service.c share_string_list_option(req, scfg, SHARE_HOSTS_DENY))) {
scfg 156 source4/smb_server/smb/service.c sharetype = share_string_option(scfg, "type", "DISK");
scfg 173 source4/smb_server/smb/service.c return make_connection_scfg(req, scfg, type, password, dev);
scfg 246 source4/smb_server/smb2/tcon.c struct share_config *scfg;
scfg 257 source4/smb_server/smb2/tcon.c status = share_get_config(req, req->smb_conn->share_context, service, &scfg);
scfg 264 source4/smb_server/smb2/tcon.c scfg->name,
scfg 265 source4/smb_server/smb2/tcon.c share_string_list_option(req, scfg, SHARE_HOSTS_ALLOW),
scfg 266 source4/smb_server/smb2/tcon.c share_string_list_option(req, scfg, SHARE_HOSTS_DENY))) {
scfg 271 source4/smb_server/smb2/tcon.c sharetype = share_string_option(scfg, SHARE_TYPE, "DISK");
scfg 280 source4/smb_server/smb2/tcon.c tcon = smbsrv_smb2_tcon_new(req->session, scfg->name);
scfg 290 source4/smb_server/smb2/tcon.c status = ntvfs_init_connection(tcon, scfg, type,
scfg 300 source4/smb_server/smb2/tcon.c scfg->name));
scfg 339 source4/smb_server/smb2/tcon.c status = ntvfs_connect(req->ntvfs, scfg->name);