File: server_controls.feature

package info (click to toggle)
libnet-ldapapi-perl 3.0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 576 kB
  • sloc: perl: 3,913; ansic: 9; makefile: 8
file content (21 lines) | stat: -rw-r--r-- 1,121 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Feature: Using server controls to control results
 As a directory consumer
 I want to ensure that I can use server controls when querying the directory
 In order to be able to utilise the extended features of my directory

 Background:
   Given a usable Net::LDAPapi class

 Scenario: Can use the Server Side Sort control and Virtual List View Control
   Given a Net::LDAPapi object that has been connected to the LDAP server
   And the server side sort control definition
   And the virtual list view control definition
   When I've bound with default authentication to the directory
   And I've created a server side sort control
   And I've created a virtual list view control
   And I've searched for records with scope LDAP_SCOPE_SUBTREE, with server controls server side sort and virtual list view
   Then the search result is LDAP_SUCCESS
   And the search count matches
   And using next_entry for each entry returned the dn and all attributes using next_attribute are valid
   And the server side sort control was successfully used
   And the virtual list view control was successfully used