Refactored ldap/pdu and ldap/filter scripts

This commit is contained in:
blackhedd 2006-04-17 00:41:49 +00:00
parent a25e74e1e3
commit 4c9532f432
6 changed files with 12 additions and 9 deletions

View file

@ -41,6 +41,9 @@
require 'socket' require 'socket'
require 'net/ber'
require 'net/ldap/pdu'
require 'net/ldap/filter'
module Net module Net

View file

@ -5,10 +5,10 @@
$:.unshift "lib" $:.unshift "lib"
require 'net/ber' #require 'net/ber'
require 'net/ldap' require 'net/ldap'
require 'net/ldappdu' #require 'net/ldap/pdu'
require 'net/ldapfilter' #require 'net/ldap/filter'
require 'stringio' require 'stringio'

View file

@ -5,10 +5,10 @@
$:.unshift "lib" $:.unshift "lib"
require 'net/ber' #require 'net/ber'
require 'net/ldap' require 'net/ldap'
require 'net/ldappdu' #require 'net/ldap/pdu'
require 'net/ldapfilter' #require 'net/ldap/filter'
require 'stringio' require 'stringio'

View file

@ -190,10 +190,10 @@ if __FILE__ == $0
$logger.info "adding ../lib to loadpath, to pick up dev version of Net::LDAP." $logger.info "adding ../lib to loadpath, to pick up dev version of Net::LDAP."
$:.unshift "../lib" $:.unshift "../lib"
require 'net/ber' #require 'net/ber'
require 'net/ldappdu'
require 'net/ldap' require 'net/ldap'
require 'net/ldapfilter' #require 'net/ldap/pdu'
#require 'net/ldap/filter'
EventMachine.run { EventMachine.run {
$logger.info "starting LDAP server on 127.0.0.1 port 3890" $logger.info "starting LDAP server on 127.0.0.1 port 3890"