Tech Support > Operating Systems > Windows 2003 > ADAM and Auth Man
ADAM and Auth Man
Posted by Peter Bernhardt on December 8th, 2003


I have question about using Auth Man with user accounts stored in an
instance of ADAM.

' Initializing the Auth Man store is simple enough
AzManStore.Initialize(0, _
"msldap://localhost:500050/CN=ADAMStore,CN=Program
Data,O=MyOrganization,C=US")

'Open the Expense application
App = AzManStore.OpenApplication("MyTestApplication")

' The problem is how do I get a valid client context?
Dim CCHandle As IAzClientContext =
App.InitializeClientContextFromName("ADAMUserAccou nt", "MyOrganization", 0)

The last line of code fails, of course. And the other method types --
initializing from a SID or from a token -- don't seem very useful either. Do
I need to use an ADSI interface? Or Directory Services? I'm not sure, and
before I poke around with this some more I thought to ask here first.

--
Peter Bernhardt
SharpSense Software LLC
peter@SharpSenseBAS.netURA

********************************
Remove Spanish word for Spam when replying
********************************


Posted by Dmitri Gavrilov [MSFT] on December 8th, 2003


AZMan can not currently use ADAM as a user store, only as a policy store.
Users must come from Windows. In the next version, it should support ADAM
users.

--
Dmitri Gavrilov
SDE, Active Directory Core

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"Peter Bernhardt" <peter@SharpSenseBASURA.net> wrote in message
news:eMXzZxdvDHA.2484@TK2MSFTNGP09.phx.gbl...



Similar Posts