Lines Matching refs:smb
52 #include <smbsrv/smb.h>
1487 * Don't process groups on which the smb protocol is disabled.
1488 * The top level ZFS group won't have the smb protocol enabled
1807 * This is a no-op if the smb service is in Workgroup mode.
1846 * Publishing won't be activated if the smb service is running in
2376 nvlist_t *smb;
2390 if ((rc = nvlist_alloc(&smb, NV_UNIQUE_NAME, 0)) != 0) {
2401 /* smb protocol properties */
2402 rc = nvlist_add_string(smb, SHOPT_AD_CONTAINER, si->shr_container);
2404 rc |= nvlist_add_string(smb, SHOPT_NONE, si->shr_access_none);
2406 rc |= nvlist_add_string(smb, SHOPT_RO, si->shr_access_ro);
2408 rc |= nvlist_add_string(smb, SHOPT_RW, si->shr_access_rw);
2411 rc |= nvlist_add_string(smb, SHOPT_ABE, "true");
2413 rc |= nvlist_add_string(smb, SHOPT_CATIA, "true");
2415 rc |= nvlist_add_string(smb, SHOPT_GUEST, "true");
2417 rc |= nvlist_add_string(smb, SHOPT_DFSROOT, "true");
2420 rc |= nvlist_add_string(smb, "Autohome", "true");
2421 rc |= nvlist_add_uint32(smb, "uid", si->shr_uid);
2422 rc |= nvlist_add_uint32(smb, "gid", si->shr_gid);
2426 rc |= nvlist_add_string(smb, SHOPT_CSC, csc);
2428 rc |= nvlist_add_uint32(smb, "type", si->shr_type);
2430 rc |= nvlist_add_nvlist(share, "smb", smb);
2434 nvlist_free(smb);