Lines Matching defs:gid
31 const char *name, const char *domain, gid_t gid)
39 buflen = snprintf(NULL, 0, "%s@%s::%u:", name, domain, gid) + 1;
53 (void) snprintf(buffer, buflen, "%s@%s::%u:", name, domain, gid);
72 gid_t gid;
88 * Map the name to gid using idmap service.
91 is_user = 0; /* Map name to gid */
93 0, &is_user, &is_wuser, &gid, NULL, NULL, NULL);
100 if (update_buffer(be, argp, name, dname, gid) < 0)
127 if (argp->key.gid <= MAXUID)
131 if (idmap_get_u2w_mapping(&argp->key.gid, NULL, 0,
146 if (update_buffer(be, argp, winname, windomain, argp->key.gid) < 0)