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

LDAP query for DirXML-Associations

572 views
Skip to first unread message

Tim Bailen

unread,
Sep 5, 2002, 11:30:16 AM9/5/02
to
Hi,

Does anyone know how to write an LDAP query for attributes that use the
"path" syntax (for example, the DirXML-Association attribute.)

I would like to be able to query my directory to find out what objects have
a DirXML association for a particular driver.

A search filter of
(DirXML-Associations=*) returns any object that has a DirXML-Association.

I would expect
(DirXML-Associations=cn*) to do the same (since associations start with the
dn to the driver that the association is for), but this doesn't return
anything. I am guessing it is because the attribute DirXML-Associations is
of type "path" instead of type "string".

Any suggestions?

Thanks,
Tim


Israel Forst

unread,
Sep 5, 2002, 11:38:39 AM9/5/02
to
Tim

This is probably what you are looking for

Retrieve list of Distinguished Names for users with processed DirXML
associations to a particular driver under the container O=Novell
ldapsearch -h nw6 -D cn=admin,o=novell -w password –b o=novell
"dirxml-associations=cn=NDSToNDS flat,cn=driver-set,ou=servers,o=novell#1#*"
“dirxml-associations”

Retrieve list of Distinguished Names for users with pending DirXML
associations to a particular driver under [Root]
ldapsearch -h nw6 -D cn=admin,o=novell -w password
"dirxml-associations=cn=NDSToNDS-flat,cn=driver-set,ou=servers,o=novell#2#*"
“dirxml-associations”

Hope this helps,
Israel

>>> Tim Bailen<timothybailen@[NOSPAM].alliantenergy.com> 09/05/02 11:30AM

Tim Bailen

unread,
Sep 6, 2002, 4:44:44 PM9/6/02
to
Perfect. Thanks.

"Israel Forst" <isr...@nospam.acedsl.don'tspam.com> wrote in message
news:3UKd9.8701$Cj6.2...@prv-forum2.provo.novell.com...


> Tim
>
> This is probably what you are looking for
>
> Retrieve list of Distinguished Names for users with processed DirXML
> associations to a particular driver under the container O=Novell

> ldapsearch -h nw6 -D cn=admin,o=novell -w password -b o=novell

0 new messages