summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass/pam_smb_acct.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-05-09 04:05:37 +0000
committerGerald Carter <jerry@samba.org>2002-05-09 04:05:37 +0000
commit9ac3ca512a4d6a99848c708d1b83adcb0d452b59 (patch)
tree75fd2b0c09edde0446a6e85c625d11652f17ca2e /source3/pam_smbpass/pam_smb_acct.c
parent6337369a903b07ef42c050f77d439d8b11b7f6bf (diff)
downloadsamba-9ac3ca512a4d6a99848c708d1b83adcb0d452b59.tar.gz
samba-9ac3ca512a4d6a99848c708d1b83adcb0d452b59.tar.bz2
samba-9ac3ca512a4d6a99848c708d1b83adcb0d452b59.zip
compile fixes; needs testing
(This used to be commit a3f68a963c0dc5ba5e8601633e9b532fa32145cd)
Diffstat (limited to 'source3/pam_smbpass/pam_smb_acct.c')
-rw-r--r--source3/pam_smbpass/pam_smb_acct.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/pam_smbpass/pam_smb_acct.c b/source3/pam_smbpass/pam_smb_acct.c
index 8d91c456bf..0803ef82a2 100644
--- a/source3/pam_smbpass/pam_smb_acct.c
+++ b/source3/pam_smbpass/pam_smb_acct.c
@@ -33,6 +33,7 @@
#include "support.h"
+
/*
* pam_sm_acct_mgmt() verifies whether or not the account is disabled.
*
@@ -45,15 +46,12 @@ int pam_sm_acct_mgmt( pam_handle_t *pamh, int flags,
int retval;
const char *name;
- const char *p;
SAM_ACCOUNT *sampass = NULL;
extern BOOL in_client;
/* Samba initialization. */
setup_logging( "pam_smbpass", False );
- charset_initialise();
- codepage_initialise(lp_client_code_page());
in_client = True;
ctrl = set_ctrl( flags, argc, argv );