Home
last modified time | relevance | path

Searched refs:groupname (Results 1 – 16 of 16) sorted by relevance

/titanic_51/usr/src/cmd/logins/
H A Dlogins.c111 char *groupname; /* Requested group name */ member
139 char *groupname; /* Name of the group */ member
369 char *groupname; /* Name of the primary group */ member
466 new->groupname = NULL; in adddisp()
571 dp->groupname = strdup(grent->gr_name); in applygroup()
587 if ((dp->groupID == grent->gr_gid) && !dp->groupname) { in applygroup()
591 dp->groupname = p; in applygroup()
615 psecgrp->groupname = p; in applygroup()
861 current->groupname == NULL ? "" : current->groupname, in writeunformatted()
[all...]
/titanic_51/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c1066 check_valid_group(sa_group_t group, char *groupname, char *protocol) in check_valid_group() argument
1073 " with protocol %s\n"), groupname, in check_valid_group()
1076 } else if (strcmp(groupname, "default") == 0 && in check_valid_group()
1080 "\"%s\"\n"), groupname, "nfs"); in check_valid_group()
1186 char *groupname; in sa_create() local
1304 groupname = argv[optind]; in sa_create()
1306 auth = check_authorizations(groupname, flags); in sa_create()
1308 group = sa_get_group(handle, groupname); in sa_create()
1311 ret = check_valid_group(group, groupname, protocol); in sa_create()
1317 if (!sa_valid_group_name(groupname)) { in sa_create()
1431 char *groupname; sa_delete() local
2170 char *groupname; show_group() local
3276 char *groupname = NULL; sa_set_share() local
3672 basic_set(sa_handle_t handle,char * groupname,struct options * optlist,char * protocol,char * sharepath,char * rsrcname,int dryrun) basic_set() argument
3791 space_set(sa_handle_t handle,char * groupname,struct options * optlist,char * protocol,char * sharepath,int dryrun,char * sectype) space_set() argument
3885 char *groupname; sa_set() local
4198 basic_unset(sa_handle_t handle,char * groupname,struct options * optlist,char * protocol,char * sharepath,char * rsrcname,int dryrun) basic_unset() argument
4321 space_unset(sa_handle_t handle,char * groupname,struct options * optlist,char * protocol,char * sharepath,int dryrun,char * sectype) space_unset() argument
4420 char *groupname; sa_unset() local
5325 char *groupname; out_share() local
5433 char *groupname = NULL; sa_legacy_share() local
[all...]
/titanic_51/usr/src/lib/libshare/common/
H A Dlibshare.c1131 /* if no groupname, return the first found */ in find_group_by_name()
1149 * sa_get_group(groupname)
1150 * Return the "group" specified. If groupname is NULL,
1154 sa_get_group(sa_handle_t handle, char *groupname) in sa_get_group() argument
1162 if (groupname != NULL) { in sa_get_group()
1163 group = strdup(groupname); in sa_get_group()
1173 * NULL, we only do the find if groupname is also in sa_get_group()
1177 if (group != NULL || groupname == NULL) in sa_get_group()
1722 char *groupname; in sa_remove_share() local
1728 groupname in sa_remove_share()
1854 _sa_create_group(sa_handle_impl_t impl_handle,char * groupname) _sa_create_group() argument
1879 _sa_create_zfs_group(sa_group_t group,char * groupname) _sa_create_zfs_group() argument
1904 sa_create_group(sa_handle_t handle,char * groupname,int * error) sa_create_group() argument
2121 char *groupname; sa_set_group_attr() local
2657 char *groupname; sa_create_optionset() local
2891 char *groupname = NULL; sa_create_security() local
3120 char *groupname = NULL; sa_set_prop_by_prop() local
[all...]
H A Dlibsharecore.c284 /* resource and/or groupname */ in getdfstab()
408 char *groupname; in adddfsentry() local
413 groupname = sa_get_group_attr(parent, "name"); in adddfsentry()
414 if (groupname != NULL && strcmp(groupname, "default") == 0) { in adddfsentry()
415 sa_free_attr_string(groupname); in adddfsentry()
416 groupname = NULL; in adddfsentry()
420 item->group = groupname; in adddfsentry()
1451 char *groupname; in parse_sharetab() local
1485 (groupname in parse_sharetab()
1958 char *groupname = NULL; sa_fillshare() local
[all...]
H A Dscfutil.c1656 char *groupname; in sa_commit_share() local
1669 groupname = sa_get_group_attr(group, "name"); in sa_commit_share()
1670 if (groupname != NULL) { in sa_commit_share()
1671 if (strcmp(groupname, "zfs") == 0) { in sa_commit_share()
1677 sa_free_attr_string(groupname); in sa_commit_share()
1687 if (groupname != NULL && ret == SA_OK) { in sa_commit_share()
1688 ret = sa_get_instance(handle, groupname); in sa_commit_share()
1689 sa_free_attr_string(groupname); in sa_commit_share()
1690 groupname = NULL; in sa_commit_share()
1803 if (groupname ! in sa_commit_share()
1862 char *groupname = NULL; sa_delete_share() local
[all...]
H A Dlibshare_zfs.c401 * find_or_create_group(handle, groupname, proto, *err)
412 find_or_create_group(sa_handle_t handle, char *groupname, char *proto, int *err) in find_or_create_group() argument
424 group = sa_get_group(handle, groupname); in find_or_create_group()
426 group = sa_create_group(handle, groupname, &ret); in find_or_create_group()
445 * find_or_create_zfs_subgroup(groupname, optstring, *err)
448 * function looks to see if the groupname exists and returns it if it
457 find_or_create_zfs_subgroup(sa_handle_t handle, char *groupname, char *proto, in find_or_create_zfs_subgroup() argument
472 if (name != NULL && strcmp(name, groupname) == 0) { in find_or_create_zfs_subgroup()
485 group = _sa_create_zfs_group(zfs, groupname); in find_or_create_zfs_subgroup()
728 * sa_get_zfs_shares(handle, groupname)
744 sa_get_zfs_shares(sa_handle_t handle,char * groupname) sa_get_zfs_shares() argument
[all...]
/titanic_51/usr/src/cmd/users/
H A Dusers.c112 char *groupname; member
724 pgrp->groupname = token; in main()
740 (rc = strcmp(token, rgrp->groupname))) in main()
747 pgrp->groupname = token; in main()
835 pgrp->groupname) == 0) { in main()
862 "%s was not found", pgrp->groupname); in main()
869 "%s is not a user group", pgrp->groupname); in main()
/titanic_51/usr/src/lib/nsswitch/ldap/common/
H A Dgetgrent.c211 char groupname[SEARCHFILTERLEN]; in getbynam() local
214 if (_ldap_filter_name(groupname, argp->key.name, sizeof (groupname)) != in getbynam()
219 _F_GETGRNAM, groupname); in getbynam()
223 ret = snprintf(userdata, sizeof (userdata), _F_GETGRNAM_SSD, groupname); in getbynam()
/titanic_51/usr/src/lib/libproject/common/
H A Dgetprojent.c133 * (i.e., user_attr, "default", "user.username", or "group.groupname"
142 char groupname[MAXGLEN + 1]; in ismember() local
151 (void) snprintf(groupname, MAXGLEN, grp.gr_name); in ismember()
177 (strcmp(member + 1, groupname) == 0 || in ismember()
181 strcmp(member, groupname) == 0) in ismember()
232 * Check user.{username} and group.{groupname} projects in _getdefaultproj()
315 * 4. Check if this is a special "group.groupname" project. in _inproj()
317 * User "username" with default group "groupname" is considered in _inproj()
318 * to be a member of project "group.groupname" even if project's in _inproj()
319 * group list does not include "groupname" in _inproj()
[all...]
/titanic_51/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm1280 # Verifies that each groupname is either a valid glob, such
1290 my $groupname;
1298 $groupname = $group;
1299 $groupname =~ s/^!//;
1301 if (!defined(getgrnam($groupname))) {
1305 $groupname]);
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c92 char *groupname; member
503 /* look up the username to set the groupname */ in valid_inetconfent()
512 iconf->groupname = safe_strdup(grp->gr_name); in valid_inetconfent()
514 /* use the group ID if no groupname */ 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()
/titanic_51/usr/src/cmd/newgrp/
H A Dnewgrp.c220 event->adt_newgrp_login.groupname = gname; in put_event()
/titanic_51/usr/src/cmd/svc/shell/
H A Dnet_include.sh157 # get_groupifname groupname
163 /sbin/ipmpstat -gP -o groupname,group | while IFS=: read name ifname; do
172 # create_ipmp ifname groupname type
186 # create_groupifname groupname type
/titanic_51/usr/src/pkg/manifests/
H A Dsystem-network.mf91 group groupname=netadm gid=65
H A Dsystem-file-system-nfs.mf103 group groupname=unknown gid=96
/titanic_51/usr/src/uts/common/smbsrv/ndl/
H A Dsamrpc.ndl1111 samr_string_t groupname;