Permalink
Commits on Jul 25, 2012
  1. Bug fix, small improvements

    - removed the Net::Server pre-requisite from dist.ini by mistake
    - variable for default log file
    - testing for config file existence is useless, since Net::Server checks and
      dies if the file is not readable
    - fix documentation in lib/Net/LDAP/SimpleServer.pm
    - tidy
    
    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Jul 25, 2012
Commits on Jul 24, 2012
  1. Multiple Changes

    Small fixes
    - fixed copyright date
    - lost common sense
    - some cleanup in useless comments
    - added ldapd.pl script
    - changed option name from 'ldap_data' to 'data_file'
    - changed server basedir to {home}/.ldapsimple
    - log file goes into {basedir}/server.log by default,
      with no additional directory level
    - changed default configuration file to {basedir}/server.conf
    - added option 'allow_anon' to control whether the server accepts anonymous
      binds or not
    
    Improved tests
    - added ldif file with multiple entries for testing
    - changed server log path in all tests to /tmp/ldapserver.log
    - renamed test files
    - fixed t/03-param.t -> t/13-param.t
    -- more tests
    -- better test logic (functions server_ok() and server_nok())
    -- added test names
    - fixing t/04-bind.t -> t/14-bind.t
    -- replace 'use constant' with variables
    -- improved test messages
    - test for unsupported authentication mechanism
    - refactored common test code to t/lib/Helper.pm
    
    SimpleServer.pm
    - adding Net::Server to @ISA, rather than assigning it
    - using variables rather than constants
    - only creates a store if one is not provided
    
    ProtocolHandler
    - improved invokation style for the constructor - now everything goes inside
      the hash reference
    - explicitly exporting the symbols from Net::LDAP::Constant
    - improved error mesages
    - added option 'allow_anon' to control whether to accept anonymous binds
    
    Tidy
    
    Work still in progress ...
    
    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed May 6, 2012
Commits on Apr 22, 2012
  1. searchable directory!

    ProtocolHandler changes
    - added unbind operation
    - wrote an useful search operation
    - improved documentation
    
    LDIFstore changes
    - removed filter method
    - added and accessor method list to the list of entries
    - improved documentation
    
    Improved tests
    - improved some test messages
    - add more test to the ldif store
    - added test to the search function
    - simplified the example ldif, to ease debugging ;-)
    
    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Apr 21, 2012
Commits on Aug 13, 2011
  1. added version spec for File::Path

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Aug 13, 2011
Commits on Jul 31, 2011
  1. small details

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Jul 31, 2011
  2. using perl 5.010

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Jul 31, 2011
  3. make Perl::Critic happy

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Jul 31, 2011
  4. removed explicit tests, fixed version in LDIFStore

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Jul 31, 2011
  5. moved to Dist::Zilla

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    committed Jul 31, 2011
Commits on Dec 9, 2010
  1. requires perl 5.8.0, per *STDIN{IO}

    - see perlref for technical explanation
    committed Dec 9, 2010
Commits on Nov 21, 2010
  1. created search method

    committed Nov 21, 2010
  2. cosmetic change on the output

    committed Nov 21, 2010
Commits on Nov 15, 2010
  1. added TODO file

    committed Nov 15, 2010
  2. DIST VERSION 0.0.12

    committed Nov 15, 2010
  3. Fixed root_id => root_dn in POD docs

    added t/04.bind.t
    
    Bumped version to 0.0.11
    
    Added configuration for port 20389, to allow non-root tests
    
    added common::sense and IO::Pipe
    
    t/03.param.t revamped
    
    now it is a forking test, with an alarm signal
    
    minor cosmetic change
    
    some debug support + one more test
    
    DIST VERSION 0.0.11
    
    Bumped version to 0.0.12
    
    changed paramter from "data" to "ldap_data"
    
    fixed a test, added another one
    
    refrained from passing custom opts in new(), passing on run()
    
    multiple changes
    
    - refrained from passing custom options to new(), passing them to run() instead
    - fixed parameter for Net::LDAP
    - added more verbose messages when LDAP fails
    - added another test, to unbind from a server
    
    cosmetic changes in t/03.params.t
    
    added authenticated and authenticated-wrong-pw tests
    
    added test for different case in bind dn
    
    implemented bind functionality
    
    - ProtocolHandler - implementing bind function
      - replaced strict/warnings with common::sense
      - added new fields root_dn and root_pw
      - implemented _get_ldap_constant() and _make_result() to, respectively,
        lookup a LDAP code (into Net::LDAP::Constant) and to make a proper
        LDAP response based on the code provided
      - changed new() to receive a hashref as 1st-param. It must contain keys
        store and root_dn.
      - tests whether root_dn is canonical_dn
      - bind() function
    - changed SimpleServer to pass root_dn and root_pw down into
      ProtocolHandler
    - changed t/02.handler.t to pass hashref rather than a single param
      into ProtocolHandler
    - added more tests to t/02.handler.t for the new parameter combinations
    - fixed t/04.bind.t to spawn the server using the designated password as
      the root_pw
    
    removed the temporary files that were added by mistake
    
    Updated documentation for ProtocolHandler
    committed Nov 8, 2010
Commits on Nov 8, 2010
  1. DIST VERSION 0.0.10

    committed Nov 8, 2010
  2. Multiple changes

    - Base config directory (BASEDIR) is now {HOME}/.ldapsimpleserver/
    - Creates {BASEDIR} if it does not exist
    - Moved default config file from
        {HOME}/.ldapsimpleserver.conf    to
        {BASEDIR}/config
    - Creates a {LOGDIR} = {BASEDIR}/log to hold log file and pid file
    - conf_file is set only if there is a file {BASEDIR}/config
    - log_file is set by default to {LOGDIR}/server.log
    - pid_file is set by default to {LOGDIR}/server.pid
    - Changes reflected in POD
    committed Nov 8, 2010
  3. new example files

    committed Nov 8, 2010
  4. new exaqmple and test files

    committed Nov 8, 2010
  5. minor cosmetic change

    committed Nov 8, 2010
  6. bumped version to 0.0.10

    committed Nov 8, 2010
  7. improved mkdist

    committed Nov 8, 2010
Commits on Nov 7, 2010
  1. mkdist: format of Changes file

    committed Nov 7, 2010
Commits on Nov 6, 2010
  1. DIST VERSION 0.0.9

    committed Nov 6, 2010
  2. test for building a LDIFStore

    committed Nov 6, 2010
  3. LDIF file for testing

    committed Nov 6, 2010