mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r5668: Add tests to RPC-SAMLOGON to test for user@REALM style logins. These
need a NULL domain (or a "" domain, except this breaks NTLMv2, and I need to look into it a bit more). Add support to the Samba4 server for these logins. This will need extension when we handle trusted domains as a DC, as it is a principal name, not just another format for the username. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
69114b4a8e
commit
de02c7c222
@@ -121,6 +121,14 @@ BOOL ntv2_owf_gen(const uint8_t owf[16],
|
||||
return False;
|
||||
}
|
||||
|
||||
if (!user_in) {
|
||||
user_in = "";
|
||||
}
|
||||
|
||||
if (!domain_in) {
|
||||
domain_in = "";
|
||||
}
|
||||
|
||||
user_in = strupper_talloc(mem_ctx, user_in);
|
||||
if (user_in == NULL) {
|
||||
talloc_free(mem_ctx);
|
||||
|
||||
Reference in New Issue
Block a user