RE: [ActiveDir] DSQUERY filter for space character only

2006-02-08 Thread joe
lf Of Sitton Glen ESent: Wednesday, February 08, 2006 1:06 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] DSQUERY filter for space character only Thanks Joe.  I did use that MSDN article before I posted, but it didn't list the escape sequence for the space character.  Knowing what I know

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-08 Thread Dean Wells
m: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sitton Glen ESent: Wednesday, February 08, 2006 1:06 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] DSQUERY filter for space character only Thanks Joe.  I did use that MSDN article before I posted, but it didn't list the e

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-08 Thread Sitton Glen E
oeSent: Tuesday, February 07, 2006 5:39 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] DSQUERY filter for space character only The tricky piece here is the space, the displayname=\20 mechanism would work as well as the very cute little query Dean posted of displayname<

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread joe
bad query before then.     -- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm      From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David AragonSent: Tuesday, February 07, 2006 2:19 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] DSQ

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread David Aragon
Have you tried:    (&(objectCategory=Person)(objClass=User)(displayName=\\ ))   David AragonYour ability to perceive a solution is limitedonly by your understanding of the problem   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sitton Glen ESent: Tuesday, Febru

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Sitton Glen E
Thank you Gil, Dean, Hunter.  That works perfectly.  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coleman, HunterSent: Tuesday, February 07, 2006 12:48 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] DSQUERY filter for space character only (&objectCate

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Gilbert, Daniel L Mr ANOSC/FCBS
Cool, buckle up, lots of very smart folks here (not me K) you will see lots of chances to learn.   Dan   From: Olivarez, Sergio J Mr ANOSC/FCBS [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 11:39 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] DSQUERY

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Coleman, Hunter
(&objectCategory=user)(displayName=\20)) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sitton Glen ESent: Tuesday, February 07, 2006 10:17 AMTo: ActiveDir@mail.activedir.orgSubject: [ActiveDir] DSQUERY filter for space character only I need to run an obscure DSQUERY with

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Dean Wells
IIRC, the query processor barks at the use of values comprised entirely of spaces.  As such, use the following -   dsquery * dc=mset,dc=local -scope subtree -filter "(&(objectcategory=user)(displayname=\20))   ... or for a more creative approach -   dsquery * dc=mset,dc=local -scope subtree

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Olivarez, Sergio J Mr ANOSC/FCBS
: [ActiveDir] DSQUERY filter for space character only   You follow this list?   From: Olivarez, Sergio J Mr ANOSC/FCBS [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 11:23 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] DSQUERY filter for space character only

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Gil Kirkpatrick
@mail.activedir.orgSubject: RE: [ActiveDir] DSQUERY filter for space character only Have you tried * *   Thanks... ... ... ... Sergio J. Olivarez From: Sitton Glen E [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 10:17 AMTo: ActiveDir@mail.activedir.orgSubject: [ActiveDir] DSQUERY filter

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Sitton Glen E
Title: RE: [ActiveDir] DSQUERY filter for space character only Some automated process has thrown a single space character into the displayName and I'm hoping to construct a simple DSQUERY to find them and then fix them.  Yes, the workaround you describe is pretty much what I am doi

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Gilbert, Daniel L Mr ANOSC/FCBS
You follow this list?   From: Olivarez, Sergio J Mr ANOSC/FCBS [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 11:23 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] DSQUERY filter for space character only   Have you tried * *   Thanks

RE: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Olivarez, Sergio J Mr ANOSC/FCBS
Have you tried * *   Thanks... ... ... ... Sergio J. Olivarez From: Sitton Glen E [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 10:17 AM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] DSQUERY filter for space character only   I need to run an obs

Re: [ActiveDir] DSQUERY filter for space character only

2006-02-07 Thread Mark Parris
What's the query for? Can you not query on all objects then export to excel or word and look for the spaces? Crude but it should work. Mark -Original Message- From: Sitton Glen E <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 11:16:53 To:ActiveDir@mail.activedir.org Subject: [ActiveDir] DSQU

RE: [ActiveDir] DSQUERY & DSGET provide inconsistent results - help

2005-07-13 Thread joe
I would check the metadata on the group object and see if it is being constantly updated. This could signify that you have a restricted group configured and FRS has screwed up and the GPO isn't replicated to all DCs and the DCs are "duking it out" and changing the membership back and forth. 

RE: [ActiveDir] DSQUERY & DSGET provide inconsistent results - help

2005-07-13 Thread Peter Johnson
: RE: [ActiveDir] DSQUERY & DSGET provide inconsistent results - help   it's a global group, which can't have accounts from other domains as a member.  I very much doubt you have an issue with DSQUERY - more likely some DC that's out of sync => which DC is DSQUERY connecti

RE: [ActiveDir] DSQUERY & DSGET provide inconsistent results - help

2005-07-11 Thread Grillenmeier, Guido
me one?   I'd say it's certainly time to connect to each DC and check the values directly to compare...    /Guido From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter JohnsonSent: Montag, 11. Juli 2005 21:41To: ActiveDir@mail.activedir.orgSubject: RE: [ActiveD

RE: [ActiveDir] DSQUERY & DSGET provide inconsistent results - help

2005-07-11 Thread Al Mulnick
Hmmm...every 15minutes or so   Are you sure it's DSGET that's reporting things incorrectly or could it be that this is the true state?   Al From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan HolmeSent: Monday, July 11, 2005 3:15 PMTo: ActiveDir@mail.activedir.orgSubjec

RE: [ActiveDir] DSQUERY & DSGET provide inconsistent results - help

2005-07-11 Thread Peter Johnson
Is this a single domain forest?? If not Does the Domain Admins Group contain users from other domains in the forest. I;m wondering if it might be a cross-domain name resolution issue? MAybe intermittent? From: [EMAIL PROTECTED] on behalf of Dan Holme Sent: Mon 2

RE: [ActiveDir] DSQUERY & DSGET provide inconsistent results - help

2005-07-11 Thread David Cliffe
Could it be that one of your DCs is out of sync with the rest?  Would this happen if you used the '-s' option to explicitly connect to the same server each time?  (not that *that* would solve a DC out of sync, but at least you'd understand why)   -DaveC Reuters IS&T Service Delivery From:

RE: [ActiveDir] dsquery

2004-08-04 Thread joe
ECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Depp, Dennis M. Sent: Tuesday, August 03, 2004 5:48 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] dsquery You need OLDCMP which can be found at http://www.joeware.net/win32/index.html near the bottom of the page. The output of OLDCMP can either be a csv,

RE: [ActiveDir] dsquery

2004-08-03 Thread Depp, Dennis M.
, August 03, 2004 12:07 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] dsquery Ok, good to know, Is there an alternative way to identify User objects that have not logged on in given amount of time 'Stale'? I'd like to be able to first query this or log it to a file then option

RE: [ActiveDir] dsquery

2004-08-02 Thread Deji Akomolafe
orrow you were worried about Yesterday?  -anon From: Cody FlemingSent: Mon 8/2/2004 9:07 PMTo: [EMAIL PROTECTED]Subject: RE: [ActiveDir] dsquery Ok, good to know, Is there an alternative way to identify User objects that have not logged on in given amount of time 'Stale'? I'd like

RE: [ActiveDir] dsquery

2004-08-02 Thread Cody Fleming
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Free, Bob Sent: Monday, August 02, 2004 3:37 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] dsquery >Does 'dsquery -inactive' work against a Windows 2000 domain with SP4? Nope, it needs uses an attribute ca

RE: [ActiveDir] dsquery

2004-08-02 Thread Free, Bob
>Does 'dsquery -inactive' work against a Windows 2000 domain with SP4? Nope, it needs uses an attribute called lastLogonTimestamp that is not available in 2000. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cody Fleming Sent: Monday, August 02,

RE: [ActiveDir] dsquery

2004-08-02 Thread Dean Wells
Title: Message The response is correct (staggering really).  You cannot perform this query against a 2000 AD since it does not replicate _any form_ of a last logon timestamp which is the basis for this feature ... 2003 does (to a point).   Dean -- Dean Wells MSEtechnology ( Tel: +1 (954) 501

RE: [ActiveDir] dsquery

2004-08-02 Thread Bernard, Aric
Title: Message I believe that the specified query is dependent on a user attribute not replicated under Windows 2000.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cody Fleming Sent: Monday, August 02, 2004 12:18 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] dsq

RE: [ActiveDir] dsquery computer -inactive vs -stalepwd

2004-02-02 Thread Rich Milburn
PROTECTED] Sent: Monday, February 02, 2004 7:13 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] dsquery computer -inactive vs -stalepwd   Hi Rich,   From my knowledge the password change request is initiated by the COMPUTER itself to a domain controller. Your output lets us believe that

RE: [ActiveDir] dsquery computer -inactive vs -stalepwd

2004-02-02 Thread Jorge de Almeida Pinto
: [EMAIL PROTECTED]Subject: RE: [ActiveDir] dsquery computer -inactive vs -stalepwd Jorge –   The thing I’m not understanding is why there are so many more computers with stale passwords, half of them over 6 months old, yet I only get a handful when running inactive for the same time period

RE: [ActiveDir] dsquery computer -inactive vs -stalepwd

2004-01-28 Thread Rich Milburn
for months without changing their password?    Thanks – Rich   From: Jorge de Almeida Pinto [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 9:33 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] dsquery computer -inactive vs -stalepwd   -inactive NumberOfWeeks

RE: [ActiveDir] dsquery computer -inactive vs -stalepwd

2004-01-28 Thread rmcdonald
Return Receipt Your RE: [ActiveDir] dsquery computer -inactive vs -stalepwd document

RE: [ActiveDir] dsquery computer -inactive vs -stalepwd

2004-01-28 Thread Jorge de Almeida Pinto
-inactive NumberOfWeeks (number of weeks that a PC has not logged on to the domain) Searches for all computers that have been inactive (stale) for the specified number of weeks. -stalepwd NumberOfDays (number of days that a PC uses the same password) Searches for all computers that have not

RE: [ActiveDir] dsquery computer -inactive vs -stalepwd

2004-01-27 Thread Rich Milburn
PROTECTED] Sent: Tuesday, January 27, 2004 9:52 AM To: [EMAIL PROTECTED] Subject: Re: [ActiveDir] dsquery computer -inactive vs -stalepwd My guess is that the "-inactive" switch queries the chosen DC for the lastLogon value. Have you tried running it against different DCs to see if you

Re: [ActiveDir] dsquery computer -inactive vs -stalepwd

2004-01-27 Thread Tony Murray
My guess is that the "-inactive" switch queries the chosen DC for the lastLogon value. Have you tried running it against different DCs to see if you get different values? Tony -- Original Message -- Wrom: JJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJE Reply-To:

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-25 Thread Scoles, Damian
going insane for a bit there. ;-) Damian Scoles Senior Technical Analyst MCSE, CCNP, CNA, A+ -Original Message- From: Flight, L. [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 5:38 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role Wh

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-25 Thread Pennell, Ronald B.
Actually make one change: netdom query /server:dcname fsmo -Original Message- From: Flight, L. [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 6:38 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role When we were moving roles around

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-25 Thread Flight, L.
When we were moving roles around recently for Windows 2003 upgrade we scripted: netdom query /server: fmso to check consistency. As some roles are stored as attributes on the schema and configuration containers changes (KB 223787) may take longer to replicate than those stored as attributes on

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-24 Thread Joe
:14 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role If I recall all it does is check CN=Infrastructure,DC=Domain,DC=COM fsmoRoleOwner attribute. Grab adfind and do a Adfind -h DCServerName -b CN=Infrastructure,DC=domain,DC=com -s base fsmoroleowner For

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-24 Thread Scoles, Damian
] Sent: Tuesday, September 23, 2003 8:14 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role If I recall all it does is check CN=Infrastructure,DC=Domain,DC=COM fsmoRoleOwner attribute. Grab adfind and do a Adfind -h DCServerName -b CN=Infrastructure,DC=domain

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-23 Thread Joe
PM To: '[EMAIL PROTECTED] ' Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role dsquery queries AD directly. You might use the -s switch (using IP addresses in stead of FQDN's to rule out DNS issues) that can be used with DSquery to run the query once against every server. Thi

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-23 Thread Rick Kingslan
: Tuesday, September 23, 2003 7:14 PM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role Yeah, there's got to something with the way dsquery is (not?) working. You might try ADSIEdit or LDP as well. I don't think NTDSUtil will indicate if t

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-23 Thread Gil Kirkpatrick
ll for a 2 DC forest :) Gil Kirkpatrick CTO, NetPro -Original Message- From: John Reijnders [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 2:32 PM To: '[EMAIL PROTECTED] ' Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role dsquery queries AD directl

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-23 Thread John Reijnders
e you tried using NTDSUtil? I've never seen this tool giving the wrong answer. Cheers! John Reijnders. -Original Message- From: Scoles, Damian To: [EMAIL PROTECTED] Sent: 23-9-2003 21:41 Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role As for the GC/Infrastructure thi

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-23 Thread Scoles, Damian
CTED] Sent: Tuesday, September 23, 2003 12:59 PMTo: '[EMAIL PROTECTED]'Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role The DCs definitely need to agree on FSMO ownership. Forcing a replication might help, but its hard to imagine some changes replicating

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-23 Thread Scoles, Damian
EMAIL PROTECTED]'Subject: RE: [ActiveDir] DSQuery shows wrong DC as holding role The DCs definitely need to agree on FSMO ownership. Forcing a replication might help, but its hard to imagine some changes replicating and others not. Usally its an all-or-nothing affair between

RE: [ActiveDir] DSQuery shows wrong DC as holding role

2003-09-23 Thread Gil Kirkpatrick
Title: Message The DCs definitely need to agree on FSMO ownership. Forcing a replication might help, but its hard to imagine some changes replicating and others not. Usally its an all-or-nothing affair between replication partners.   The infrastructure master should not be on a GC, although