Hi,
We have a situation where one of the users have left the organisation
and he used to be the manager for quite a number of Distribution lists.
These distribution lists are part of different OUs, and we do not have a
master list of the DLs he owned. Now, we would need to find out the
diffferent DLs that he was the owner of and get that changed to a
different owner.
The challenge here is, there are close to 10000 DLs across the company
and to make things worse, this employees account has now been deleted
from AD.

Thanks,
Jai


--
cooljai
------------------------------------------------------------------------
cooljai's Profile: http://forums.techarena.in/member.php?userid=36607
View this thread: http://forums.techarena.in/showthread.php?t=865411

http://forums.techarena.in

Re: Search Distribution list owner by Richard

Richard
Wed Dec 05 06:01:21 PST 2007

Jai wrote:

> We have a situation where one of the users have left the organisation
> and he used to be the manager for quite a number of Distribution lists.
> These distribution lists are part of different OUs, and we do not have a
> master list of the DLs he owned. Now, we would need to find out the
> diffferent DLs that he was the owner of and get that changed to a
> different owner.
> The challenge here is, there are close to 10000 DLs across the company
> and to make things worse, this employees account has now been deleted
> from AD.

Use a filter similar to below, where you specify the full Distinguished Name
of the user:

(managedBy=cn=Jim Smith,ou=West,dc=MyDomain,dc=com)

You can use this in adfind:

http://joeware.net/freetools/tools/adfind/index.htm

or use ADO in a VBScript program:

http://www.rlmueller.net/ADOSearchTips.htm

You might also be able to use dsquery or csvde.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--



Re: Search Distribution list owner by cooljai

cooljai
Wed Dec 05 06:47:24 PST 2007


Thanks for the post, one point that i missed to mention is this was an
IT admin who left, and typically, a DL would have an owner from the
business side and IT as backup owner. now, for most of the DLs for
which he was a coowner, the managedby attribute is set to the business
owner so that he/she can manage this.
And to add to this, this persons AD account has been deleted and we
cant search for him by name, however i can try to figure out his SID
from the existing permissions on a DL that i know he was the owner of.


--
cooljai
------------------------------------------------------------------------
cooljai's Profile: http://forums.techarena.in/member.php?userid=36607
View this thread: http://forums.techarena.in/showthread.php?t=865411

http://forums.techarena.in