1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +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:
Jeremy Allison 2007-03-02 20:15:11 +00:00 committed by Gerald (Jerry) Carter
parent 5a7330cfe4
commit 32b040fe05

View File

@ -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();
}