directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Bind request tests and error handling
Date Tue, 02 Feb 2010 00:05:38 GMT
Hi,

I'm currently implementing all the tests we described for the 
BindRequest operation, and in some corner cases (like a bind with an 
empty name but some credentials), I get some NO_SUCH_ERROR resultCode.

I think this is wrong. For Simple Bind, we should only get three kind of 
resultCode :
- INVALID_DN_SYNTAX (for instance, if the principal is 'acme')
- SUCCESS (no need to explain ;)
- UNWILLING_TO_PERFORM when we don't have a name nor a credentials 
(Unauthenticated bind)
- INVALID_CREDENTIALS for all the other cases

(see RFC 4513)

I will fix this.

-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.nextury.com



Mime
View raw message