git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d0005
)
s4-ldb: ldap attribute names can contain a '.'
author
Andrew Tridgell
<tridge@samba.org>
Tue, 15 Sep 2009 21:07:43 +0000
(14:07 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 16 Sep 2009 01:45:43 +0000
(18:45 -0700)
When they are of the form of OIDs
source4/lib/ldb/common/ldb_parse.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_parse.c
b/source4/lib/ldb/common/ldb_parse.c
index 654a635abf1d7edb016659d2de3b965b2f1063a7..0fab0026f39bbcd1ae97938865e1f08f0489df73 100644
(file)
--- 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++;
}