Searched refs:spwd (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/passwdutil/
H A Dutils.h38 int dup_spw(struct spwd **, struct spwd *);
40 void free_spwd(struct spwd *);
42 void setchg_time(struct spwd *);
H A Dnss_attr.c67 struct spwd *spwd; member in struct:pwbuf
117 if (pwbuf->spwd)
118 free(pwbuf->spwd);
135 if (pwbuf->spwd == NULL)
136 pwbuf->spwd = (struct spwd *)
137 malloc(sizeof (struct spwd));
138 if (pwbuf->spwd == NULL) {
170 if (pwbuf->spwd) {
[all...]
H A Dfiles_attr.c81 struct spwd *spwd; member in struct:pwbuf
177 struct spwd *
178 private_getspnam_r(const char *name, struct spwd *result, char *buffer,
260 if (pwbuf->spwd == NULL) {
261 pwbuf->spwd = malloc(sizeof (struct spwd));
262 if (pwbuf->spwd == NULL) {
289 if (pwbuf->spwd) {
294 if (private_getspnam_r(name, pwbuf->spwd, pwbu
927 files_update_shadow(char *name, struct spwd *spwd) argument
[all...]
H A Dutils.c75 free_spwd(struct spwd *spw)
125 dup_spw(struct spwd **d, struct spwd *s)
167 turn_on_default_aging(struct spwd *spw)
259 setchg_time(struct spwd *spw)
H A Dpasswdutil.h135 void turn_on_default_aging(struct spwd *);
153 struct spwd *getspnam_from(const char *, pwu_repository_t *, int);
H A Dswitch_utils.c520 void *ent; /* really (struct spwd *) */
524 struct spwd *shadow = (struct spwd *)ent;
678 NSS_XbyY_ALLOC(&spbuf, sizeof (struct spwd), NSS_BUFLEN_SHADOW)
690 struct spwd *
715 return (struct spwd *)NSS_XbyY_FINI(&arg);
H A Dldap_attr.c103 struct spwd *spwd; member in struct:__anon2796
155 if (p->spwd)
156 free_spwd(p->spwd);
293 struct spwd *spw = NULL;
300 spw = ldapbuf->spwd;
432 res = dup_spw(&ldapbuf->spwd, getspnam_from(name, rep, REP_LDAP));
436 char *spw = ldapbuf->spwd->sp_pwdp;
550 struct spwd *spw;
565 spw = ldapbuf->spwd;
[all...]
/osnet-11/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c33 * Most of the information in a struct spwd simply isn't available from the
49 struct spwd *spwd = (struct spwd *)ent; local
70 if (spwd) {
74 spwd->sp_namp = buffer;
75 spwd->sp_pwdp = buffer + (p + 1 - instr);
76 spwd->sp_lstchg = -1;
77 spwd->sp_min = -1;
78 spwd
105 struct spwd *spwd; local
174 struct spwd *spwd; local
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetspent.c62 b = NSS_XbyY_ALLOC(buffer, sizeof (struct spwd), NSS_BUFLEN_SHADOW);
66 struct spwd *
75 struct spwd *
84 struct spwd *
H A Dgetspent_r.c53 struct spwd *
54 getspnam_r(const char *name, struct spwd *result, char *buffer, int buflen)
62 return ((struct spwd *)NSS_XbyY_FINI(&arg));
78 struct spwd *
79 getspent_r(struct spwd *result, char *buffer, int buflen)
91 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 &&
94 return (struct spwd *)NSS_XbyY_FINI(&arg);
97 struct spwd *
98 fgetspent_r(FILE *f, struct spwd *result, char *buffer, int buflen)
108 return (struct spwd *)NSS_XbyY_FIN
[all...]
H A Dputspent.c43 putspent(const struct spwd *p, FILE *f)
/osnet-11/usr/src/lib/nsswitch/compat/common/
H A Dgetspent.c69 struct spwd *s = (struct spwd *)argp->returnval;
78 struct spwd *s = (struct spwd *)argp->returnval;
101 struct spwd *sp = (struct spwd *)argp->buf.result;
H A Dcompat_common.c1238 be->workarea = calloc(1, sizeof (struct spwd));
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c129 suc_code write_shadow_info(char *, struct spwd *);
139 struct spwd *get_old_shadow(char *, char *);
140 suc_code decode_shadow_entry(datum *, struct spwd *);
141 void free_shadow_entry(struct spwd *);
644 struct spwd *shadow;
1166 struct spwd *
1170 struct spwd *sp;
1185 if (NULL == (sp = am(myself, sizeof (struct spwd)))) {
1208 * in a partially filled spwd structure.
1213 decode_shadow_entry(datum *data, struct spwd *s
1331 free_shadow_entry(struct spwd *spwd) argument
[all...]
/osnet-11/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c88 struct spwd *shpwd)
149 struct spwd *shpwd;
182 struct spwd *shpwd,
243 struct spwd shpwd)
296 struct spwd shpwd = {NULL, NULL,
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc568 struct spwd *getspent(void);
569 struct spwd *getspent_r(struct spwd *, char *, int);
570 struct spwd *fgetspent(FILE *f);
571 struct spwd *fgetspent_r(FILE *, struct spwd *, char *, int);
572 struct spwd *getspnam(const char *name);
573 struct spwd *getspnam_r(const char *, struct spwd *, char *, int);
574 int putspent(const struct spwd *
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dreentr.h709 struct spwd _spent_struct;
713 struct spwd* _spent_ptr;
H A Dreentr.inc1267 # define getspnam(a) ((PL_REENTRANT_RETINT = getspnam_r(a, &PL_reentrant_buffer->_spent_struct, PL_reentrant_buffer->_spent_buffer, PL_reentrant_buffer->_spent_size, &PL_reentrant_buffer->_spent_ptr)) == 0 ? PL_reentrant_buffer->_spent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct spwd*)Perl_reentrant_retry("getspnam", a) : 0))
1270 # define getspnam(a) ({int PL_REENTRANT_RETINT; ((PL_REENTRANT_RETINT = getspnam_r(a, &PL_reentrant_buffer->_spent_struct, PL_reentrant_buffer->_spent_buffer, PL_reentrant_buffer->_spent_size, &PL_reentrant_buffer->_spent_ptr)) == 0 ? PL_reentrant_buffer->_spent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct spwd*)Perl_reentrant_retry("getspnam", a) : 0));})
1273 static struct spwd* Perl_reentr_getspnam(const char* a) {
1276 return ((PL_REENTRANT_RETINT = getspnam_r(a, &PL_reentrant_buffer->_spent_struct, PL_reentrant_buffer->_spent_buffer, PL_reentrant_buffer->_spent_size, &PL_reentrant_buffer->_spent_ptr)) == 0 ? PL_reentrant_buffer->_spent_ptr : (((PL_REENTRANT_RETINT == ERANGE) || (errno == ERANGE)) ? (struct spwd*)Perl_reentrant_retry("getspnam", a) : 0));
H A Dpp_sys.c5304 struct spwd *spwent;
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_writes.c1981 struct spwd *ptr;
1999 ptr = (struct spwd *)data;
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c3172 struct spwd data;

Completed in 94 milliseconds