summaryrefslogtreecommitdiff
path: root/source4/lib
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 18:45:43 -0700
commit10e25fc5e90e9eaabedc2f3477ac1e8947c88c77 (patch)
tree62ef35c75a812c7bca36c59d3b90cd0c3095d06f /source4/lib
parent03d0005b250ebd7e632e5cd5cbb8e76fceb1bbee (diff)
downloadsamba-10e25fc5e90e9eaabedc2f3477ac1e8947c88c77.tar.gz
samba-10e25fc5e90e9eaabedc2f3477ac1e8947c88c77.tar.bz2
samba-10e25fc5e90e9eaabedc2f3477ac1e8947c88c77.zip
s4-ldb: ldap attribute names can contain a '.'
When they are of the form of OIDs
Diffstat (limited to 'source4/lib')
-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++;
}