mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
Fix use of uninitialsed variable in PAM code
(This used to be commit 6c08c233e6675056c0ee0bbc4ecdcbc205950f54)
This commit is contained in:
parent
db0d2f8d60
commit
4f442bc011
@ -83,11 +83,11 @@ static BOOL smb_pam_nt_status_error_handler(pam_handle_t *pamh, int pam_error,
|
||||
char *msg, int dbglvl,
|
||||
NTSTATUS *nt_status)
|
||||
{
|
||||
*nt_status = pam_to_nt_status(pam_error);
|
||||
|
||||
if (smb_pam_error_handler(pamh, pam_error, msg, dbglvl))
|
||||
return True;
|
||||
|
||||
*nt_status = pam_to_nt_status(pam_error);
|
||||
|
||||
if (NT_STATUS_IS_OK(*nt_status)) {
|
||||
/* Complain LOUDLY */
|
||||
DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: BUG: PAM and NT_STATUS \
|
||||
|
Loading…
x
Reference in New Issue
Block a user