git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8929f07
)
Bring auth_winbind into line with the protocol changes
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 25 Jan 2002 10:16:20 +0000
(10:16 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 25 Jan 2002 10:16:20 +0000
(10:16 +0000)
Andrew Bartlett
source/auth/auth_winbind.c
patch
|
blob
|
history
diff --git
a/source/auth/auth_winbind.c
b/source/auth/auth_winbind.c
index 175e14a9d60fcc0afb1c64a8ca7e9fbbbce31ec0..2d8e5066a22fb5958c1f1bd3fc691d78336e7c82 100644
(file)
--- a/
source/auth/auth_winbind.c
+++ b/
source/auth/auth_winbind.c
@@
-63,6
+63,9
@@
static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
snprintf(request.data.auth_crap.user, sizeof(request.data.auth_crap.user),
"%s\\%s", user_info->domain.str, user_info->smb_name.str);
+ fstrcpy(request.data.auth_crap.user, user_info->smb_name.str);
+ fstrcpy(request.data.auth_crap.domain, user_info->domain.str);
+
memcpy(request.data.auth_crap.chal, auth_context->challenge.data, sizeof(request.data.auth_crap.chal));
request.data.auth_crap.lm_resp_len = MIN(user_info->lm_resp.length,