Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags:

Sponsored Links



Where is the msExchMasterAccountSID attribute

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 11-09-2009
Waldy
 
Posts: n/a
Where is the msExchMasterAccountSID attribute

Hi there,
according to an MS technet article, when using a Resource
Forest for Exchange, you create a disabled user account with a mailbox and
then associate the mailbox with an active user account in another forest.
You do this by setting the msExchMasterAccountSID attribute to the SID of
the active user. Where is that attribute, I cant see it in AD. Also, how
do I retreive the relevant users SID in order to set this attribute?


Reply With Quote
  #2  
Old 11-09-2009
Waldy
 
Posts: n/a
Re: Where is the msExchMasterAccountSID attribute

OK the SID is very simple to retrive via scripting, as shown below. I just
need to know where the msExchMasterAccountSID attribute is that I need to
set.

strComputer = "."
strUser = "administrator"
strDomain = "test"

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set objAccount = objWMIService.Get _
("Win32_UserAccount.Name='" & strUser & "',Domain='" & strDomain & "'")

Wscript.Echo objAccount.SID


Reply With Quote
  #3  
Old 12-09-2009
kj [SBS MVP]
 
Posts: n/a
Re: Where is the msExchMasterAccountSID attribute

Have you already extended the schema for Exchange in your AD forest &
domain?


Waldy wrote:
> OK the SID is very simple to retrive via scripting, as shown below. I just
> need to know where the msExchMasterAccountSID attribute is
> that I need to set.
>
> strComputer = "."
> strUser = "administrator"
> strDomain = "test"
>
> Set objWMIService = GetObject("winmgmts:\\" & strComputer &
> "\root\cimv2")
> Set objAccount = objWMIService.Get _
> ("Win32_UserAccount.Name='" & strUser & "',Domain='" & strDomain &
> "'")
> Wscript.Echo objAccount.SID


--
/kj


Reply With Quote
  #4  
Old 15-09-2009
Waldy
 
Posts: n/a
Re: Where is the msExchMasterAccountSID attribute

Hi there,
I'm looking on a test system where Exchange is already
installed, so I would imagine that has already been done.

"kj [SBS MVP]" <KevinJ.SBS@SPAMFREE.gmail.com> wrote in message
news:Ox4LbbwMKHA.220@TK2MSFTNGP02.phx.gbl...
> Have you already extended the schema for Exchange in your AD forest &
> domain?
>
>
> Waldy wrote:
>> OK the SID is very simple to retrive via scripting, as shown below. I
>> just need to know where the msExchMasterAccountSID attribute is
>> that I need to set.
>>
>> strComputer = "."
>> strUser = "administrator"
>> strDomain = "test"
>>
>> Set objWMIService = GetObject("winmgmts:\\" & strComputer &
>> "\root\cimv2")
>> Set objAccount = objWMIService.Get _
>> ("Win32_UserAccount.Name='" & strUser & "',Domain='" & strDomain &
>> "'")
>> Wscript.Echo objAccount.SID

>
> --
> /kj
>



Reply With Quote
  #5  
Old 15-10-2009
Jorge de Almeida Pinto [MVP - DS]
 
Posts: n/a
Re: Where is the msExchMasterAccountSID attribute

that's done by assigning "Associated External Account" permissions to the
ACTIVE user on the DISABLED user

--

Cheers,
(HOPEFULLY THIS INFORMATION HELPS YOU!)

# Jorge de Almeida Pinto # MVP Identity & Access - Directory Services #

BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx
BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx
------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test ANY suggestion in a test environment before implementing!
------------------------------------------------------------------------------------------
#################################################
#################################################
------------------------------------------------------------------------------------------

"Waldy" <someonenot@microsoft.com> wrote in message
news:#2e#t#sMKHA.504@TK2MSFTNGP06.phx.gbl...
> Hi there,
> according to an MS technet article, when using a Resource
> Forest for Exchange, you create a disabled user account with a mailbox and
> then associate the mailbox with an active user account in another forest.
> You do this by setting the msExchMasterAccountSID attribute to the SID of
> the active user. Where is that attribute, I cant see it in AD. Also, how
> do I retreive the relevant users SID in order to set this attribute?
>
>
> __________ Information from ESET Smart Security, version of virus
> signature database 4507 (20091014) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>


__________ Information from ESET Smart Security, version of virus signature database 4507 (20091014) __________

The message was checked by ESET Smart Security.

http://www.eset.com



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Where is the msExchMasterAccountSID attribute"
Thread Thread Starter Forum Replies Last Post
Update attribute using ldp sureshpalani Active Directory 9 14-12-2009 10:07 PM
Using a custom attribute for RDN. hume.spamfilter@bofh.ca Active Directory 1 24-11-2009 11:11 PM
How to set file attribute? Julli_gaada Tips & Tweaks 3 21-11-2009 08:05 PM
userWorkstations Attribute Mark Z. Active Directory 2 21-08-2009 01:59 PM
AD Attribute query! UselessUser Active Directory 4 25-06-2009 10:19 PM


All times are GMT +5.5. The time now is 09:23 PM.