Re: Reading msexchMasterAccountSid

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello,

this has nothing to do with Exchange at this point. It's Active Directory.

If the SID you are trying to resolve is from a different domain or so, the translation-process may fail. Is the failing SID a short one?
If you want to translate the SID on a specific computer, you can use the ResolvedIdentityReference from my InfiniTec.Security package on my website (www.infinitec.de). In the constructor, you can specify a remote computer which will do the translation.

Best regards,
Henning

"deaddingo" <taplin.steve@xxxxxxxxxxxxx> wrote in message news:1160028278.751605.187700@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Many thanks Henning for your response.

I have advanced considerably, thanks to your help, but get a
System.Security.Principal.IdentityNotMappedException error when I
attempt objSecurityIdentifier.Translate(GetType(NTAccount)).

I'm learning about Exchange security. Can you tell me what causes this
error?

TIA

DD


Henning Krause wrote:
Hello,

that field contains a SecurityIdentifier (SID). In Text-form this is
something like S-1-5-xxxxxxxxx....

If you are working with .NET 2.0 you can wrap that text in a
SecurityIdentifier and call sid.Translate(typeof(NTAccount)) which translate
the SIDs to NT4 account names.

Best regards,
Henning Krause

"deaddingo" <taplin.steve@xxxxxxxxxxxxx> wrote in message
news:1159941231.437096.32300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I am developing a feed into a DotNet app using a csv file containing a
> list of 20,000 user accounts. Part of each row in this list contains
> the Exchange msexchMasterAccountSid, a 56 character string.
>
> Can anyone tell me how this is broken down into usable elements.
>
> TIA
>
> DD
>


.



Relevant Pages

  • Re: exchange 5.5 test lab
    ... domain will has the same name but different Security ID (SID). ... the new domain accounts. ... If both your Exchange Servers are locating in the same Exchange ... run ADMT to create active user accounts in Active Directory. ...
    (microsoft.public.exchange.admin)
  • Re: After applying group policy in AD domain...users lost XCHNG connectiivity??
    ... anonymous SID lookup. ... > Our Exchange 5.5 SP4 server is still located in external trusted NT ... AD Users have been able to access their mailboxes fine ...
    (microsoft.public.windows.group_policy)
  • Re: Virtual Machine-Exchange 2007 Server
    ... The idea is to restore the VM due to a corruption of the ... O/S or Exchange application. ... I don't see how it would change the SID at all in that instance. ... the Server would be different and the remaining DCs would try to update ...
    (microsoft.public.exchange.admin)
  • Re: Virtual Machine-Exchange 2007 Server
    ... talk to Visioncore support guys. ... O/S or Exchange application. ... I don't see how it would change the SID at all in that instance. ... there is really no point in virtualizing the> server. ...
    (microsoft.public.exchange.admin)
  • Re: SID
    ... the names say togegher with the sid and with the domain; ... Or maybe you deleted the user from your AD and system can`t resolve ... "Exchange 2003 connection problem" ... >>> I have some problems with servers connecting to msmq and AD ...
    (microsoft.public.windows.server.security)