Incidentally, you'll get a lot more control of the output from adfind with the 
-csv switch, depending on what you're trying to accomplish.

I usually just copy/paste from the distinguished name attribute in the 
Attribute Editor tab of ADUC when I need to paste a DN into something like this 
to avoid this sort of mistake.

Thanks,
Brian Desmond
br...@briandesmond.com

w - 312.625.1438 | c   - 312.731.3132

From: David Lum [mailto:david....@nwea.org]
Sent: Thursday, October 20, 2011 7:14 AM
To: NT System Admin Issues
Subject: RE: CSVDE is killing me

A HA!   I feel so dumb but that was totally it, thanks!!!

Dave

From: daemonR00t 
[mailto:daemonr...@sysadmin-cr.com]<mailto:[mailto:daemonr...@sysadmin-cr.com]>
Sent: Wednesday, October 19, 2011 10:12 PM
To: NT System Admin Issues
Subject: RE: CSVDE is killing me

I think the answer is within your question "test OU"
csvde -d "ou=Test, cn=main,dc=mydomain, dc=com" -f c:\userexport.csv
Cheers,

~d

From: David Lum [mailto:david....@nwea.org]<mailto:[mailto:david....@nwea.org]>
Sent: Wednesday, October 19, 2011 11:00 PM
To: NT System Admin Issues
Subject: CSVDE is killing me

This works - exports from the default OU "Users:
csvde -d "cn=Users, cn=main,dc=mydomain, dc=com" -f c:\userexport.csv

This does not - the only change is going from the Users OU to Test OU
csvde -d "cn=Test, cn=main,dc=mydomain, dc=com" -f c:\userexport.csv

Is there some permissions I need to check on the test OU?
David Lum
Systems Engineer // NWEATM
Office 503.548.5229 // Cell (voice/text) 503.267.9764


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to