mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
r21663: Fix from the Wine guys: Robert Shearman <rob@codeweavers.com>
The background behind this patch is that we're using ntlm_auth with Wine. Windows allows us to pass in a NULL domain and a username of the form of "user@domain" and this is converted into an NTLMSSP_AUTH packet with a NULL domain name and a username of the same form. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
5a7330cfe4
commit
32b040fe05
@ -2303,7 +2303,8 @@ enum {
|
||||
}
|
||||
}
|
||||
|
||||
if (opt_domain == NULL || !*opt_domain) {
|
||||
/* Note: if opt_domain is "" then send no domain */
|
||||
if (opt_domain == NULL) {
|
||||
opt_domain = get_winbind_domain();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user