Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / July 2008

Tip: Looking for answers? Try searching our database.

AzMan Role provider

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
need2scuba - 17 Jul 2008 22:30 GMT
I am using AzMan in an ADAM store and have configured the activedirectory
membershipprovider and AuthorizationStoreRoleProvider.  I am getting the
following error when performing Role functions on a user (e.g.
Roles.GetRolesForUser):  

The parameter is incorrect. (Exception from HRESULT: 0x80070057
(E_INVALIDARG))

I am having no problem authenticating as the user, but I cannot query or
update roles.  The weird part is that it works fine for accounts which were
created using Adamsync (synced with active directory); however if I create
the account manually it fails.  I have compared a working account and
non-working account and cannot find any noticable difference.

Any thoughts?

Signature

need2scuba

need2scuba - 17 Jul 2008 23:18 GMT
UPDATE:

I just realized that it seems to be only testing against active directory
accounts.  I actually removed a ADAM user object from ADAM that had been
synced from Active Directory.  I then ran GetRolesForUser(removedAcccount)
and it still worked and return roles.  So some how it (AzMan provider) is not
looking to ADAM users as the source of users, but rather to Active Directory.
The box on which ADAM is installed is a domain member server.  

What have I missed in setup?
Signature

need2scuba

> I am using AzMan in an ADAM store and have configured the activedirectory
> membershipprovider and AuthorizationStoreRoleProvider.  I am getting the
[quoted text clipped - 11 lines]
>
> Any thoughts?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.