git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
649deb6
)
s3:winbind: Use correct struct member for size calculation
author
Andreas Schneider
<asn@samba.org>
Fri, 17 Mar 2017 12:24:13 +0000
(13:24 +0100)
committer
Jeremy Allison
<jra@samba.org>
Sat, 18 Mar 2017 04:05:24 +0000
(
05:05
+0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/wb_getpwsid.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/wb_getpwsid.c
b/source3/winbindd/wb_getpwsid.c
index 8c764f77b089edba09990baf52530a964445c5eb..56a6a29ee457b1e457f173774880e2bfb6272a3c 100644
(file)
--- a/
source3/winbindd/wb_getpwsid.c
+++ b/
source3/winbindd/wb_getpwsid.c
@@
-107,7
+107,7
@@
static void wb_getpwsid_queryuser_done(struct tevent_req *subreq)
if (tevent_req_nomem(tmp, req)) {
return;
}
- strlcpy(pw->pw_shell, tmp, sizeof(pw->pw_
dir
));
+ strlcpy(pw->pw_shell, tmp, sizeof(pw->pw_
shell
));
TALLOC_FREE(tmp);
strlcpy(pw->pw_passwd, "*", sizeof(pw->pw_passwd));