Status: Dev backlog
Affects Version/s: 7.0.0
Fix Version/s: None
Component/s: ease of use
The Javadoc says, "Returns the search scope having the specified name as defined in RFC 4511 section 184.108.40.206."
Specifies the scope of the Search to be performed. The semantics (as
described in [X.511]) of the defined values of this field are:
baseObject: The scope is constrained to the entry named by
singleLevel: The scope is constrained to the immediate
subordinates of the entry named by baseObject.
wholeSubtree: The scope is constrained to the entry named by
baseObject and to all its subordinates.
So you might think you can use the string values shown in the list. But why you try, it doesn't work:
Instead you need to use sub, for example.