git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bd7e68
)
auth_server: set the workstation name
author
Stefan Metzmacher
<metze@samba.org>
Fri, 1 Aug 2008 15:22:54 +0000
(17:22 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 1 Aug 2008 15:27:18 +0000
(17:27 +0200)
metze
source/auth/ntlm/auth_server.c
patch
|
blob
|
history
diff --git
a/source/auth/ntlm/auth_server.c
b/source/auth/ntlm/auth_server.c
index 42606c14baeac408475d4fe337bf4bde6e9fdd24..bb8773e75e536677d91aaa8937c153d82e8108ba 100644
(file)
--- a/
source/auth/ntlm/auth_server.c
+++ b/
source/auth/ntlm/auth_server.c
@@
-71,6
+71,10
@@
static NTSTATUS server_get_challenge(struct auth_method_context *ctx, TALLOC_CTX
/* We don't want to get as far as the session setup */
io.in.credentials = cli_credentials_init_anon(mem_ctx);
+ cli_credentials_set_workstation(io.in.credentials,
+ lp_netbios_name(ctx->auth_ctx->lp_ctx),
+ CRED_SPECIFIED);
+
io.in.service = NULL;
io.in.workgroup = ""; /* only used with SPNEGO, disabled above */