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 / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

NT User created programatically, authenticating with IIS fails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
enantiomer - 10 Jul 2006 23:41 GMT
For my IIS application, I have set the directory security for Basic
Authentication.  I have given permissions on the directory to a group
that I created called appUsers.

My problem is when I create a user manually through Computer Management
and add the user to the group, it all works fine, although I have found
that I have to restart IIS to see it right away.  When I create a user
and add it to the same group programmatically (using .NET C#), i can
never get it to work.

Something must be different when you create a user and add it to a
group through Computer Management then when you do it programatically.

Any ideas?  I have verified through Computer Management that the user
created programatically is being created and added to the group.  I
have also verified through the debugger that the user is getting its
password set correctly.  

Thanks,

Jonathan
enantiomer - 11 Jul 2006 00:57 GMT
nevermind.  I was setting the "deny local logon" setting to the user
which didnt allow authentication. Thanks anyways,

Jonathan

> For my IIS application, I have set the directory security for Basic
> Authentication.  I have given permissions on the directory to a group
[quoted text clipped - 17 lines]
>
> Jonathan

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.