1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

cli_session_setup() now takes an extra argument (host name). hey, what

the heck is a cli_session_setup() call doing in here???  this should use
cli_establish_connection()server!
(This used to be commit fa054c96c6)
This commit is contained in:
Luke Leighton 1999-12-01 21:47:30 +00:00
parent 720ea1e304
commit c15b95cd1e

View File

@ -1042,7 +1042,8 @@ BOOL server_validate(char *user, char *domain,
*/
if(!tested_password_server) {
if (cli_session_setup(cli, user, (char *)badpass, sizeof(badpass),
if (cli_session_setup(cli, global_myname,
user, (char *)badpass, sizeof(badpass),
(char *)badpass, sizeof(badpass), domain)) {
/*
@ -1087,7 +1088,8 @@ use this machine as the password server.\n"));
* not guest enabled, we can try with the real password.
*/
if (!cli_session_setup(cli, user, pass, passlen, ntpass, ntpasslen, domain)) {
if (!cli_session_setup(cli, global_myname,
user, pass, passlen, ntpass, ntpasslen, domain)) {
DEBUG(1,("password server %s rejected the password\n", cli->desthost));
return False;
}