additional unit tests and partial support for filters in the test server.

This commit is contained in:
blackhedd 2006-04-17 17:57:33 +00:00
parent 7d08543d24
commit ca38bfc803
3 changed files with 185 additions and 7 deletions

View file

@ -50,6 +50,9 @@ module LdapServer
0 => :string, # simple auth (password)
7 => :string # present filter
},
:constructed => {
3 => :array # equality filter
},
}
}
@ -139,6 +142,10 @@ module LdapServer
:all
end
filters = pdu[1][6]
if filters.length > 0
p filters.ber_identifier
end
$ldif.each {|dn, entry|