Searched refs:password (Results 1 - 25 of 127) sorted by relevance

123456

/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server/
H A Dauthentication.h1 bool authenticateUser(char *user, char *password);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-1.2.6/
H A Dauthentication.h1 bool authenticateUser(char *user, char *password);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-Windows/
H A Dauthentication.h1 bool authenticateUser(char *user, char *password);
/haiku-fatelf/src/libs/bsd/
H A Dgetpass.c19 static char password[128]; local
36 // Read password
37 if (fgets(password, sizeof(password), stdin) != NULL) {
38 size_t length = strlen(password);
40 if (password[length - 1] == '\n')
41 password[length - 1] = '\0';
53 return password;
/haiku-fatelf/headers/private/mail/
H A Dcrypt.h13 bool set_passwd(BMessage *msg,const char *name,const char *password);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/transport/
H A Dtransport_rpc.h3 int btStartPrintJob(bt_rpcinfo *info, char *printerName, char *user, char *password, char *jobName, char **jobId);
H A DLoginPanel.h27 const char *GetPassword() { return password->Text(); }
32 BTextControl *password; member in class:LoginView
50 char password[MAX_NAME_LENGTH]; member in class:LoginPanel
H A Dbeserved_transport.cpp38 password[0] = 0;
50 dir.ReadAttr(USER_PASSWORD, B_STRING_TYPE, 0, password, sizeof(password));
78 // last print job). Keep asking for a new username/password until we either get a
82 result = btStartPrintJob(&info, printerName, user, password, jobName, &serverJobId);
148 // Copy the user name and password supplied in the authentication dialog.
149 sprintf(password, "%-*s%-*s", B_FILE_NAME_LENGTH, printerName, MAX_USERNAME_LENGTH, login->user);
150 length = strlen(password);
153 password[length] = 0;
155 blf_enc(&ctx, (unsigned long *) password, lengt
[all...]
H A DLoginPanel.cpp51 password = new BTextControl(r, "Password", "Password:", "", NULL);
52 password->SetDivider(55);
53 password->TextView()->HideTyping(true);
54 AddChild(password);
91 DrawString("password. Please re-enter your user credentials.");
110 user[0] = password[0] = 0;
150 safeStringCopy(password, loginView->GetPassword(), sizeof(password));
151 md5EncodeString(password, md5passwd);
/haiku-fatelf/src/bin/multiuser/
H A Dpasswd.cpp87 if (authenticate_user("old password: ", passwd, getspnam(user), 1,
93 // read new password
94 char password[LINE_MAX]; local
95 if (read_password("new password: ", password, sizeof(password), false)
100 if (strlen(password) >= MAX_SHADOW_PWD_PASSWORD_LEN) {
101 fprintf(stderr, "Error: The password is too long.\n");
105 // read password again
107 if (read_password("repeat new password
[all...]
H A Duseradd.cpp123 // read password
124 char password[LINE_MAX]; local
125 if (read_password("password for user: ", password, sizeof(password),
130 if (strlen(password) >= MAX_SHADOW_PWD_PASSWORD_LEN) {
131 fprintf(stderr, "Error: The password is too long.\n");
135 // read password again
137 if (read_password("repeat password: ", repeatedPassword,
143 if (strcmp(password, repeatedPasswor
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationServer.h23 HashString* user, HashString* password);
26 const char* user, const char* password,
30 const char* user, const char* password);
H A DAuthenticationServer.cpp26 Authentication(const char* user, const char* password) argument
28 fPassword(password)
32 status_t SetTo(const char* user, const char* password) argument
34 if (fUser.SetTo(user) && fPassword.SetTo(password))
135 status_t SetDefaultAuthentication(const char* user, const char* password) argument
137 return fDefaultAuthentication.SetTo(user, password);
146 const char* password)
152 return authentication->SetTo(user, password);
157 status_t error = authentication->SetTo(user, password);
206 char password[B_OS_NAME_LENGT local
145 SetAuthentication(const char* share, const char* user, const char* password) argument
373 _GetAuthentication(const char* context, const char* server, const char* share, HashString* user, HashString* password) argument
401 _AddAuthentication(const char* context, const char* server, const char* share, const char* user, const char* password, bool makeDefault) argument
433 _SendRequestReply(port_id port, int32 token, status_t error, bool cancelled, const char* user, const char* password) argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/MyNetwork/
H A DLoginPanel.h24 const char *GetPassword() { return password->Text(); }
29 BTextControl *password; member in class:LoginView
45 char password[MAX_NAME_LENGTH]; member in class:LoginPanel
H A DLoginPanel.cpp46 password = new BTextControl(r, "Password", "Password:", "", NULL);
47 password->SetDivider(55);
48 password->TextView()->HideTyping(true);
49 AddChild(password);
100 user[0] = password[0] = 0;
123 safeStringCopy(password, loginView->GetPassword(), sizeof(password));
124 md5EncodeString(password, md5passwd);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/mounthost/
H A DLoginPanel.h27 const char *GetPassword() { return password->Text(); }
32 BTextControl *password; member in class:LoginView
50 char password[MAX_NAME_LENGTH]; member in class:LoginPanel
H A Dmounthost.cpp38 char password[BT_AUTH_TOKEN_LENGTH * 2 + 1]; member in struct:mount_nfs_params
43 bool authenticateSelf(char *server, char *share, char *user, char *password, bool useTracker);
54 char hostname[256], server[256], share[256], folder[B_PATH_NAME_LENGTH], password[MAX_NAME_LENGTH + 1], *colon; local
135 params.user[0] = params.password[0] = 0;
138 if (!authenticateSelf(server, share, params.user, password, useTracker))
142 // Copy the user name and password supplied in the authentication dialog.
143 sprintf(params.password, "%-*s%-*s", B_FILE_NAME_LENGTH, share, MAX_USERNAME_LENGTH, params.user); //crypt(password, "p1"));
144 params.password[BT_AUTH_TOKEN_LENGTH] = 0;
146 blf_key(&ctx, (unsigned char *) password, strle
192 authenticateSelf(char *server, char *share, char *user, char *password, bool useTracker) argument
[all...]
H A DLoginPanel.cpp51 password = new BTextControl(r, "Password", "Password:", "", NULL);
52 password->SetDivider(55);
53 password->TextView()->HideTyping(true);
54 AddChild(password);
110 user[0] = password[0] = 0;
150 safeStringCopy(password, loginView->GetPassword(), sizeof(password));
151 md5EncodeString(password, md5passwd);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/authentication_server/
H A DAuthenticationServer.h23 String* user, String* password);
26 const char* user, const char* password,
30 const char* user, const char* password);
H A DAuthenticationServer.cpp21 Authentication(const char* user, const char* password) argument
23 fPassword(password)
27 status_t SetTo(const char* user, const char* password) argument
29 if (fUser.SetTo(user) && fPassword.SetTo(password))
130 status_t SetDefaultAuthentication(const char* user, const char* password) argument
132 return fDefaultAuthentication.SetTo(user, password);
141 const char* password)
147 return authentication->SetTo(user, password);
152 status_t error = authentication->SetTo(user, password);
201 char password[B_OS_NAME_LENGT local
140 SetAuthentication(const char* share, const char* user, const char* password) argument
367 _GetAuthentication(const char* context, const char* server, const char* share, String* user, String* password) argument
394 _AddAuthentication(const char* context, const char* server, const char* share, const char* user, const char* password, bool makeDefault) argument
426 _SendRequestReply(port_id port, int32 token, status_t error, bool cancelled, const char* user, const char* password) argument
[all...]
/haiku-fatelf/src/kits/mail/
H A Dcrypt.cpp30 _EXPORT bool set_passwd(BMessage *msg,const char *name,const char *password) argument
32 if (!password)
35 ssize_t length = strlen(password) + 1;
37 passwd_crypt((char *)password,buffer,length);
/haiku-fatelf/src/apps/login/
H A DLoginApp.cpp150 const char *password; local
153 if (message->FindString("password", &password) < B_OK)
154 password = NULL;
155 err = ValidateLogin(login, password);
163 if (password == NULL)
184 LoginApp::ValidateLogin(const char *login, const char *password) argument
194 if (password == NULL) {
200 if (verify_password(pwd, getspnam(login), password))
204 if (strcmp(crypt(password, pw
[all...]
/haiku-fatelf/headers/private/libroot/
H A Duser_group.h106 status_t copy_passwd_to_buffer(const char* name, const char* password, uid_t uid,
112 status_t parse_passwd_line(char* line, char*& name, char*& password, uid_t& uid,
118 status_t copy_group_to_buffer(const char* name, const char* password, gid_t gid,
124 status_t parse_group_line(char* line, char*& name, char*& password, gid_t& gid,
128 // shadow password
130 status_t copy_shadow_pwd_to_buffer(const char* name, const char* password,
136 status_t parse_shadow_pwd_line(char* line, char*& name, char*& password,
/haiku-fatelf/src/apps/expander/
H A DPasswordAlert.h24 void Go(BString &password);
/haiku-fatelf/src/kits/network/
H A Dr5_compatibility.cpp32 int getpassword(char *password, size_t bufferLength);
84 strlcpy(value, "password", numBytes);
115 getpassword(char *password, size_t length) argument
117 if (find_net_setting(NULL, "GLOBAL", "PASSWORD", password, length) == NULL)
120 return strlen(password);

Completed in 177 milliseconds

123456