From: Pierangelo Masarati Date: Mon, 27 Aug 2007 07:09:57 +0000 (+0000) Subject: so SIDs are hex X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~64 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20829356574351b6756f6f557b85576a73ff6dd7;p=openldap so SIDs are hex --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 900f35a5d4..4ae9e43251 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -3493,9 +3493,9 @@ SIDNormalize( return LDAP_INVALID_SYNTAX; } - if ( !ASCII_DIGIT( val->bv_val[ 0 ] ) || - !ASCII_DIGIT( val->bv_val[ 1 ] ) || - !ASCII_DIGIT( val->bv_val[ 2 ] ) ) + if ( !ASCII_HEX( val->bv_val[ 0 ] ) || + !ASCII_HEX( val->bv_val[ 1 ] ) || + !ASCII_HEX( val->bv_val[ 2 ] ) ) { return LDAP_INVALID_SYNTAX; }