Thanks for the explanation, makes sense now. Well... It makes sense why I was getting the computer accounts in the export anyway.
Thanks again, Mike. -----Original Message----- From: Tony Murray [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 12:14 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] Export of users includes computer accounts. The reason for the unexpected result from your first search filter is because the object class "computer" is a sub class of the "user" object class. So when you search using the objectClass=user filter the search will include any sub-classes of "user". If you look at the attributes of a computer object using, for example, LDP, you will see something like this. objectClass: top; person; organizationalPerson; user; computer; The "computer" object class has some attributes of its own, but also inherits all the attributes from the "user" object class. This means that you could (if you wanted to) assign, for example, emloyeeID and telephoneNumber attribute values for a computer object. Tony ---------- Original Message ---------------------------------- From: "Mike Newell" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Thu, 20 Nov 2003 15:34:45 -0800 That did it! Thanks Hunter, Mike -----Original Message----- From: Coleman, Hunter [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 3:29 PM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] Export of users includes computer accounts. Change your filter to something like "(&(objectClass=user)(objectCategory=person))" and give it a go. Hunter -----Original Message----- From: Mike Newell [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 4:16 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] Export of users includes computer accounts. Hey all, I'm looking to export users to import into another forest as contacts. I run the command below to export users from my Windows 2000 AD. CSVDE -f contacts.csv -r "(&(objectClass=user))" -l "objectClass,displayName,DN,mailNickname,proxyAddress,targetAddress,mail " It exports all of the user info but it also includes the Computer accounts in the export. Anyone know why this export command would include Computer accounts? More curious as to what I'm doing wrong more than anything. Thanks, Mike. 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/ 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/ 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/
