Searched refs:spwd (Results 1 - 9 of 9) sorted by relevance
/haiku/headers/posix/ |
H A D | shadow.h | 12 struct spwd { struct 30 extern struct spwd* getspent(void); 31 extern int getspent_r(struct spwd* spwd, char* buffer, size_t bufferSize, 32 struct spwd** _result); 36 extern struct spwd* getspnam(const char* name); 37 extern int getspnam_r(const char* name, struct spwd* spwd, char* buffer, 38 size_t bufferSize, struct spwd** _result); 40 extern struct spwd* sgetspen [all...] |
/haiku/src/bin/multiuser/ |
H A D | multiuser_utils.h | 18 bool verify_password(passwd* passwd, spwd* spwd, const char* plainPassword); 20 status_t authenticate_user(const char* prompt, passwd* passwd, spwd* spwd, 23 passwd** _passwd, spwd** _spwd, int maxTries, bool useStdio);
|
H A D | multiuser_utils.cpp | 89 verify_password(passwd* passwd, spwd* spwd, const char* plainPassword) argument 97 if (spwd == NULL) { 103 requiredPassword = spwd->sp_pwdp; 123 \a passwd must always be given, \a spwd only if there exists an entry 127 authenticate_user(const char* prompt, passwd* passwd, spwd* spwd, int maxTries, argument 131 if (verify_password(passwd, spwd, "")) 143 bool ok = verify_password(passwd, spwd, plainPassword); 157 spwd** _spw 160 struct spwd* spwd = getspnam(user); local [all...] |
H A D | login.cpp | 91 struct spwd* spwd = getspnam(user); local 93 bool ok = verify_password(passwd, spwd, password);
|
/haiku/src/system/libroot/posix/ |
H A D | shadow.cpp | 30 static spwd** sShadowPwdEntries = NULL; 34 static struct spwd sShadowPwdBuffer; 53 spwd** entries; 64 spwd* entry = relocate_pointer(baseAddress, entries[i]); 79 struct spwd* 82 struct spwd* result = NULL; 92 getspent_r(struct spwd* spwd, char* buffer, size_t bufferSize, argument 93 struct spwd** _result) 106 sShadowPwdEntries[sIterationIndex], spwd, buffe 152 getspnam_r(const char *name, struct spwd *spwd, char *buffer, size_t bufferSize, struct spwd **_result) argument 210 sgetspent_r(const char* _line, struct spwd *spwd, char *buffer, size_t bufferSize, struct spwd** _result) argument 262 fgetspent_r(FILE* file, struct spwd* spwd, char* buffer, size_t bufferSize, struct spwd** _result) argument [all...] |
H A D | user_group_common.cpp | 331 int flags, spwd* entry, char* buffer, size_t bufferSize) 352 BPrivate::copy_shadow_pwd_to_buffer(const spwd* from, spwd* entry,
|
/haiku/headers/private/libroot/ |
H A D | user_group.h | 133 int flags, spwd* entry, char* buffer, size_t bufferSize); 134 status_t copy_shadow_pwd_to_buffer(const spwd* from, spwd* entry,
|
/haiku/src/servers/registrar/ |
H A D | AuthenticationManager.cpp | 253 spwd* WriteFlatShadowPwd(FlatStore& store) const 255 struct spwd spwd; local 257 spwd.sp_namp = store.AppendString(fName); 258 spwd.sp_pwdp = store.AppendString(fShadowPassword); 259 spwd.sp_lstchg = fLastChanged; 260 spwd.sp_min = fMin; 261 spwd.sp_max = fMax; 262 spwd.sp_warn = fWarn; 263 spwd [all...] |
/haiku/src/bin/network/ftpd/ |
H A D | ftpd.c | 962 struct spwd *sp = NULL;
|
Completed in 63 milliseconds