This is what you need to do.

1. Using ADUC use the find option 
2. Select the advanced tab
3. Select Field Exchange Mail box Store etc
4. Select a condition of Ends with
5. Put in your server name in the value filed using this format /cn=servername e.g 
/cn=testserver1
6. You can filter your results using the view option from the pull down menu
7. When you have filter the database you can then select the users for the database 
and then move them.

Regards


Marc Mearns

Let me know how you get on. 



-----Original Message-----
From: Saunders, Jim [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2002 00:10
To: Exchange Discussions
Subject: RE: Using ADUC: How to list all users in a specific database?


If I remember correctly, you can't do a "starts with" type search if the
syntax of the attribute you're searching is "Distinguished Name". The reason
for this is that the attributes value is not represented as simply the text
of the Distinguished Name, but rather a link to the actual object in the
directory. The ldap attribute in question here is homeMDB, and it has the
syntax of Distinguished Name, hence the problem.

You can look at all of the attribute syntaxes by registering schmmgmt.dll
and adding "Active Directory Schema" to an MMC

-Jim
-----Original Message-----
From: Baker, Jennifer [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, May 28, 2002 6:47 PM
To: Exchange Discussions
Subject: RE: Using ADUC: How to list all users in a specific database?


"Start with" doesn't work in this situation, but "is exactly" with the full
path does:

CN=Mailbox Store (SERVERNAME),CN=First Storage
Group,CN=InformationStore,CN=SERVERNAME,CN=Servers,CN=First Administrative
Group,CN=Administrative Groups,CN=ORGNAME,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=DOMAIN,DC=com

You could also create a temporary address list in ESM, preview the list and
run the move mailbox task through that gui instead.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Moore, David K
Sent: Tuesday, May 28, 2002 1:52 PM
To: Exchange Discussions
Subject: Using ADUC: How to list all users in a specific database?


I am attempting to generate a search result in Active Directory Users and
Computers that only lists users in a specific database - I need to move all
those specific users to new databases and I really don't want to write down
all the names and move them manually.  So, here is what I've done already:

- No, can't simply navigate down to the servers' database object and list of
users then right click and move - no such option on the context menu.

- Tried every combination of "Exchange Mailbox Store" in the search feature
of ADUC - wouldn't you think it would be
"CN=databasename,CN=storagegroupname" with the "starts with" search option?

Help!  Any ADUC guru's out there?

David

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]


======================================================================================
NOTICE - This communication may contain confidential and privileged information that 
is for the sole use of the intended recipient. Any viewing, copying or distribution 
of, or reliance on this message by unintended recipients is strictly prohibited. If 
you have received this message in error, please notify us immediately by replying to 
the message and deleting it from your computer.


==============================================================================


_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
**********************************************************************

 This footnote confirms that this email message has been swept by 
 MAILsweeper for the presence of computer viruses.
 
**********************************************************************
**********************************************************************

 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager ( [EMAIL PROTECTED] ).

 The format of address is:  [EMAIL PROTECTED]

 This footnote also confirms that this email message has been swept by
 MAILsweeper for the presence of computer viruses.

 J Sainsbury plc  (185647 England)
 Sainsbury's Supermarkets Limited  (3261722 England)

 Registered Offices:
 33 Holborn
 London
 EC1N 2HT

**********************************************************************

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to