diff options
Diffstat (limited to 'source3/winbindd/winbindd_pam.c')
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index c04367e02bc..19565dcd8b7 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -1254,8 +1254,16 @@ static NTSTATUS winbindd_dual_auth_passdb(TALLOC_CTX *mem_ctx, TALLOC_FREE(frame); return NT_STATUS_NO_MEMORY; } + + /* + * TODO: We should get the service description passed in from + * the winbind client, so we can have "smb2", "squid" or "samr" logged + * here. + */ status = make_user_info(frame, &user_info, user, user, domain, domain, - lp_netbios_name(), local, lm_resp, nt_resp, NULL, NULL, + lp_netbios_name(), local, + "winbind", + lm_resp, nt_resp, NULL, NULL, NULL, AUTH_PASSWORD_RESPONSE); if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("make_user_info failed: %s\n", nt_errstr(status))); |