Reading Active Directory msRTCSIP attributes when Windows 2012 R2 Region/Locale set to Korean
i have developed dll uses the system.directoryservices.accountmanagement library scroll through ad , detect whether users have been configured work microsoft lync users looking at msrtcsip-userenabled attribute.
i use dll both in mvc 5 web application , console application , has worked in environments have tested far.
last week installed applications on windows 2012 r2 server has been configured work in korean region/locale , whereas dll works no problems under mvc5 web application, same dll working same windows user (domain administrator) in console application throws exception when attempting to read the msrtcsip-userenabled attribute.
interestingly, msrtcp attributes in korean setup can seen when using sysinternals adexplorer, when browsing users using adsiedit or active directory users , computers users appear though don't have these attributes. interesting point in adexplorer values of several of msrtcsip attributes unicode.
any on conundrum appreciated.
i discovered answer last part of question when running console app in standard cmd box or right clicking console app , selecting "run administrator" there security exception when accessing msrtcsip parameters, when running powershell window security issue disappears. i not aware there should difference.
i not sure whether related korean locale, more setting on specific windows installation occur anywhere.
Windows Server > Directory Services
Comments
Post a Comment