File tree Expand file tree Collapse file tree 1 file changed +22
-20
lines changed Expand file tree Collapse file tree 1 file changed +22
-20
lines changed Original file line number Diff line number Diff line change @@ -172,26 +172,28 @@ def load_test_data
172
172
173
173
require 'net/ldap'
174
174
175
- LdapServerAsnSyntax = Net ::BER . compile_syntax ( {
176
- :application => {
177
- :constructed => {
178
- 0 => :array , # LDAP BindRequest
179
- 3 => :array # LDAP SearchRequest
180
- } ,
181
- :primitive => {
182
- 2 => :string , # ldapsearch sends this to unbind
183
- } ,
184
- } ,
185
- :context_specific => {
186
- :primitive => {
187
- 0 => :string , # simple auth (password)
188
- 7 => :string # present filter
189
- } ,
190
- :constructed => {
191
- 3 => :array # equality filter
192
- } ,
193
- } ,
194
- } )
175
+ LdapServerAsnSyntax = Net ::BER . compile_syntax (
176
+ {
177
+ :application => {
178
+ :constructed => {
179
+ 0 => :array , # LDAP BindRequest
180
+ 3 => :array # LDAP SearchRequest
181
+ } ,
182
+ :primitive => {
183
+ 2 => :string , # ldapsearch sends this to unbind
184
+ } ,
185
+ } ,
186
+ :context_specific => {
187
+ :primitive => {
188
+ 0 => :string , # simple auth (password)
189
+ 7 => :string # present filter
190
+ } ,
191
+ :constructed => {
192
+ 3 => :array # equality filter
193
+ } ,
194
+ } ,
195
+ }
196
+ )
195
197
196
198
EventMachine . run do
197
199
$logger. info "starting LDAP server on 127.0.0.1 port 3890"
You can’t perform that action at this time.
0 commit comments