/illumos-gate/usr/src/cmd/logins/ |
H A D | logins.c | 108 char *groupname; /* Requested group name */ member 136 char *groupname; /* Name of the group */ member 366 char *groupname; /* Name of the primary group */ member 463 new->groupname = NULL; in adddisp() 568 dp->groupname = strdup(grent->gr_name); in applygroup() 584 if ((dp->groupID == grent->gr_gid) && !dp->groupname) { in applygroup() 588 dp->groupname = p; in applygroup() 612 psecgrp->groupname = p; in applygroup() 858 current->groupname == NULL ? "" : current->groupname, in writeunformatted() 868 psecgrp->groupname, psecgrp->groupID); in writeunformatted() [all …]
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 1071 check_valid_group(sa_group_t group, char *groupname, char *protocol) in check_valid_group() argument 1078 " with protocol %s\n"), groupname, in check_valid_group() 1081 } else if (strcmp(groupname, "default") == 0 && in check_valid_group() 1085 "\"%s\"\n"), groupname, "nfs"); in check_valid_group() 1191 char *groupname; in sa_create() local 1309 groupname = argv[optind]; in sa_create() 1311 auth = check_authorizations(groupname, flags); in sa_create() 1313 group = sa_get_group(handle, groupname); in sa_create() 1316 ret = check_valid_group(group, groupname, protocol); in sa_create() 1322 if (!sa_valid_group_name(groupname)) { in sa_create() [all …]
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 1246 sa_get_group(sa_handle_t handle, char *groupname) in sa_get_group() argument 1254 if (groupname != NULL) { in sa_get_group() 1255 group = strdup(groupname); in sa_get_group() 1269 if (group != NULL || groupname == NULL) in sa_get_group() 1814 char *groupname; in sa_remove_share() local 1820 groupname = sa_get_group_attr(group, "name"); in sa_remove_share() 1858 if (groupname != NULL) in sa_remove_share() 1859 sa_free_attr_string(groupname); in sa_remove_share() 1946 _sa_create_group(sa_handle_impl_t impl_handle, char *groupname) in _sa_create_group() argument 1950 if (sa_valid_group_name(groupname)) { in _sa_create_group() [all …]
|
H A D | libsharecore.c | 409 char *groupname; in adddfsentry() local 414 groupname = sa_get_group_attr(parent, "name"); in adddfsentry() 415 if (groupname != NULL && strcmp(groupname, "default") == 0) { in adddfsentry() 416 sa_free_attr_string(groupname); in adddfsentry() 417 groupname = NULL; in adddfsentry() 421 item->group = groupname; in adddfsentry() 1455 char *groupname; in parse_sharetab_impl() local 1480 (groupname = strchr(tmplist->resource, '@')) != NULL) { in parse_sharetab_impl() 1482 *groupname++ = '\0'; in parse_sharetab_impl() 1483 group = sa_get_group(handle, groupname); in parse_sharetab_impl() [all …]
|
H A D | libshare_zfs.c | 456 find_or_create_group(sa_handle_t handle, char *groupname, char *proto, int *err) in find_or_create_group() argument 468 group = sa_get_group(handle, groupname); in find_or_create_group() 470 group = sa_create_group(handle, groupname, &ret); in find_or_create_group() 501 find_or_create_zfs_subgroup(sa_handle_t handle, char *groupname, char *proto, in find_or_create_zfs_subgroup() argument 516 if (name != NULL && strcmp(name, groupname) == 0) { in find_or_create_zfs_subgroup() 529 group = _sa_create_zfs_group(zfs, groupname); in find_or_create_zfs_subgroup() 937 prep_zfs_handle_and_group(sa_handle_t handle, char *groupname, in prep_zfs_handle_and_group() argument 947 *zfsgroup = find_or_create_group(handle, groupname, NULL, err); in prep_zfs_handle_and_group() 956 sa_get_zfs_shares(sa_handle_t handle, char *groupname) in sa_get_zfs_shares() argument 964 if ((err = prep_zfs_handle_and_group(handle, groupname, &zfs_libhandle, in sa_get_zfs_shares() [all …]
|
H A D | scfutil.c | 1655 char *groupname; in sa_commit_share() local 1668 groupname = sa_get_group_attr(group, "name"); in sa_commit_share() 1669 if (groupname != NULL) { in sa_commit_share() 1670 if (strcmp(groupname, "zfs") == 0) { in sa_commit_share() 1676 sa_free_attr_string(groupname); in sa_commit_share() 1686 if (groupname != NULL && ret == SA_OK) { in sa_commit_share() 1687 ret = sa_get_instance(handle, groupname); in sa_commit_share() 1688 sa_free_attr_string(groupname); in sa_commit_share() 1689 groupname = NULL; in sa_commit_share() 1802 if (groupname != NULL) in sa_commit_share() [all …]
|
/illumos-gate/usr/src/cmd/users/ |
H A D | users.c | 110 char *groupname; member 722 pgrp->groupname = token; in main() 739 (rc = strcmp(token, rgrp->groupname))) in main() 746 pgrp->groupname = token; in main() 833 pgrp->groupname) == 0) { in main() 860 "%s was not found", pgrp->groupname); in main() 867 "%s is not a user group", pgrp->groupname); in main()
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getgrent.c | 314 char groupname[SEARCHFILTERLEN]; in getbynam() local 317 if (_ldap_filter_name(groupname, argp->key.name, sizeof (groupname)) != in getbynam() 322 _F_GETGRNAM, groupname); in getbynam() 326 ret = snprintf(userdata, sizeof (userdata), _F_GETGRNAM_SSD, groupname); in getbynam()
|
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 140 char groupname[MAXGLEN + 1]; in ismember() local 149 (void) snprintf(groupname, MAXGLEN, grp.gr_name); in ismember() 175 (strcmp(member + 1, groupname) == 0 || in ismember() 179 strcmp(member, groupname) == 0) in ismember()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 1936 const char *groupname) in i_ipadm_set_groupname_active() argument 1945 (void) strlcpy(lifr.lifr_groupname, groupname, in i_ipadm_set_groupname_active() 1984 if (groupname[0] == '\0') { in i_ipadm_set_groupname_active() 2013 char *groupname, size_t size) in i_ipadm_get_groupname_active() argument 2025 (void) strlcpy(groupname, lifr.lifr_groupname, size); in i_ipadm_get_groupname_active() 2037 char groupname[LIFGRNAMSIZ]; in i_ipadm_is_under_ipmp() local 2039 if (i_ipadm_get_groupname_active(iph, ifname, groupname, in i_ipadm_is_under_ipmp() 2040 sizeof (groupname)) != IPADM_SUCCESS || in i_ipadm_is_under_ipmp() 2041 groupname[0] == '\0' || in i_ipadm_is_under_ipmp() 2042 strcmp(ifname, groupname) == 0) in i_ipadm_is_under_ipmp()
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 1290 my $groupname; 1298 $groupname = $group; 1299 $groupname =~ s/^!//; 1301 if (!defined(getgrnam($groupname))) { 1305 $groupname]);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/ |
H A D | inetconv.c | 92 char *groupname; member 512 iconf->groupname = safe_strdup(grp->gr_name); in valid_inetconfent() 518 iconf->groupname = safe_malloc(len); in valid_inetconfent() 519 (void) snprintf(iconf->groupname, len, "%d", in valid_inetconfent() 567 free(iconf->groupname); in free_inetconfent() 738 iconf->exec, PR_USER_NAME, iconf->username, iconf->groupname) < 0) in print_manifest()
|
/illumos-gate/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 218 event->adt_newgrp_login.groupname = gname; in put_event()
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | net_include.sh | 163 /sbin/ipmpstat -gP -o groupname,group | while IFS=: read name ifname; do
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-network.p5m | 94 group groupname=netadm gid=65
|
H A D | system-file-system-nfs.p5m | 104 group groupname=unknown gid=96
|
H A D | service-network-smtp-sendmail.p5m | 234 group groupname=smmsp gid=25
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | samrpc.ndl | 1138 samr_string_t groupname;
|