AH!   Do you use -nodn in front of *each* field that might contain all that 
stuff?

-----Original Message-----
From: Kurt Buff [mailto:kurt.b...@gmail.com] 
Sent: Friday, October 28, 2011 8:38 AM
To: NT System Admin Issues
Subject: Re: ADFIND

adfind -b dc=mycompany,dc=com -f "samaccountname=kbuff" -nodn manager

On Fri, Oct 28, 2011 at 06:14, David Lum <david....@nwea.org> wrote:
> ADFIND is outputting the complete details of the “manager” field 
> (CN=BillyBob,CN=Users,DC=nwea,DC=org), anyone here how to to make it 
> output just the manager’s CN? Probably some piping needed in the 
> command line right? Just can’t get my head around it this morning…
>
> 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
> 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


~ 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