mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s3:ntlmssp: remove unused get_global_myname() and get_domain() from ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
committed by
Günther Deschner
parent
7d977da925
commit
7c0ea293f9
@ -729,12 +729,8 @@ static NTSTATUS ntlm_auth_start_ntlmssp_server(struct ntlmssp_state **ntlmssp_st
|
||||
/* Have we been given a local password, or should we ask winbind? */
|
||||
if (opt_password) {
|
||||
(*ntlmssp_state)->check_password = local_pw_check;
|
||||
(*ntlmssp_state)->get_domain = lp_workgroup;
|
||||
(*ntlmssp_state)->get_global_myname = global_myname;
|
||||
} else {
|
||||
(*ntlmssp_state)->check_password = winbind_pw_check;
|
||||
(*ntlmssp_state)->get_domain = get_winbind_domain;
|
||||
(*ntlmssp_state)->get_global_myname = get_winbind_netbios_name;
|
||||
}
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user