Commit Graph

7 Commits

Author SHA1 Message Date
paul 40bc5d22a3 Implemented some parts of the LDAPv3 backend, moved account stuff:
* Merged Account with Backend::Basic.
 * Adapted the Handler and Backend for this change.
 * Implemented parts of Backend::LDAPv3 (init, hostnames).
 * Add auxiliary ildus.schema.
 * Fixed unit tests.


git-svn-id: svn+ssh://svn.luon.net/svn/ildus/trunk@9 65a33f86-aa00-0410-91be-cd1bf5efb309
2005-09-30 15:17:09 +00:00
paul 787f6fc97e Resolved typo of SetUserFirstError.
git-svn-id: svn+ssh://svn.luon.net/svn/ildus/trunk@8 65a33f86-aa00-0410-91be-cd1bf5efb309
2005-09-29 15:12:42 +00:00
paul ac69b92281 Fixed bug allowing PASS to be given before USER:
* Added a unit test for this case.
 * Added a TODO item about the protocol errors.
 * Added SetUserFirst protocol error and new mapping to error
   code 531 (protocol change!).
 * Adapated Handler#pass_cmd to raise the SetUserFirst error
   when a username has not been set.


git-svn-id: svn+ssh://svn.luon.net/svn/ildus/trunk@7 65a33f86-aa00-0410-91be-cd1bf5efb309
2005-09-29 15:09:45 +00:00
paul 046f4b7b1e Added unit test for the command handler.
git-svn-id: svn+ssh://svn.luon.net/svn/ildus/trunk@6 65a33f86-aa00-0410-91be-cd1bf5efb309
2005-09-29 14:38:39 +00:00
paul 1254787d03 Added multiple backend/plugin support:
* Transformed Server::Handler::Backend to Server::Handler::Backend::Basic.
 * Inheritance from this class will result in registering of the class
   for that type.
 * Written Server::Handler::Backend module for loading and getting backends.
 * Provided empty LDAP backend class.
 * Changed auth stub to not use rand() but to check whether the password
   is "foo".


git-svn-id: svn+ssh://svn.luon.net/svn/ildus/trunk@5 65a33f86-aa00-0410-91be-cd1bf5efb309
2005-09-28 14:51:32 +00:00
paul 55bf169b2c Implemented protocol parts:
* Added exceptions for all protocol errors (4xx, 5xx).
 * Implement commands: help, quit, adda, dela, updt, list.
 * Added Backend#prot_msg_body, let Backend#prot_msg do the outputting.
 * Added Server::Backend and Server::Account (empty stub implementations).


git-svn-id: svn+ssh://svn.luon.net/svn/ildus/trunk@4 65a33f86-aa00-0410-91be-cd1bf5efb309
2005-09-27 14:28:59 +00:00
paul 50062f3b9f Implemented parts of the server and protocol handler.
git-svn-id: svn+ssh://svn.luon.net/svn/ildus/trunk@3 65a33f86-aa00-0410-91be-cd1bf5efb309
2005-09-15 14:47:25 +00:00