From: Chris R. <chr...@me...> - 2001-03-08 09:55:50
|
ma...@mj... wrote: > Ok, > I have a question on scope. It's been so long since I had to do a > one level scope search and I don't have an active LDAP server > handy to test it out. > > I thought a one level search, searches all entries under a base > entry, including their children but not the base entry. > > But now I've heard that it only searches one level, that level under > the base but not their children. > > ie: > given a tree of: > o=airius.com > ou=people,o=airius.com > uid=...,ou=people,o=airius.com > ... > one level with a search base of o=airius.com, would only search > the ou=people entries? > > thanks, > > Mark > > Mark Wilcox > ma...@mj... > Got LDAP? > X.511 10.2.2 (Search arguments) says that base scope means just the baseObject, oneLevel scope means all the *immediate* subordinates but not the baseObject or any of the baseObject's grandchildren, and subtree scope means the baseObject and all subordinates. RFC 2251 4.5 (Search Operation) says roughly the same thing. So I think you heard right. Cheers, Chris |