mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
r22989: allow '@foo' attributes searchable as we allow '@foo' attributes
in all other places too... metze (This used to be commit 4e32aafb9ebdcc70966aaa2e3891ec9a0959535d)
This commit is contained in:
parent
2ad24b9ba1
commit
fe1d56dd3b
@ -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++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user