Почему нужные вещи появляются потом????

Aug 23, 2012 15:39

Искал давно.
Плохо искал....

http://www.expta.com/2008/02/create-saved-query-that-displays-group.html

Saved Queries in Active Directory Users and Computers (ADUC) allow you to create simple or advanced LDAP queries against the Active Directory that can be saved, reused and edited. Examples might be a query displaying all locked out users in the domain or all the users who have a mailbox on a particular Exchange server and have the word "Manager" in their title.

A client I worked with needed a query that displayed all the members of a certain (large) group. This would allow him to select all the users at once and move their mailboxes to another server.

Try as he might, he couldn't get the query to display the group's members. It turns out this is because the group name must be entered using its distiguished name. Here's how to do it:

•Use ADSIEdit.msc (in the Windows Support Tools) and navigate to the group
•View the properties of the group to reveal the distinguishedName attribute value and copy it to the clipboard (shown above)
•Open ADUC, right-click Saved Queries and select New query
•Enter a name for your query, "Accounting Group Members"
•Click the Define Query button
•Select Users, Contacts, and Groups from the Find: dropdown list
•Click the Advanced tab
•Click Field User Member of
•With the condition of "is (exactly)", paste the group's distinguishedName into the Value field and click Add
•Click OK twice to complete the query

причем, эта метода выдет полный список, и сразу фильтрует по домену/группе.
Поскольку применяется только к тем пользователям которые состоят в нужном ОУ.
Несмотря на то что группа может быть даже в другом(родственном) домене.

list group members, ldap

Previous post Next post
Up