Home
last modified time | relevance | path

Searched refs:sp_namp (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetspent.c71 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 Dutils.c74 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 Dfiles_attr.c202 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 Dswitch_utils.c546 shadow->sp_namp = bufp = buffer;
/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c162 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 Dpwconv.c81 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 Dshim_changepasswd.c1194 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 Dgetspent.c79 spwd->sp_namp = buffer;
193 spwd->sp_namp, 0);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetspent_r.c90 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 && in getspent_r()
212 shadow->sp_namp = bufp = buffer; in str2spwd()
H A Dputspent.c43 (void) fprintf(f, "%s:%s:", p->sp_namp, in putspent()
/illumos-gate/usr/src/head/
H A Dshadow.h62 char *sp_namp; /* user name */ member
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c327 shpwd.sp_namp = user; in pam_sm_acct_mgmt()
/illumos-gate/usr/src/cmd/passwd/
H A Dpasswd.c1429 (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 Dldapaddent.c3310 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 Dns_writes.c1808 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()