Hi Al
objectClass is a multivalued attribute. "user" is included in the ojbjectClass
attribute value for all computer objects through class inheritance. You can see this
quite clearly if you use LDP to view the attributes of a computer object.
This is the reason why your query returns computer objects in addition to user objects.
An alternative is to use the objectCategory attribute as this is single valued.
Simply substitutue objectCategory for objectClass in your query string and it should
work.
Tony
www.activedir.org
---------- Original Message ----------------------------------
From: Al Lilianstrom <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Thu, 23 May 2002 09:56:01 -0500
I'm using ldifde to query my DC for a list of users - no matter where
they are located. I'm trying to key on the objectclass: user attribute
that all user accounts have. If I do something like
C:\ldifde -m -f tmp.txt -r "objectClass=user" -l dn,objectclass
tmp.txt contains both user accounts and computer accounts. Computer
accounts do not have the objectclass: user attribute in them.
I've also tried -r "(objectClass=user)" with the same results.
Any ideas as to what I'm doing wrong?
al
--
Al Lilianstrom
CD/OSS/CSI
[EMAIL PROTECTED]
List info : http://www.activedir.org/mail_list.htm
List FAQ : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/mail_list.htm
List FAQ : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/