What if you modify (cn=user1) with (anr=user1)

Douglas Stelley
IT Engineer
Seneca Nation Health Department
(716)532-5582 x5404
[EMAIL PROTECTED]



"Ramon Linan" <[EMAIL PROTECTED]>
Sent by: <[EMAIL PROTECTED]>

08/25/2006 02:16 PM

Please respond to
<ActiveDir@mail.activedir.org>

To
<ActiveDir@mail.activedir.org>
cc
Subject
[ActiveDir] disable 200 users





Hi,
 
I have been given a list of 200 users to disable, and move to another OU.
The users are not currently in the same OU but in many different OU.
 
I am trying to use the txt file that contains the list of users to be disable.
 
How can I do this?
 
 
I was trying to use the query tool that comes with AD users and computer to select the users but got nowhere with
 
(&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14))))(objectCategory=user)(cn=user1)))
(&(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14))))(objectCategory=user)(cn=user2)))
etc
 
 
Thanks
Rezuma

Reply via email to