/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getspent.c | 71 return (s->sp_namp); 80 return (strcmp(s->sp_namp, argp->key.name) == 0); 109 size_t namelen = strlen(sp->sp_namp) + 1; 116 if (sp->sp_namp != argp->buf.buffer) { 118 sp->sp_namp, namelen); 119 sp->sp_namp = argp->buf.buffer; 160 "%s:%s:%s:%s:%s:%s:%s:%s:%s", sp->sp_namp,
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | utils.c | 74 if (spw->sp_namp) free(spw->sp_namp); in free_spwd() 133 if (s->sp_namp) in dup_spw() 134 if (((*d)->sp_namp = strdup(s->sp_namp)) == NULL) in dup_spw()
|
H A D | files_attr.c | 202 if (strcmp(name, result->sp_namp) == 0) in private_getspnam_r() 956 if (strcmp(cur.sp_namp, name) == 0) in files_update_shadow()
|
H A D | switch_utils.c | 546 shadow->sp_namp = bufp = buffer;
|
/illumos-gate/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 162 if (strcmp(sp->sp_namp, name) == 0) in local_getspnam() 346 shadow_st.sp_namp = nullstr; /* no name */ in main() 394 shadow_st.sp_namp = optarg; in main() 627 shadow_st.sp_namp = argv [optind]; in main() 1064 strcmp(lognamp, shadow_st.sp_namp) != 0 && in main() 1065 strcmp(sp_ptr1p->sp_namp, shadow_st.sp_namp) == 0) { in main() 1070 if (strcmp(lognamp, sp_ptr1p->sp_namp) == 0) { in main() 1079 sp_ptr1p->sp_namp = shadow_st.sp_namp; in main() 1097 p = strchr("+-", sp_ptr1p->sp_namp[0]); in main() 1636 if (((int)strlen(ssp->sp_namp) + 1 + in ck_s_sz()
|
/illumos-gate/usr/src/cmd/pwconv/ |
H A D | pwconv.c | 81 if (strcmp(sp->sp_namp, name) == 0) in local_getspnam() 241 sp->sp_namp = pwdp->pw_name; in main() 248 prognamp, sp->sp_namp); in main() 316 prognamp, sp->sp_namp); in main()
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 1194 sp->sp_namp = NULL; in get_old_shadow() 1224 if (NULL == (p = get_next_token(data->dptr, &(sp->sp_namp), str_end))) in decode_shadow_entry() 1286 len = strlen(sp->sp_namp) + 1; in write_shadow_info() 1303 sp->sp_namp, COLON_CHAR, in write_shadow_info() 1315 key.dptr = sp->sp_namp; in write_shadow_info() 1335 if (NULL != spwd->sp_namp) in free_shadow_entry() 1336 sfree(spwd->sp_namp); in free_shadow_entry()
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getspent.c | 79 spwd->sp_namp = buffer; 193 spwd->sp_namp, 0);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getspent_r.c | 90 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 && in getspent_r() 212 shadow->sp_namp = bufp = buffer; in str2spwd()
|
H A D | putspent.c | 43 (void) fprintf(f, "%s:%s:", p->sp_namp, in putspent()
|
/illumos-gate/usr/src/head/ |
H A D | shadow.h | 62 char *sp_namp; /* user name */ member
|
/illumos-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 327 shpwd.sp_namp = user; in pam_sm_acct_mgmt()
|
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 1429 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 && in _lc_getspent_r() 1461 if ((nl[nuser] = strdup(p->sp_namp)) == NULL) { in get_namelist_local()
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 3310 data.sp_namp = strdup(ecol[0].ec_value.ec_value_val); in genent_shadow() 3428 gettext("Adding entry : %s\n"), data.sp_namp); in genent_shadow() 3435 "add passwd entry first\n"), data.sp_namp); in genent_shadow() 3440 free(data.sp_namp); in genent_shadow()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_writes.c | 1808 if (ptr->sp_namp == NULL) { in __s_cvt_shadow() 1815 (void) snprintf(trdn, RDNSIZE, "uid=%s", ptr->sp_namp); in __s_cvt_shadow() 1824 rc = __s_add_attr(e, "uid", ptr->sp_namp); in __s_cvt_shadow()
|