File pam_smb-2.0.0rc6-invalid-flag.patch of Package pam_smb

--- pamsmbm/pam_smb_auth.c
+++ pamsmbm/pam_smb_auth.c
@@ -264,7 +264,7 @@
 	    if (!unknown_user) 
 	      {
 		if ( ( !pw->pw_passwd ) && ( !p ) )
-		  if ( flags && PAM_DISALLOW_NULL_AUTHTOK )
+		  if ( flags & PAM_DISALLOW_NULL_AUTHTOK )
 		    return PAM_SUCCESS;
 		
 		pp = crypt(p, salt);
openSUSE Build Service is sponsored by