let's get it right for a change
This commit is contained in:
parent
acfa64d159
commit
105fb102d5
1 changed files with 2 additions and 2 deletions
|
@ -1087,12 +1087,12 @@ module Net
|
|||
:attributes=>[:subschemaSubentry]
|
||||
)
|
||||
return Entry.new unless (rs and rs.first)
|
||||
subschema_name = rs.subschemasubentry
|
||||
subschema_name = rs.first.subschemasubentry
|
||||
return Entry.new unless (subschema_name and subschema_name.first)
|
||||
|
||||
rs = search(
|
||||
:ignore_server_caps=>true,
|
||||
:base=>subschema_name,
|
||||
:base=>subschema_name.first,
|
||||
:scope=>SearchScope_BaseObject,
|
||||
:filter=>"objectclass=*",
|
||||
:attributes=>[:objectclasses, :attributetypes]
|
||||
|
|
Loading…
Reference in a new issue