Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > AzMan/ADAM AccessCheck exception

Reply
Thread Tools Display Modes

AzMan/ADAM AccessCheck exception

 
 
Don Edwards
Guest
Posts: n/a

 
      11-17-2006
I'm using the example code posted here
http://blogs.msdn.com/azman/archive/...06/591230.aspx to authenticate
users in an ADAM instance and also to query their group membership. I am able
to authenticate a user and get their SID, groupTokens SIDs, and DN, open the
ADAM store to set the IAzApplication2 object, create an emply
IAzClientContext2, ... but when it comes to making the
IAzClientContext2.AccessCheck call I get the following error:

"The security identifier provided does not have a domain component.
(Exception from HRESULT: 0x800704EA)"

I've found that if I manually set the IAzClientContext2.RoleForAccessCheck
property to any value I don't get the error, but I don't get valid data back
either (values of 5 returned for all my resource ids). Even if I could get
this to work, it wouldn't be correct as resource checks should be based upon
the LDAP Application Groups in AzMan combined with the
IAzClientContext2.LDAPQueryDN value, not on RoleForAccessCheck.

My application code is running on a XP SP2 machine on the same domain as the
2003 R2 server where AzMan 5.2 /ADAM 1.1 are running.

Thanks for any suggestions.
Don


 
Reply With Quote
 
 
 
 
Joe Kaplan
Guest
Posts: n/a

 
      11-17-2006
You might want to post this question on the platformsdk.security newsgroup
too. I've seen the most AzMan questions get answered there. Most people in
this group have never heard of AzMan.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Don Edwards" <> wrote in message
news:AFBBD9F9-4D67-46E4-926A-...
> I'm using the example code posted here
> http://blogs.msdn.com/azman/archive/...06/591230.aspx to authenticate
> users in an ADAM instance and also to query their group membership. I am
> able
> to authenticate a user and get their SID, groupTokens SIDs, and DN, open
> the
> ADAM store to set the IAzApplication2 object, create an emply
> IAzClientContext2, ... but when it comes to making the
> IAzClientContext2.AccessCheck call I get the following error:
>
> "The security identifier provided does not have a domain component.
> (Exception from HRESULT: 0x800704EA)"
>
> I've found that if I manually set the IAzClientContext2.RoleForAccessCheck
> property to any value I don't get the error, but I don't get valid data
> back
> either (values of 5 returned for all my resource ids). Even if I could get
> this to work, it wouldn't be correct as resource checks should be based
> upon
> the LDAP Application Groups in AzMan combined with the
> IAzClientContext2.LDAPQueryDN value, not on RoleForAccessCheck.
>
> My application code is running on a XP SP2 machine on the same domain as
> the
> 2003 R2 server where AzMan 5.2 /ADAM 1.1 are running.
>
> Thanks for any suggestions.
> Don
>
>



 
Reply With Quote
 
Junior Member
Join Date: Dec 2011
Posts: 1

 
      12-07-2011
Did you ever find a solution for this?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: ADAM with Azman Lee Flight Active Directory 0 09-15-2005 09:01 PM
AzMan ADAM Rights Robert Rolls Active Directory 1 06-29-2005 11:23 PM
AzMan & ADAM Robert Rolls Active Directory 2 06-22-2005 10:04 PM
ADAM & AzMan : Dustin Active Directory 0 05-14-2005 12:31 AM
AzMan And ADAM Robert Rolls Active Directory 2 04-14-2005 11:24 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59