summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-15 14:07:43 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-15 14:52:29 -0700
commit7b3b66d7a22a4f2b460f979f4f489b09464f6946 (patch)
tree8b039a39dada94f081238f6a440a83bff879e9e1
parent08f144777d4fc8168d27e71fe107718ba99223c9 (diff)
downloadsamba-7b3b66d7a22a4f2b460f979f4f489b09464f6946.tar.gz
samba-7b3b66d7a22a4f2b460f979f4f489b09464f6946.tar.bz2
samba-7b3b66d7a22a4f2b460f979f4f489b09464f6946.zip
s4-ldb: ldap attribute names can contain a '.'
When they are of the form of OIDs
-rw-r--r--source4/lib/ldb/common/ldb_parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_parse.c b/source4/lib/ldb/common/ldb_parse.c
index 654a635abf..0fab0026f3 100644
--- a/source4/lib/ldb/common/ldb_parse.c
+++ b/source4/lib/ldb/common/ldb_parse.c
@@ -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++;
}