Permalink
Switch branches/tags
Commits on Jul 24, 2012
  1. Multiple Changes

    russoz committed May 6, 2012
    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>
Commits on Apr 22, 2012
  1. searchable directory!

    russoz committed Apr 21, 2012
    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>
Commits on Aug 13, 2011
  1. added version spec for File::Path

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

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

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

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

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

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

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

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

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

    russoz committed Nov 15, 2010
  2. DIST VERSION 0.0.12

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

    russoz committed Nov 8, 2010
    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
Commits on Nov 8, 2010
  1. DIST VERSION 0.0.10

    russoz committed Nov 8, 2010
  2. Multiple changes

    russoz committed Nov 8, 2010
    - 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
  3. new example files

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

    russoz committed Nov 8, 2010
  5. minor cosmetic change

    russoz committed Nov 8, 2010
  6. bumped version to 0.0.10

    russoz committed Nov 8, 2010
  7. improved mkdist

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

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

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

    russoz committed Nov 6, 2010
  3. LDIF file for testing

    russoz committed Nov 6, 2010