Lines Matching refs:gname
84 * gname: smb
899 char gname[MAXNAMELEN];
923 ret = sa_share_set_prop(group, "gname", buff);
928 (void) strlcpy(gname, buff, MAXNAMELEN);
1006 ret = sa_upgrade_add_nvlist(glist, gname, group);
1011 sa_upgrade_error(ret, "error parsing group %s.", gname);
1061 sa_upgrade_get_config(scfutilhandle_t *handle, nvlist_t *root, char *gname,
1069 if (scf_service_get_instance(handle->service, gname,
1078 "svc:/network/shares/group:%s is not enabled", gname);
1096 "error getting configuration for group %s", gname);
1109 sa_upgrade_delete_config(scfutilhandle_t *handle, char *gname,
1116 if (scf_service_get_instance(handle->service, gname,
1125 "svc:/network/shares/group:%s is not enabled", gname);
1137 sa_upgrade_error(ret, "error deleting group %s", gname);
1361 sa_upgrade_convert_config(nvlist_t *nvl_new, nvlist_t *nvl_old, char *gname)
1396 "error converting group %s to libshare v2 format.", gname);
1408 sa_upgrade_sharing_set(libshare_handle_t *shdl, nvlist_t *share, char *gname)
1421 " %s in group %s.", sa_share_get_name(share), gname);
1431 sa_share_get_name(share), gname);
1455 sa_share_get_name(share), gname);
1476 char *gname)
1494 "error validating share for group %s", gname);
1517 "%s: %s", sname, gname, errbuf);
1534 sname, gname);
1549 "error writing share for group %s", gname);
1560 sname, gname);
1564 ret = sa_upgrade_sharing_set(shdl, share, gname);
1569 sname, gname);
1616 sa_upgrade_smf_share_group(libshare_handle_t *shdl, char *gname,
1626 if ((gname == NULL) || (handle == NULL))
1629 if (strcmp(gname, "zfs") == 0) {
1630 ret = sa_upgrade_delete_config(handle, gname, force_upgrade);
1641 ret = sa_upgrade_get_config(handle, old_nvl, gname, force_upgrade);
1656 ret = sa_upgrade_convert_config(new_nvl, old_nvl, gname);
1666 ret = sa_upgrade_write_config(shdl, new_nvl, gname);
1674 ret = sa_upgrade_delete_config(handle, gname, force_upgrade);