Refactored ldap/pdu and ldap/filter scripts
This commit is contained in:
parent
a25e74e1e3
commit
4c9532f432
6 changed files with 12 additions and 9 deletions
|
@ -41,6 +41,9 @@
|
|||
|
||||
|
||||
require 'socket'
|
||||
require 'net/ber'
|
||||
require 'net/ldap/pdu'
|
||||
require 'net/ldap/filter'
|
||||
|
||||
|
||||
module Net
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
$:.unshift "lib"
|
||||
|
||||
require 'net/ber'
|
||||
#require 'net/ber'
|
||||
require 'net/ldap'
|
||||
require 'net/ldappdu'
|
||||
require 'net/ldapfilter'
|
||||
#require 'net/ldap/pdu'
|
||||
#require 'net/ldap/filter'
|
||||
require 'stringio'
|
||||
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
$:.unshift "lib"
|
||||
|
||||
require 'net/ber'
|
||||
#require 'net/ber'
|
||||
require 'net/ldap'
|
||||
require 'net/ldappdu'
|
||||
require 'net/ldapfilter'
|
||||
#require 'net/ldap/pdu'
|
||||
#require 'net/ldap/filter'
|
||||
require 'stringio'
|
||||
|
||||
|
||||
|
|
|
@ -190,10 +190,10 @@ if __FILE__ == $0
|
|||
$logger.info "adding ../lib to loadpath, to pick up dev version of Net::LDAP."
|
||||
$:.unshift "../lib"
|
||||
|
||||
require 'net/ber'
|
||||
require 'net/ldappdu'
|
||||
#require 'net/ber'
|
||||
require 'net/ldap'
|
||||
require 'net/ldapfilter'
|
||||
#require 'net/ldap/pdu'
|
||||
#require 'net/ldap/filter'
|
||||
|
||||
EventMachine.run {
|
||||
$logger.info "starting LDAP server on 127.0.0.1 port 3890"
|
||||
|
|
Loading…
Reference in a new issue