summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_parse.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-15 14:08:21 -0700
committerAndrew Tridgell <tridge@samba.org>2009-09-15 14:08:21 -0700
commitf9c308664833ccba957050ac8a27c5e8a1b44e83 (patch)
tree2c1ca6a3c9c44e79f7dbb00bd52a60cd450af9fd /source4/lib/ldb/common/ldb_parse.c
parentdac0fb0b7c369255e0d07e47a11f6a0288019da1 (diff)
parentf2b5b5bb17910c8a2b709fd62e214c96da3fdd2d (diff)
downloadsamba-f9c308664833ccba957050ac8a27c5e8a1b44e83.tar.gz
samba-f9c308664833ccba957050ac8a27c5e8a1b44e83.tar.bz2
samba-f9c308664833ccba957050ac8a27c5e8a1b44e83.zip
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'source4/lib/ldb/common/ldb_parse.c')
-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++;
}