From 20829356574351b6756f6f557b85576a73ff6dd7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 27 Aug 2007 07:09:57 +0000 Subject: [PATCH] so SIDs are hex --- servers/slapd/schema_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5