|
| |||||||||
| Tags: attribute |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| 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? |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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 > |
|
#5
| |||
| |||
| 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 |
![]() |
|
| Thread Tools | Search this Thread |
| |
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 |