Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.0.17

Jul 25, 2012

  1. Alexei Znamensky

    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>
    authored

Jul 24, 2012

  1. Alexei Znamensky

    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>
    authored

Apr 22, 2012

  1. Alexei Znamensky

    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>
    authored

Aug 13, 2011

  1. Alexei Znamensky

    added version spec for File::Path

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    authored

Jul 31, 2011

  1. Alexei Znamensky

    small details

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    authored
  2. Alexei Znamensky

    using perl 5.010

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    authored
  3. Alexei Znamensky

    make Perl::Critic happy

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    authored
  4. Alexei Znamensky

    removed explicit tests, fixed version in LDIFStore

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    authored
  5. Alexei Znamensky

    moved to Dist::Zilla

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    authored

Dec 09, 2010

  1. Alexei Znamensky

    requires perl 5.8.0, per *STDIN{IO}

    - see perlref for technical explanation
    authored

Nov 21, 2010

  1. Alexei Znamensky

    created search method

    authored
  2. Alexei Znamensky

    cosmetic change on the output

    authored
  3. Alexei Znamensky

    Creates the log directory if it does not exist

    authored

Nov 15, 2010

  1. Alexei Znamensky

    added TODO file

    authored
  2. Alexei Znamensky

    DIST VERSION 0.0.12

    authored
  3. Alexei Znamensky

    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
    authored

Nov 08, 2010

  1. Alexei Znamensky

    DIST VERSION 0.0.10

    authored
  2. Alexei Znamensky

    if needed creates directory for log_file and pid_file

    authored
  3. Alexei Znamensky

    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
    authored
  4. Alexei Znamensky

    added min version to Net::Server, added File::Path

    authored
  5. Alexei Znamensky

    better param checking in the constructors

    authored
  6. Alexei Znamensky

    added some tests for SimpleServer constructor

    authored
  7. Alexei Znamensky

    added a test for empty params on constructor

    authored
  8. Alexei Znamensky

    added test for non-existent ldif file as well

    authored
  9. Alexei Znamensky

    new example files

    authored
  10. Alexei Znamensky

    new exaqmple and test files

    authored
  11. Alexei Znamensky

    checking for (and sorting) MANIFEST file

    authored
  12. Alexei Znamensky

    minor cosmetic change

    authored
  13. Alexei Znamensky

    bumped version to 0.0.10

    authored
  14. Alexei Znamensky

    improved mkdist

    authored

Nov 07, 2010

  1. Alexei Znamensky

    mkdist: format of Changes file

    authored

Nov 06, 2010

  1. Alexei Znamensky

    DIST VERSION 0.0.9

    authored
  2. Alexei Znamensky

    added files to iand sorted MANIFEST

    authored
  3. Alexei Znamensky

    test for building a LDIFStore

    authored
  4. Alexei Znamensky

    LDIF file for testing

    authored
Something went wrong with that request. Please try again.