#include "ConfigFile.h" #include <string> #ifndef PASSFILE #define PASSFILE class PassFile : public ConfigFile { private: string GetDefault() { return string("# AuthCheck File Based Authentication List\n\ #\n\ # Each user and pass word should be listed in the format \"user = password\"\n\ #JoeBloggs = unsafe\n\ "); } string GetFilename() { return string("AuthList.txt"); } public: PassFile(string Filename="") { File = Filename; setup(); } }; #endif #ifndef FILECHECK #define FILECHECK int FileCheck( char *file, char *user, char *pass); #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 7332 | Nick Poole |
Preliminary version of AuthCheck A multi-stage authentication application for use as an authentication trigger. Currently only tested against an LDAP server without TLS and against a flat file with plain-text passwords. (Under Windows XP). ToDo: Test against TLS enabled LDAP. Test against AD's LDAP interface. Test build on *nix. Add MD5 hashed flat file mode. Add DB modes (SQLite, MySQL, etc). |