r11414: Add passing around of logon_parameters to Samba4 auth_winbind
authorAndrew Bartlett <abartlet@samba.org>
Mon, 31 Oct 2005 06:08:11 +0000 (06:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:34 +0000 (13:45 -0500)
Andrew Bartlett
(This used to be commit 7e3c22f57be215b483ae15de4f754ed4188b5379)

source4/auth/auth_winbind.c

index 263aef8cc940b3cdfef72de11054e41bfdbeb172..bda96029262507d5a25462dcaf3d55f8f14ab274 100644 (file)
@@ -71,6 +71,9 @@ static NTSTATUS winbind_check_password(struct auth_method_context *ctx,
        ZERO_STRUCT(request);
        ZERO_STRUCT(response);
        request.flags = WBFLAG_PAM_INFO3_NDR;
+
+       request.data.auth_crap.logon_parameters = user_info->logon_parameters;
+
        winbind_strcpy(request.data.auth_crap.user, 
                       user_info->client.account_name);
        winbind_strcpy(request.data.auth_crap.domain,