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

12

/illumos-gate/usr/src/lib/passwdutil/
H A Dutils.h41 int dup_spw(struct spwd **, struct spwd *);
43 void free_spwd(struct spwd *);
H A Dnss_attr.c68 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 Dfiles_attr.c56 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 Dutils.c72 free_spwd(struct spwd *spw)
122 dup_spw(struct spwd **d, struct spwd *s)
164 turn_on_default_aging(struct spwd *spw)
H A Dpasswdutil.h142 void turn_on_default_aging(struct spwd *);
160 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.c104 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 Dshadow.h58 * 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/lib/nsswitch/nis/common/
H A Dgetspent.c36 * 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/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)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dpwdauth.c54 struct spwd *spwp = NULL;
/illumos-gate/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;
/illumos-gate/usr/src/cmd/getent/
H A Ddogetsp.c41 struct spwd *sp;
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c135 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/lib/pam_modules/unix_account/
H A Dunix_acct.c89 struct spwd *shpwd)
150 struct spwd *shpwd;
183 struct spwd *shpwd,
244 struct spwd shpwd)
297 struct spwd shpwd = {NULL, NULL,
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c72 struct spwd *
76 struct spwd *sp;
98 struct spwd *sp, sp_pwd; /* default entry */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1266 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...]
/illumos-gate/usr/src/cmd/sulogin/
H A Dsulogin.c133 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/cmd/passwd/
H A Dpasswd.c1413 static struct spwd *
1414 _lc_getspent_r(struct spwd *result, char *buffer, int buflen)
1427 (nam = ((struct spwd *)arg.returnval)->sp_namp) != 0 &&
1430 return (struct spwd *)NSS_XbyY_FINI(&arg);
1435 static struct spwd *
1440 b = NSS_XbyY_ALLOC(&buffer, sizeof (struct spwd), NSS_BUFLEN_SHADOW);
1451 struct spwd *p;
/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c133 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)
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc544 struct spwd *getspent(void);
545 struct spwd *getspent_r(struct spwd *, char *, int);
546 struct spwd *fgetspent(FILE *f);
547 struct spwd *fgetspent_r(FILE *, struct spwd *, char *, int);
548 struct spwd *getspnam(const char *name);
549 struct spwd *getspnam_r(const char *, struct spwd *, char *, int);
550 int putspent(const struct spwd *
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dnewkey.c339 struct spwd *spw;
/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c72 struct spwd noupass = { "", "nope" };

Completed in 127 milliseconds

12