Author: metze Date: 2007-05-18 07:41:43 +0000 (Fri, 18 May 2007) New Revision: 22989
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22989 Log: allow '@foo' attributes searchable as we allow '@foo' attributes in all other places too... metze Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c =================================================================== --- branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c 2007-05-18 06:53:57 UTC (rev 22988) +++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c 2007-05-18 07:41:43 UTC (rev 22989) @@ -264,6 +264,10 @@ /* 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++; }