search for: _log_err

Displaying 2 results from an estimated 2 matches for "_log_err".

Did you mean: log_err
2010 Jul 01
1
Enabling logs in pam_smbpass in samba source code
I am facing some problem with samba 3.4.8 PAM pam_smbpass module, both vsftpd,proftpd are not working ..I have opened thread at http://forums.proftpd.org/smf/index.php/topic,4739.0.html it is working fine with samba 3.0.32 I want to see the _log_err messages from pam_smbpass , for that I have added log level=4 and log file= /tmp/samba/sambalog.log. I did not see any of the messages in that samba log file. Please tell me how to enable log for pam_smbpass module in samba, Thanks Suresh
2002 Aug 20
1
pam_smbpass
...1.1.2.8 +++ pam_smb_passwd.c 20 Aug 2002 23:41:57 -0000 @@ -126,9 +126,9 @@ /* obtain user record */ pdb_init_sam(&sampass); - pdb_getsampwnam(sampass,user); + /*pdb_getsampwnam(sampass,user);*/ - if (sampass == NULL) { + if (!pdb_getsampwnam(sampass,user)) { _log_err( LOG_ALERT, "Failed to find entry for user %s.", user ); return PAM_USER_UNKNOWN; } I don't think there should be any difference between these two bits of code (and I've not yet tested it) but I don't understand why this is failing... password requisite p...