additional unit tests and partial support for filters in the test server.
This commit is contained in:
parent
7d08543d24
commit
ca38bfc803
3 changed files with 185 additions and 7 deletions
|
@ -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|
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue