diff options
-rw-r--r-- | source3/passdb/smbpass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index 351dfd438b..ec1a984b76 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -329,6 +329,7 @@ static struct smb_passwd *getsmbfilepwent(void *vp) pw_buf.smb_nt_passwd = NULL; pw_buf.smb_passwd = NULL; pw_buf.acct_ctrl |= ACB_DISABLED; + return &pw_buf; } if (linebuf_len < (PTR_DIFF(p, linebuf) + 33)) { |