diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-15 14:07:43 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-15 18:45:43 -0700 |
commit | 10e25fc5e90e9eaabedc2f3477ac1e8947c88c77 (patch) | |
tree | 62ef35c75a812c7bca36c59d3b90cd0c3095d06f | |
parent | 03d0005b250ebd7e632e5cd5cbb8e76fceb1bbee (diff) | |
download | samba-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
-rw-r--r-- | source4/lib/ldb/common/ldb_parse.c | 3 |
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++; } |