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

Re: ldap tool result codes



Pierangelo Masarati wrote:
Maybe we should change all the LDAP tools to always return some
LDAP error code, and some special code when it cannot or when an
LDAP code does not make sense?

The point is: LDAP error codes are integers, while command return codes
for portability __should__ limited to "chars" (o->255) as far as I can
tell (please correct me). I'd prefer LDAP error codes, too (at least the
most "popular" ones, which are well below 255).
Right. 0-255 for exit status.

--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/