summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-30 14:17:51 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:55 +0100
commit7c0ea293f93eb19de56ae3c642fa3e78a2b50096 (patch)
tree4a4c3039654567533aecd30c14d241dcfd8b00aa /source3/utils
parent7d977da92554c34539a475feb7dcb0a6dc0ad654 (diff)
downloadsamba-7c0ea293f93eb19de56ae3c642fa3e78a2b50096.tar.gz
samba-7c0ea293f93eb19de56ae3c642fa3e78a2b50096.tar.bz2
samba-7c0ea293f93eb19de56ae3c642fa3e78a2b50096.zip
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>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/ntlm_auth.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 929c11f5a9..226772eba8 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -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;
}