How can I insert the following octet string in the msExchMasterAcc

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Try to set 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x05 0x0a 0x00 0x00 0x00
to msExchMasterAccount Attribute in AD,
user.Properties("msExchMasterAccountSID").Value =&H11000005A000 not work,
who knows how to set this value?
Thanks!
 
I'm not sure but try to do it through ADSIEdit, navigate the domain to the
user, right click on the container representing the user, search for that
property, and enter it in Hex or Bin as you like.

--
Yours truly,
Mohammed A. Raslan
Systems Engineer / Consultant
MCSE+I NT4, MCSA: Security , MCSE: Security, MCDBA, CCNA
Mobile: +20 (12) 36 26 112 / +965 978 1969
E-Mail: (e-mail address removed)
 
Mohammed,
Thanks for the reply, but I need set this value from my vb code, have idea
how to do it?

Thank you!

Lily
 
Mohammed, thanks for your reply, but I nned do this from my vb code, have
idea how to do it?

Thank you!

Lily
 
Actaully no, however there are some ADSI API's that you can call to achive
this, but i never did it using VB, there is a complete namespace for active
directory if you are using VB.Net. i used to create small programs but i'm
not a pro in programming.

Search MSDN about Active Directory, LDAP, or ADSI API's
Hope that this helps you.

--
Yours truly,
Mohammed A. Raslan
Systems Engineer / Consultant
MCSE+I NT4, MCSA: Security , MCSE: Security, MCDBA, CCNA
Mobile: +20 (12) 36 26 112 / +965 978 1969
E-Mail: (e-mail address removed)
 
Serached on MSDN, haven't found out anything helpful, will do more search.
Thank you! --Lily
 
Back
Top