summaryrefslogtreecommitdiff
path: root/accel-pptpd/pwdb.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-08-23 18:27:31 +0400
committerKozlov Dmitry <dima@server>2010-08-23 18:33:09 +0400
commit9e52c15995a90fff71087cda4bb0c600b1d1d28d (patch)
treeac49c8cc0eeba2d2a0833b68d5809fd568ef7560 /accel-pptpd/pwdb.c
parent18d93f51ef96af6a6779c3880ff5d06f49467cc4 (diff)
downloadaccel-ppp-9e52c15995a90fff71087cda4bb0c600b1d1d28d.tar.gz
accel-ppp-9e52c15995a90fff71087cda4bb0c600b1d1d28d.zip
implemented chap authentication
fixed auth type selection when configure-nak received
Diffstat (limited to 'accel-pptpd/pwdb.c')
-rw-r--r--accel-pptpd/pwdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/accel-pptpd/pwdb.c b/accel-pptpd/pwdb.c
index 12130b34..4a03846e 100644
--- a/accel-pptpd/pwdb.c
+++ b/accel-pptpd/pwdb.c
@@ -5,3 +5,8 @@ int pwdb_check(struct ppp_t *ppp,const char *username,const char *password)
{
return 0;
}
+
+char *pwdb_get_passwd(struct ppp_t *ppp, const char *username)
+{
+ return strdup("test");
+}