Commit 20829356 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

so SIDs are hex

parent 02e5d89c
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment