/opensolaris-onvv-gate/usr/src/lib/passwdutil/ |
H A D | utils.h | 41 int dup_spw(struct spwd **, struct spwd *); 43 void free_spwd(struct spwd *);
|
H A D | nss_attr.c | 68 struct spwd *spwd; member in struct:pwbuf 118 if (pwbuf->spwd) 119 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 D | files_attr.c | 56 static int files_update_history(char *name, struct spwd *spwd); 81 struct spwd *spwd; member in struct:pwbuf 185 struct spwd * 186 private_getspnam_r(const char *name, struct spwd *result, char *buffer, 267 if (pwbuf->spwd == NULL) { 268 pwbuf->spwd = malloc(sizeof (struct spwd)); 269 if (pwbuf->spwd 900 files_update_shadow(char *name, struct spwd *spwd) argument 1140 files_update_history(char *name, struct spwd *spwd) argument [all...] |
H A D | utils.c | 72 free_spwd(struct spwd *spw) 122 dup_spw(struct spwd **d, struct spwd *s) 164 turn_on_default_aging(struct spwd *spw)
|
H A D | passwdutil.h | 142 void turn_on_default_aging(struct spwd *); 160 struct spwd *getspnam_from(const char *, pwu_repository_t *, int);
|
H A D | switch_utils.c | 520 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 D | ldap_attr.c | 104 struct spwd *spwd; member in struct:__anon4616 156 if (p->spwd) 157 free_spwd(p->spwd); 294 struct spwd *spw = NULL; 301 spw = ldapbuf->spwd; 433 res = dup_spw(&ldapbuf->spwd, getspnam_from(name, rep, REP_LDAP)); 437 char *spw = ldapbuf->spwd->sp_pwdp; 551 struct spwd *spw; 566 spw = ldapbuf->spwd; [all...] |
/opensolaris-onvv-gate/usr/src/head/ |
H A D | shadow.h | 56 * The spwd structure is used in the retreval of information from 59 struct spwd { struct 82 extern struct spwd *getspnam_r(const char *, struct spwd *, char *, int); 83 extern struct spwd *getspent_r(struct spwd *, char *, int); 84 extern struct spwd *fgetspent_r(FILE *, struct spwd *, char *, int); 88 extern struct spwd *getspent(void); /* MT-unsafe */ 89 extern struct spwd *fgetspen [all...] |
/opensolaris-onvv-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getspent.c | 36 * Most of the information in a struct spwd simply isn't available from the 52 void *ent; /* it is really (struct spwd *) */ 56 struct spwd *spwd = (struct spwd *)ent; local 77 if (spwd) { 81 spwd->sp_namp = buffer; 82 spwd->sp_pwdp = buffer + (p + 1 - instr); 83 spwd->sp_lstchg = -1; 84 spwd 114 struct spwd *spwd; local 173 struct spwd *spwd; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
H A D | getpwnam.h | 24 struct spwd *bero_getspnam(const char * name, const char * file);
|
H A D | getpwnam.c | 142 struct spwd *bero_getspnam(const char * name, const char * file) 145 struct spwd *s; 146 struct spwd *r;
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | getspent.c | 62 b = NSS_XbyY_ALLOC(buffer, sizeof (struct spwd), NSS_BUFLEN_SHADOW); 66 struct spwd * 75 struct spwd * 84 struct spwd *
|
H A D | getspent_r.c | 53 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 D | putspent.c | 43 putspent(const struct spwd *p, FILE *f)
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | pwdauth.c | 54 struct spwd *spwp = NULL;
|
/opensolaris-onvv-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getspent.c | 69 struct spwd *s = (struct spwd *)argp->returnval; 78 struct spwd *s = (struct spwd *)argp->returnval; 101 struct spwd *sp = (struct spwd *)argp->buf.result;
|
/opensolaris-onvv-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 131 suc_code write_shadow_info(char *, struct spwd *); 141 struct spwd *get_old_shadow(char *, char *); 142 suc_code decode_shadow_entry(datum *, struct spwd *); 143 void free_shadow_entry(struct spwd *); 646 struct spwd *shadow; 1167 struct spwd * 1171 struct spwd *sp; 1186 if (NULL == (sp = am(myself, sizeof (struct spwd)))) { 1209 * in a partially filled spwd structure. 1214 decode_shadow_entry(datum *data, struct spwd *s 1331 free_shadow_entry(struct spwd *spwd) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 89 struct spwd *shpwd) 150 struct spwd *shpwd; 183 struct spwd *shpwd, 244 struct spwd shpwd) 297 struct spwd shpwd = {NULL, NULL,
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 1266 struct spwd *spwd; local 1340 spwd = getspnam(user); 1342 if (spwd != NULL) { 1346 if ((spwd->sp_expire > 0 && now >= spwd->sp_expire) 1347 || ((spwd->sp_max >= 0 && spwd->sp_max < 10000) 1348 && spwd->sp_lstchg >= 0 1349 && now >= spwd [all...] |
/opensolaris-onvv-gate/usr/src/cmd/pwconv/ |
H A D | pwconv.c | 72 struct spwd * 76 struct spwd *sp; 98 struct spwd *sp, sp_pwd; /* default entry */
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/ |
H A D | auth-passwd.c | 104 struct spwd *spw;
|
/opensolaris-onvv-gate/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 127 struct spwd *shpw; 449 struct spwd spwd; local 450 struct spwd *lshpw; /* local shadow */ 507 lshpw = getspnam_r(user, &spwd, shadow, sizeof (shadow));
|
/opensolaris-onvv-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 1419 static struct spwd * 1420 _lc_getspent_r(struct spwd *result, char *buffer, int buflen) 1433 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 && 1436 return (struct spwd *)NSS_XbyY_FINI(&arg); 1441 static struct spwd * 1446 b = NSS_XbyY_ALLOC(&buffer, sizeof (struct spwd), NSS_BUFLEN_SHADOW); 1457 struct spwd *p;
|
/opensolaris-onvv-gate/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 133 rid_tmpf(void), ck_p_sz(struct passwd *), ck_s_sz(struct spwd *), 152 struct spwd * 156 struct spwd *sp; 297 struct spwd *sp_ptr1p, shadow_st; 1627 ck_s_sz(struct spwd *ssp)
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/ |
H A D | llib-lc | 521 struct spwd *getspent(void); 522 struct spwd *getspent_r(struct spwd *, char *, int); 523 struct spwd *fgetspent(FILE *f); 524 struct spwd *fgetspent_r(FILE *, struct spwd *, char *, int); 525 struct spwd *getspnam(const char *name); 526 struct spwd *getspnam_r(const char *, struct spwd *, char *, int); 527 int putspent(const struct spwd * [all...] |