pwu_repository_t
get_attr(char *username, pwu_repository_t *repository, attrlist **attributes)
get_namelist(pwu_repository_t repository, char ***namelist, int *num_user)
static pwu_repository_t repository;
static pwu_repository_t __REPFILES = { "files", NULL, 0 };
static int get_namelist(pwu_repository_t, char ***, int *);
static int get_attr(char *, pwu_repository_t *, attrlist **);
static char *userinput(char *, pwu_repository_t *, attrtype);
userinput(char *name, pwu_repository_t *rep, attrtype type)
pwu_repository_t *pwu_rep;
pwu_repository_t *pwu_rep = PWU_DEFAULT_REP;
pwu_repository_t *pwu_rep = NULL;
pwu_repository_t *pwu_rep;
pwu_repository_t *pwu_rep;
pwu_repository_t *pwu_rep = NULL;
pwu_repository_t files_rep;
pwu_repository_t *pwu_rep = PWU_DEFAULT_REP;
const pwu_repository_t *auth_rep = NULL;
pwu_repository_t *pwu_rep;
__check_history(const char *user, const char *passwd, pwu_repository_t *rep)
__get_authtoken_attr(const char *name, pwu_repository_t *rep, attrlist *item)
__set_authtoken_attr(const char *name, const char *oldpw, pwu_repository_t *rep,
__user_to_authenticate(const char *name, pwu_repository_t *rep,
files_putpwnam(const char *name, const char *oldpw, pwu_repository_t *rep,
files_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
files_user_to_authenticate(const char *user, pwu_repository_t *rep,
files_checkhistory(const char *user, const char *passwd, pwu_repository_t *rep)
files_getattr(const char *name, attrlist *items, pwu_repository_t *rep)
pwu_repository_t *rep);
int files_getattr(const char *name, attrlist *item, pwu_repository_t *rep);
int files_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
int files_update(attrlist *items, pwu_repository_t *rep, void *buf);
int files_putpwnam(const char *name, const char *oldpw, pwu_repository_t *rep,
int files_user_to_authenticate(const char *name, pwu_repository_t *rep,
files_update(attrlist *items, pwu_repository_t *rep, void *buf)
ldap_putpwnam(const char *name, const char *oldpw, pwu_repository_t *rep,
ldap_user_to_authenticate(const char *user, pwu_repository_t *rep,
ldap_getattr(const char *name, attrlist *items, pwu_repository_t *rep)
ldap_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
ldap_update(attrlist *items, pwu_repository_t *rep, void *buf)
int ldap_getattr(const char *name, attrlist *item, pwu_repository_t *rep);
int ldap_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
int ldap_update(attrlist *items, pwu_repository_t *rep, void *buf);
int ldap_putpwnam(const char *name, const char *oldpw, pwu_repository_t *rep,
int ldap_user_to_authenticate(const char *name, pwu_repository_t *rep,
nis_user_to_authenticate(const char *user, pwu_repository_t *rep,
nis_getattr(const char *name, attrlist *items, pwu_repository_t *rep)
nis_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
nis_update(attrlist *items, pwu_repository_t *rep, void *buf)
int nis_getattr(const char *name, attrlist *item, pwu_repository_t *rep);
int nis_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
nis_putpwnam(const char *name, const char *oldpw, pwu_repository_t *rep,
int nis_update(attrlist *items, pwu_repository_t *rep, void *buf);
int nis_putpwnam(const char *name, const char *oldpw, pwu_repository_t *rep,
int nis_user_to_authenticate(const char *user, pwu_repository_t *rep,
nss_getattr(const char *name, attrlist *items, pwu_repository_t *rep)
int nss_getattr(const char *name, attrlist *item, pwu_repository_t *rep);
int nss_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
nss_getpwnam(const char *name, attrlist *items, pwu_repository_t *rep,
int (*checkhistory)(const char *, const char *, pwu_repository_t *);
int (*getattr)(const char *, attrlist *, pwu_repository_t *);
int (*getpwnam)(const char *, attrlist *, pwu_repository_t *, void **);
int (*update)(attrlist *, pwu_repository_t *, void *);
int (*putpwnam)(const char *, const char *, pwu_repository_t *, void *);
int (*user_to_authenticate)(const char *, pwu_repository_t *, char **,
int get_ns(pwu_repository_t *, int);
struct passwd *getpwnam_from(const char *, pwu_repository_t *, int);
struct passwd *getpwuid_from(uid_t, pwu_repository_t *, int);
struct spwd *getspnam_from(const char *, pwu_repository_t *, int);
int __set_authtoken_attr(const char *, const char *, pwu_repository_t *,
int __get_authtoken_attr(const char *, pwu_repository_t *, attrlist *);
int __user_to_authenticate(const char *, pwu_repository_t *, char **, int *);
int __check_history(const char *, const char *, pwu_repository_t *);
#define PWU_DEFAULT_REP (pwu_repository_t *)NULL
get_ns(pwu_repository_t *rep, int accesstype)
getpwnam_from(const char *name, pwu_repository_t *rep, int reptype)
getpwuid_from(uid_t uid, pwu_repository_t *rep, int reptype)
getspnam_from(const char *name, pwu_repository_t *rep, int reptype)