diff options
author | Alexander Bokovoy <ab@samba.org> | 2008-01-16 12:28:52 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2008-01-16 12:42:26 +0300 |
commit | dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f (patch) | |
tree | 5994f71e6cdbf919495c404cbc952582a3aaeeb2 /source/pam_smbpass | |
parent | 4ff2101c69a0cfcfdc5f775493cb6e88c57e4bbe (diff) | |
download | samba-dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f.tar.gz samba-dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f.tar.xz samba-dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f.zip |
Fix build for pam_smbpass
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source/pam_smbpass')
-rw-r--r-- | source/pam_smbpass/pam_smb_acct.c | 2 | ||||
-rw-r--r-- | source/pam_smbpass/pam_smb_passwd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/pam_smbpass/pam_smb_acct.c b/source/pam_smbpass/pam_smb_acct.c index 59ed4eee8bf..b9bcb310912 100644 --- a/source/pam_smbpass/pam_smb_acct.c +++ b/source/pam_smbpass/pam_smb_acct.c @@ -78,7 +78,7 @@ int pam_sm_acct_mgmt( pam_handle_t *pamh, int flags, } if (geteuid() != 0) { - _log_err(pamh, LOG_DEBUG, "Cannot access samba password database, not running as root."); + _log_err( LOG_DEBUG, "Cannot access samba password database, not running as root."); return PAM_AUTHINFO_UNAVAIL; } diff --git a/source/pam_smbpass/pam_smb_passwd.c b/source/pam_smbpass/pam_smb_passwd.c index de5310761f7..326a0b59e7c 100644 --- a/source/pam_smbpass/pam_smb_passwd.c +++ b/source/pam_smbpass/pam_smb_passwd.c @@ -130,7 +130,7 @@ int pam_sm_chauthtok(pam_handle_t *pamh, int flags, } if (geteuid() != 0) { - _log_err(pamh, LOG_DEBUG, "Cannot access samba password database, not running as root."); + _log_err( LOG_DEBUG, "Cannot access samba password database, not running as root."); return PAM_AUTHINFO_UNAVAIL; } |