Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Syntax for Query Search-Attr with wildcards needed ?

56 views
Skip to first unread message

Jörg Dähler

unread,
Jul 1, 2003, 7:54:38 AM7/1/03
to
Hi,

is there a possibility to query with a wildcard value ?

For example (this example does'nt work):

<query class-name="User" dest-dn="{$org_srcdn}" event-id="0"
scope="subordinates">
<search-attr attr-name="Surname">
<value>A*</value>
</search-attr>
<read-attr attr-name="Aliased Object Name"/>
</query>

Thanks
Jörg


Perin Blanchard, DevNet SysOp 43

unread,
Jul 1, 2003, 10:23:21 AM7/1/03
to
It depends on the target of the query. Some application drivers support
wildcards in their queries; this generally depends on whether the
application supports wildcards and whether the driver author thought to
support them. In general, however, you cannot rely on wildcards being
supported.
--
Perin Blanchard, DevNet SysOp 43

"Jörg Dähler" <j...@netzwerk-design.de> wrote in message
news:2EeMa.3348$2k7....@prv-forum2.provo.novell.com...

Jörg Dähler

unread,
Jul 1, 2003, 10:48:53 AM7/1/03
to
ok, but the application is the edirectory - a query from a ads driver
subscriber to edir !?

Output is success with no result elements !?

Some other hints ?

Regards
Jörg

"Perin Blanchard, DevNet SysOp 43" <devf...@novell.com> schrieb im
Newsbeitrag news:tPgMa.3514$2k7....@prv-forum2.provo.novell.com...

DirXMLRick

unread,
Jul 3, 2003, 3:48:11 AM7/3/03
to
DirXML just passes the search strings through. If the destination applications supports some form of wildcarding (as eDirectory does) then it works, but DirXML does nothing special to enable or disable it.

Cheers
Rick

>>> Jörg Dähler<j...@netzwerk-design.de> 7/1/2003 4:54:38 AM >>>

DirXMLRick

unread,
Jul 3, 2003, 3:52:06 AM7/3/03
to
Jörg
here is your example...

<nds dtdversion="1.0" ndsversion="8.5">
<input>
<query>
<search-class class-name="User"/>
<search-attr attr-name="CN">
<value>RickMoore*</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
[06/16/2003 16:33:40.38] Drvrs : TRACE: Pumping XDS to NDS
[06/16/2003 16:33:40.38] Drvrs : TRACE: Performing operation, op: query for:
[06/16/2003 16:33:41.28] Drvrs : TRACE: XSLT query: query result
[06/16/2003 16:33:41.29] Drvrs : TRACE: XSLT query: XML Document:
[06/16/2003 16:33:41.29] Drvrs : TRACE:
<nds dtdversion="1.1" ndsversion="8.6">
<source>
<product version="1.1a">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User" src-dn="\GENESIS_TREE\GENESIS\WORKFORCE\Active\RickMooreSanDiego" src-entry-id="320331">
<association state="pending"></association>
</instance>
<status event-id="" level="success"></status>
</output>
</nds>


>>> Jörg Dähler<j...@netzwerk-design.de> 7/1/2003 7:48:53 AM >>>

0 new messages