Home
last modified time | relevance | path

Searched refs:gname (Results 1 – 25 of 28) sorted by relevance

12

/titanic_41/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c173 static int smbadm_setprop_tkowner(char *gname, smbadm_prop_t *prop);
174 static int smbadm_getprop_tkowner(char *gname, smbadm_prop_t *prop);
175 static int smbadm_setprop_backup(char *gname, smbadm_prop_t *prop);
176 static int smbadm_getprop_backup(char *gname, smbadm_prop_t *prop);
177 static int smbadm_setprop_restore(char *gname, smbadm_prop_t *prop);
178 static int smbadm_getprop_restore(char *gname, smbadm_prop_t *prop);
179 static int smbadm_setprop_desc(char *gname, smbadm_prop_t *prop);
180 static int smbadm_getprop_desc(char *gname, smbadm_prop_t *prop);
832 char *gname = NULL; in smbadm_group_create() local
848 gname = argv[optind]; in smbadm_group_create()
[all …]
/titanic_41/usr/src/cmd/newgrp/
H A Dnewgrp.c207 put_event(char *gname, int sorf) in put_event() argument
220 event->adt_newgrp_login.groupname = gname; in put_event()
232 chkgrp(gname, p) in chkgrp() argument
233 char *gname; in chkgrp()
239 g = getgrnam(gname);
243 put_event(gname, ADT_FAILURE);
247 put_event(gname, ADT_SUCCESS);
252 put_event(gname, ADT_SUCCESS);
258 put_event(gname, ADT_FAILURE);
263 put_event(gname, ADT_SUCCESS);
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_lgrp.c269 smb_lgrp_add(char *gname, char *cmnt) in smb_lgrp_add() argument
278 if (!smb_lgrp_normalize_name(gname)) in smb_lgrp_add()
285 grp.sg_name = smb_strlwr(gname); in smb_lgrp_add()
291 wka = smb_wka_lookup_name(gname); in smb_lgrp_add()
293 if ((pxgrp = getgrnam(gname)) == NULL) { in smb_lgrp_add()
294 if (smb_lgrp_pgrp_add(gname) != 0) { in smb_lgrp_add()
299 if ((pxgrp = getgrnam(gname)) == NULL) { in smb_lgrp_add()
367 smb_lgrp_rename(char *gname, char *new_gname) in smb_lgrp_rename() argument
373 if (!smb_lgrp_normalize_name(gname)) in smb_lgrp_rename()
376 if (!smb_lgrp_normalize_name(gname)) in smb_lgrp_rename()
[all …]
H A Dsmb_sam.c465 smb_sam_grp_ismember(const char *gname, smb_sid_t *sid) in smb_sam_grp_ismember() argument
470 if (smb_lgrp_getbyname((char *)gname, &grp) == SMB_LGRP_SUCCESS) { in smb_sam_grp_ismember()
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgexecl.c52 pkgexecl(char *filein, char *fileout, char *uname, char *gname, ...) in pkgexecl() argument
61 va_start(ap, gname); in pkgexecl()
79 return (pkgexecv(filein, fileout, uname, gname, arg)); in pkgexecl()
H A Dpkgexecv.c135 pkgexecv(char *filein, char *fileout, char *uname, char *gname, char *arg[]) in pkgexecv() argument
430 if (gname && *gname && (grp = cgrnam(gname)) != NULL) { in pkgexecv()
H A Dpkglib.h459 extern int pkgexecl(char *filein, char *fileout, char *uname, char *gname,
461 extern int pkgexecv(char *filein, char *fileout, char *uname, char *gname,
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/
H A Dreqexec.c324 char *gname; in do_exec() local
360 gname = CHK_GRP; in do_exec()
363 gname = "other"; /* "other" group name */ in do_exec()
367 gname, instgid); in do_exec()
/titanic_41/usr/src/lib/nsswitch/ldap/common/
H A Dgetgrent.c89 char **gname, **passwd, **gid, *password, *end; in _nss_ldap_group2str() local
114 gname = __ns_ldap_getAttr(result->entry, _G_NAME); in _nss_ldap_group2str()
115 if (gname == NULL || gname[0] == NULL || (strlen(gname[0]) < 1)) { in _nss_ldap_group2str()
144 len = snprintf(buffer, buflen, "%s:%s:%s:", gname[0], password, gid[0]); in _nss_ldap_group2str()
/titanic_41/usr/src/lib/libcmd/common/
H A Did.c210 const char* gname; in getids() local
289 gname = (grp = getgrgid(group)) ? grp->gr_name : (char*)0; in getids()
300 putid(sp, flags, " gid", gname, group); in getids()
366 if ((flags & N_FLAG) && gname) sfputr(sp, gname, '\n'); in getids()
/titanic_41/usr/src/cmd/mailx/
H A Dcmd3.c613 char **ap, *gname, **p; in group() local
633 gname = *argv; in group()
634 h = hash(gname); in group()
635 if ((gh = findgroup(gname)) == NOGRP) { in group()
640 gh->g_name = vcopy(gname); in group()
674 char **ap, *gname; in ungroup() local
686 gname = *ap; in ungroup()
687 h = hash(gname); in ungroup()
690 if (equal(gh->g_name, gname)) { in ungroup()
/titanic_41/usr/src/lib/libast/common/include/
H A Dtar.h106 char gname[TGNMLEN]; member
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dtar.h115 char gname[TGNMLEN]; member
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dtar.h115 char gname[TGNMLEN]; member
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dtar.h115 char gname[TGNMLEN]; member
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dtar.h115 char gname[TGNMLEN]; member
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c221 char gname[MAXHOSTNAMELEN + 1], qual[QUAL_LEN +1]; in gwkludge() local
286 STR(QUAL_LEN)"s\n", net_host, dname, gname, &metric, qual); in gwkludge()
319 if (!gethost(gname, &gate)) { in gwkludge()
321 " entry \"%s\"", gname, lptr); in gwkludge()
421 "remote(%s)", gname); in gwkludge()
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c362 char *gname = ""; in output_file_header() local
383 gname = grp->gr_name; in output_file_header()
420 "%.31s", gname); in output_file_header()
463 "%.31s", gname); in output_file_header()
548 gname); in output_file_header()
/titanic_41/usr/src/ucbcmd/ls/
H A Dls.c685 char gname[32], uname[32], fsize[32], ftime[32]; in fmtlstuff() local
697 (void) sprintf(gname, "%-8s ", cp); in fmtlstuff()
720 p->acl, p->fnl, uname, gflg ? gname : "", fsize, ftime); in fmtlstuff()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c186 int matchcmp(char *gname, char *login, char *given);
1070 matchcmp(char *gname, char *login, char *given) in matchcmp() argument
1078 if (*gname == '\0' && *given == '\0') in matchcmp()
1082 gp = gname; in matchcmp()
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamr_svc.c1481 char *gname; in samr_s_CreateDomainAlias() local
1489 gname = (char *)param->alias_name.str; in samr_s_CreateDomainAlias()
1490 if (gname == NULL) { in samr_s_CreateDomainAlias()
1503 rc = smb_lgrp_add(gname, ""); in samr_s_CreateDomainAlias()
1511 rc = smb_lgrp_getbyname((char *)gname, &grp); in samr_s_CreateDomainAlias()
/titanic_41/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_common.kshlib212 typeset is_set lflag dflag dsname gname gid uname uid opt str code tmp
/titanic_41/usr/src/cmd/ndmpd/include/
H A Dtlm.h410 char gname[32]; member
/titanic_41/usr/src/cmd/find/
H A Dfind.c1665 char pmode[32], uname[32], gname[32], fsize[32], ftime[32]; local
1793 (void) sprintf(gname, "%-8s ", cp);
1795 (void) sprintf(gname, "%-8u ", stp->st_gid);
1835 gname, /* group */
/titanic_41/usr/src/tools/onbld/Scm/
H A DBackup.py186 t.gname = grp.getgrgid(t.gid).gr_name
188 t.gname = "unknown"

12