1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

s4-ldb: ldap attribute names can contain a '.'

When they are of the form of OIDs
This commit is contained in:
Andrew Tridgell 2009-09-15 14:07:43 -07:00
parent 08f144777d
commit 7b3b66d7a2

View File

@ -267,7 +267,8 @@ static enum ldb_parse_op ldb_parse_filtertype(void *mem_ctx, char **type, char *
p++;
}
while ((isascii(*p) && isalnum((unsigned char)*p)) || (*p == '-')) { /* attribute names can only be alphanums */
while ((isascii(*p) && isalnum((unsigned char)*p)) || (*p == '-') || (*p == '.')) {
/* attribute names can only be alphanums */
p++;
}