RE: [ActiveDir] finding computer objects

2005-10-16 Thread joe
rSent: Friday, October 14, 2005 12:58 PMTo: ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] finding computer objects You might want to know,checking for 4096 in useraccountcontrol will include disabled accounts also.. As bit 2 is set for account disabled, and and you are not checkin

RE: [ActiveDir] finding computer objects

2005-10-16 Thread joe
on the dataset. joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Free, Bob Sent: Friday, October 14, 2005 8:36 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] finding computer objects Tom- I'll certainly not try to explain it while

RE: [ActiveDir] finding computer objects

2005-10-16 Thread joe
@mail.activedir.orgSubject: Re: [ActiveDir] finding computer objects if you're not comparing it to any other bit in userAccountControl, i don't understand why you need the bitwise filter. why can't you just have userAccountControl=2 then and just use "!", to find a disabled or enabled acou

Re: [ActiveDir] finding computer objects

2005-10-15 Thread Kamlesh Parmar
] [mailto: [EMAIL PROTECTED]] On Behalf Of Kamlesh ParmarSent: Friday, October 14, 2005 12:58 PMTo: ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] finding computer objects You might want to know,checking for 4096 in useraccountcontrol will include disabled accounts also.. As bit 2 is set

Re: [ActiveDir] finding computer objects

2005-10-14 Thread Tom Kern
Thanks. I used dsquery dsquery * dc=mydomain,dc=com -limit 0 -attr name-scope subtree -filter ((objectcategory=computer)(operatingSystem=windows server 2003)(useraccountcontrol:1.2.840.113556.1.4.804:=4096)) Thanks again. sorry to bug you. i should've posted i figured it out. On 10/14/05,

Re: [ActiveDir] finding computer objects

2005-10-14 Thread Kamlesh Parmar
You might want to know, checking for 4096 in useraccountcontrol will include disabled accounts also.. As bit 2 is set for account disabled, and and you are not checking its absence. (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q305144) Just extract useraccountcontrol in your

RE: [ActiveDir] finding computer objects

2005-10-14 Thread joe
: [ActiveDir] finding computer objects You might want to know,checking for 4096 in useraccountcontrol will include disabled accounts also.. As bit 2 is set for account disabled, and and you are not checking its absence. (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q305144)Just extract

Re: [ActiveDir] finding computer objects

2005-10-14 Thread Tom Kern
: ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] finding computer objects You might want to know,checking for 4096 in useraccountcontrol will include disabled accounts also.. As bit 2 is set for account disabled, and and you are not checking its absence. ( http://support.microsoft.com/default.aspx

RE: [ActiveDir] finding computer objects

2005-10-14 Thread Free, Bob
PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of Kamlesh Parmar Sent: Friday, October 14, 2005 12:58 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] finding computer objects You might want to know, checking

RE: [ActiveDir] finding computer objects

2005-10-14 Thread Almeida Pinto, Jorge de
From: [EMAIL PROTECTED] on behalf of Free, Bob Sent: Sat 10/15/2005 2:35 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] finding computer objects Tom- I'll certainly not try to explain it while joe's around :-) but here's a KB that helped me when I was trying

Re: [ActiveDir] finding computer objects

2005-10-14 Thread Tom Kern
) will not filter out disabled accounts. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] On Behalf Of KamleshParmar Sent: Friday, October 14, 2005 12:58 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] finding computer objects You

RE: [ActiveDir] finding computer objects

2005-10-14 Thread Brian Desmond
] On Behalf Of Tom Kern Sent: Friday, October 14, 2005 10:26 PM To: ActiveDir@mail.activedir.org Subject: Re: [ActiveDir] finding computer objects if you're not comparing it to any other bit in userAccountControl, i don't understand why you need the bitwise filter. why can't you just have

RE: [ActiveDir] finding computer objects

2005-10-13 Thread Brian Desmond
Yes you need to use a bitwise filter. You can further filter on the operatingSystem attribute. Thanks, Brian Desmond [EMAIL PROTECTED] c - 312.731.3132 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom Sent: Thursday, October 13, 2005 4:44

RE: [ActiveDir] finding computer objects

2005-10-13 Thread Marcus.Oh
Maybe not a csv... but dsquery * w/ a filter will certainly supply the information you require. By default, it'll generate the information in a table format. :m:dsm:cci:mvp marcusoh.blogspot.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kern,