Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 25, 2012
  1. @russoz

    Bug fix, small improvements

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

    Multiple Changes

    russoz authored
    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. @russoz

    searchable directory!

    russoz authored
    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. @russoz

    added version spec for File::Path

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

    using perl 5.010

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

    make Perl::Critic happy

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

    removed explicit tests, fixed version in LDIFStore

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

    moved to Dist::Zilla

    russoz authored
    Signed-off-by: Alexei Znamensky <russoz@cpan.org>
Commits on Nov 21, 2010
  1. @russoz

    created search method

    russoz authored
  2. @russoz
Commits on Nov 15, 2010
  1. @russoz

    Fixed root_id => root_dn in POD docs

    russoz authored
    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. @russoz

    DIST VERSION 0.0.10

    russoz authored
  2. @russoz
  3. @russoz

    Multiple changes

    russoz authored
    - 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
  4. @russoz
  5. @russoz

    minor cosmetic change

    russoz authored
  6. @russoz

    bumped version to 0.0.10

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

    bumped version up to 0.0.9

    russoz authored
  2. @russoz

    bumped version up to 0.0.9

    russoz authored
Commits on Nov 2, 2010
  1. @russoz
  2. @russoz
Commits on Oct 31, 2010
  1. @russoz

    DIST VERSION 0.0.7

    russoz authored
  2. @russoz

    Docs and glitches in SimpleServer.pm

    russoz authored
    * No need to declare Net::Server options for the datastore or the
      protocol handler
    * Option renamed from root_id to root_dn
    * Improved the documentation for the file - passing POD coverage test now
  3. @russoz
  4. @russoz

    Improved legibility and rewrote _open_ldif()

    russoz authored
    * Changed the LDIF object key name in the object hash
    * Re-wrote the _open_ldif() function
  5. @russoz
Commits on Oct 30, 2010
  1. @russoz

    Started working on the Net::Server functions

    russoz authored
    * Bumped version to 0.0.7
    * Removed unused 'use' clauses
    * Added use for ProtocolHandler
    * Using Net::Server, but trying some crazy workaround with import() to allow
      users to choose whichever Net::Server personality they want.
    * local sub ref into $_add_option, support to adding options to Net::Server
    * Overwritten Net::Server::options(), to provide the opts:
      - store
      - data
      - handler
      - root_id
      - root_pw
    * Overwritten Net::Server::defaults(), to provide the default values for:
      - host
      - port
      - proto
      - root_id
      - root_pw
      - syslog_ident
      - conf_file
    * Added post_configure_hook() to initialize the data store using LDIFStore
    * Added process_request() which simply create a ProtocolHandler instance to
      handle the LDAP protocol, to provide info from the LDIFStore
    * Added links to Net::Server::LDAP and Net::Server to the documentation
  2. @russoz
  3. @russoz

    updated dependency list

    russoz authored
    Net::LDAP::Server <next> version, after I submitted a patch to aar@cpan.org
Commits on Oct 15, 2010
  1. @russoz

    added dependencies documentation

    russoz authored
    Net::LDAP
    UNIVERSAL::isa
  2. @russoz

    Requires Net::LDAP, duh

    russoz authored
  3. @russoz

    DIST VERSION 0.0.5

    russoz authored
  4. @russoz

    improved documentation

    russoz authored
  5. @russoz
  6. @russoz
Something went wrong with that request. Please try again.