diff options
Diffstat (limited to 'source3/winbindd/wb_getpwsid.c')
-rw-r--r-- | source3/winbindd/wb_getpwsid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/wb_getpwsid.c b/source3/winbindd/wb_getpwsid.c index 8c764f77b08..56a6a29ee45 100644 --- 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)); |