[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: SLAPD: Should access checks take place before filter matching?



For clarity:

current code:

userPassword	filter				result
secret		(userPassword=secret)		Undefined
secret		(!(userPassword=secret))	Undefined
notsecret	(userPassword=secret)		Undefined
notsecret	(!(userPassword=secret))	Undefined

suggested code:

userPassword	filter				result
secret		(userPassword=secret)		Undefined
secret		(!(userPassword=secret))	Undefined
notsecret	(userPassword=secret)		False
notsecret	(!(userPassword=secret))	True