summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2008-01-16 12:28:52 +0300
committerAlexander Bokovoy <ab@samba.org>2008-01-16 12:42:26 +0300
commitb9d21dd668d3032643bf8d465d7b988de2d2f49a (patch)
tree31fe929bf361f6652ba0b8c168a24d5d9d2cae5c /source3
parentf426949e8861b3a97d321516edbcbd771b7d6273 (diff)
downloadsamba-b9d21dd668d3032643bf8d465d7b988de2d2f49a.tar.gz
samba-b9d21dd668d3032643bf8d465d7b988de2d2f49a.tar.bz2
samba-b9d21dd668d3032643bf8d465d7b988de2d2f49a.zip
Fix build for pam_smbpass
Signed-off-by: Alexander Bokovoy <ab@samba.org> (This used to be commit dc568fd52ae8ffaaaef2015c5a207ed9a58a9a7f)
Diffstat (limited to 'source3')
-rw-r--r--source3/pam_smbpass/pam_smb_acct.c2
-rw-r--r--source3/pam_smbpass/pam_smb_passwd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/pam_smbpass/pam_smb_acct.c b/source3/pam_smbpass/pam_smb_acct.c
index 59ed4eee8b..b9bcb31091 100644
--- a/source3/pam_smbpass/pam_smb_acct.c
+++ b/source3/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/source3/pam_smbpass/pam_smb_passwd.c b/source3/pam_smbpass/pam_smb_passwd.c
index de5310761f..326a0b59e7 100644
--- a/source3/pam_smbpass/pam_smb_passwd.c
+++ b/source3/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;
}