Searched defs:spwd (Results 1 - 8 of 8) sorted by relevance
/illumos-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...] |
/illumos-gate/usr/src/lib/passwdutil/ |
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 | ldap_attr.c | 104 struct spwd *spwd; member in struct:__anon4260 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...] |
/illumos-gate/usr/src/head/ |
H A D | shadow.h | 58 * The spwd structure is used in the retreval of information from 61 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...] |
/illumos-gate/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 133 struct spwd *shpw; 455 struct spwd spwd; local 456 struct spwd *lshpw; /* local shadow */ 519 lshpw = getspnam_r(user, &spwd, shadow, sizeof (shadow));
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 135 suc_code write_shadow_info(char *, struct spwd *); 145 struct spwd *get_old_shadow(char *, char *); 146 suc_code decode_shadow_entry(datum *, struct spwd *); 147 void free_shadow_entry(struct spwd *); 649 struct spwd *shadow; 1169 struct spwd * 1173 struct spwd *sp; 1188 if (NULL == (sp = am(myself, sizeof (struct spwd)))) { 1211 * in a partially filled spwd structure. 1216 decode_shadow_entry(datum *data, struct spwd *s 1333 free_shadow_entry(struct spwd *spwd) argument [all...] |
/illumos-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...] |
Completed in 64 milliseconds