git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec69001
)
r22989: allow '@foo' attributes searchable as we allow '@foo' attributes
author
Stefan Metzmacher
<metze@samba.org>
Fri, 18 May 2007 07:41:43 +0000
(07:41 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:52:36 +0000
(14:52 -0500)
in all other places too...
metze
source/lib/ldb/common/ldb_parse.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/common/ldb_parse.c
b/source/lib/ldb/common/ldb_parse.c
index b0baaa2f7b8c8edf8fcf9e92c58e5d6bcb559cd8..4f608eed391a09f279606afd9ceab61d646b4f9e 100644
(file)
--- a/
source/lib/ldb/common/ldb_parse.c
+++ b/
source/lib/ldb/common/ldb_parse.c
@@
-264,6
+264,10
@@
static enum ldb_parse_op ldb_parse_filtertype(void *mem_ctx, char **type, char *
/* retrieve attributetype name */
t = p;
+ if (*p == '@') { /* for internal attributes the first char can be @ */
+ p++;
+ }
+
while ((isascii(*p) && isalnum((unsigned char)*p)) || (*p == '-')) { /* attribute names can only be alphanums */
p++;
}