I think that the filter is broken when applied to OU objects (at least) since it seems to work other places.

I get tons of output - thousands on objects without the filter.

If I manually filter:
code:
   $objOU = GetObject($LDAP);
if $objou.class <> "organizationalunit" exit 0 endif

I only get OU's and no computers.
Can someone with AD please try to verify this issue?

[ 13 June 2002, 18:13: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/