diff options
Diffstat (limited to 'sesman/verify_user_bsd.c')
-rw-r--r-- | sesman/verify_user_bsd.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sesman/verify_user_bsd.c b/sesman/verify_user_bsd.c index 3000de99..1e99f567 100644 --- a/sesman/verify_user_bsd.c +++ b/sesman/verify_user_bsd.c @@ -47,7 +47,7 @@ extern struct config_sesman* g_cfg; /* in sesman.c */ /******************************************************************************/ /* returns boolean */ -long DEFAULT_CC +long auth_userpass(const char *user, const char *pass, int *errorcode) { int ret = auth_userokay(user, NULL, "auth-xrdp", pass); @@ -56,40 +56,40 @@ auth_userpass(const char *user, const char *pass, int *errorcode) /******************************************************************************/ /* returns error */ -int DEFAULT_CC +int auth_start_session(long in_val, int in_display) { return 0; } /******************************************************************************/ -int DEFAULT_CC +int auth_end(long in_val) { return 0; } /******************************************************************************/ -int DEFAULT_CC +int auth_set_env(long in_val) { return 0; } /******************************************************************************/ -int DEFAULT_CC +int auth_check_pwd_chg(const char *user) { return 0; } -int DEFAULT_CC +int auth_change_pwd(const char *user, const char *newpwd) { return 0; } -int DEFAULT_CC +int auth_stop_session(long in_val) { return 0; @@ -104,7 +104,7 @@ auth_stop_session(long in_val) * */ -static int DEFAULT_CC +static int auth_crypt_pwd(const char *pwd, const char *pln, char *crp) { return 0; @@ -115,7 +115,7 @@ auth_crypt_pwd(const char *pwd, const char *pln, char *crp) * @return 1 if the account is disabled, 0 otherwise * */ -static int DEFAULT_CC +static int auth_account_disabled(struct spwd* stp) { return 0; |