Skip to content
Commits on Jul 25, 2012
  1. @russoz

    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>
    russoz committed Jul 25, 2012
Commits on Jul 24, 2012
  1. @russoz

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

    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>
    russoz committed Apr 21, 2012
Commits on Aug 13, 2011
  1. @russoz

    added version spec for File::Path

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

    small details

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

    using perl 5.010

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

    make Perl::Critic happy

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    russoz committed Jul 31, 2011
  4. @russoz

    removed explicit tests, fixed version in LDIFStore

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

    moved to Dist::Zilla

    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
    russoz committed Jul 31, 2011
Commits on Dec 9, 2010
  1. @russoz

    requires perl 5.8.0, per *STDIN{IO}

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

    created search method

    russoz committed Nov 21, 2010
  2. @russoz

    cosmetic change on the output

    russoz committed Nov 21, 2010
  3. @russoz
Commits on Nov 15, 2010
  1. @russoz

    added TODO file

    russoz committed Nov 15, 2010
  2. @russoz

    DIST VERSION 0.0.12

    russoz committed Nov 15, 2010
  3. @russoz

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

    DIST VERSION 0.0.10

    russoz committed Nov 8, 2010
  2. @russoz
  3. @russoz

    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
    russoz committed Nov 8, 2010
  4. @russoz
  5. @russoz
  6. @russoz
  7. @russoz
  8. @russoz
  9. @russoz

    new example files

    russoz committed Nov 8, 2010
  10. @russoz

    new exaqmple and test files

    russoz committed Nov 8, 2010
  11. @russoz
  12. @russoz

    minor cosmetic change

    russoz committed Nov 8, 2010
  13. @russoz

    bumped version to 0.0.10

    russoz committed Nov 7, 2010
  14. @russoz

    improved mkdist

    russoz committed Nov 7, 2010
Commits on Nov 7, 2010
  1. @russoz

    mkdist: format of Changes file

    russoz committed Nov 6, 2010
Commits on Nov 6, 2010
  1. @russoz

    DIST VERSION 0.0.9

    russoz committed Nov 6, 2010
  2. @russoz
  3. @russoz

    test for building a LDIFStore

    russoz committed Nov 6, 2010
  4. @russoz

    LDIF file for testing

    russoz committed Nov 6, 2010
Something went wrong with that request. Please try again.