smb_pam_accountcheck returns bad value?

Simo Sorce idra at samba.org
Fri May 4 01:36:01 GMT 2001


shouldn't smb_pam_accountcheck return true on success?
testing without pam support I've seen that smb_pam_accountcheck
returns NT_STATUS_NOPROBLEMO (0x0) to password_ok instead of true (1)
this will make password validation fail when it should not (password_ok return True on success)

I've changed it to:

uint32 smb_pam_accountcheck(char * user)
{
	return True;
}

to be able to validate users.

bye.

-- 
Simo Sorce
------------------------------
 Unix IS user friendly, it is just selective about who his friends are.




More information about the samba-technical mailing list