Home
last modified time | relevance | path

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

/titanic_50/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,
/titanic_50/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.c198 if (strcmp(name, result->sp_namp) == 0) in private_getspnam_r()
951 if (strcmp(cur.sp_namp, name) == 0) in files_update_shadow()
H A Dswitch_utils.c546 shadow->sp_namp = bufp = buffer;
/titanic_50/usr/src/cmd/passmgmt/
H A Dpassmgmt.c162 if (strcmp(sp->sp_namp, name) == 0) in local_getspnam()
344 shadow_st.sp_namp = nullstr; /* no name */ in main()
392 shadow_st.sp_namp = optarg; in main()
625 shadow_st.sp_namp = argv [optind]; in main()
1062 strcmp(lognamp, shadow_st.sp_namp) != 0 && in main()
1063 strcmp(sp_ptr1p->sp_namp, shadow_st.sp_namp) == 0) { in main()
1068 if (strcmp(lognamp, sp_ptr1p->sp_namp) == 0) { in main()
1077 sp_ptr1p->sp_namp = shadow_st.sp_namp; in main()
1095 p = strchr("+-", sp_ptr1p->sp_namp[0]); in main()
1634 if (((int)strlen(ssp->sp_namp) + 1 + in ck_s_sz()
/titanic_50/usr/src/cmd/pwconv/
H A Dpwconv.c83 if (strcmp(sp->sp_namp, name) == 0) in local_getspnam()
244 sp->sp_namp = pwdp->pw_name; in main()
250 prognamp, sp->sp_namp); in main()
315 prognamp, sp->sp_namp); in main()
/titanic_50/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c81 spwd->sp_namp = buffer;
195 spwd->sp_namp, 0);
/titanic_50/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()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dgetspent_r.c91 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 && in getspent_r()
213 shadow->sp_namp = bufp = buffer; in str2spwd()
H A Dputspent.c45 (void) fprintf(f, "%s:%s:", p->sp_namp, in putspent()
/titanic_50/usr/src/head/
H A Dshadow.h62 char *sp_namp; /* user name */ member
/titanic_50/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c326 shpwd.sp_namp = user; in pam_sm_acct_mgmt()
/titanic_50/usr/src/cmd/passwd/
H A Dpasswd.c1427 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 && in _lc_getspent_r()
1459 if ((nl[nuser] = strdup(p->sp_namp)) == NULL) { in get_namelist_local()
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c3308 data.sp_namp = strdup(ecol[0].ec_value.ec_value_val); in genent_shadow()
3426 gettext("Adding entry : %s\n"), data.sp_namp); in genent_shadow()
3433 "add passwd entry first\n"), data.sp_namp); in genent_shadow()
3438 free(data.sp_namp); in genent_shadow()
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_writes.c1806 if (ptr->sp_namp == NULL) { in __s_cvt_shadow()
1813 (void) snprintf(trdn, RDNSIZE, "uid=%s", ptr->sp_namp); in __s_cvt_shadow()
1822 rc = __s_add_attr(e, "uid", ptr->sp_namp); in __s_cvt_shadow()