mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
parent
c0f906ac8d
commit
e5d6069cf8
@ -375,9 +375,14 @@ static struct cli_state
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/* We pretty much guarentee password must be valid or a pointer
|
||||
to a 0 char. */
|
||||
if (!password) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ( (username) && (*username) &&
|
||||
((!password) || ((password) && (strlen(password) == 0 ))) &&
|
||||
(strlen(password) == 0 ) &&
|
||||
(cli->use_kerberos) )
|
||||
{
|
||||
/* Use kerberos authentication */
|
||||
|
Loading…
Reference in New Issue
Block a user