473,785 Members | 2,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Some users can log on, and other cannot

Rod
We are implementing an ASP.NET application which uses forms authentication
but authenticates using Active Directory in a Windows 2000 domain. (I used
MSDN article 326340 to help me set all of this up.)

I have found that some of my users can log into the new ASP.NET application
just fine, but others cannot. For example, one of my users is Bill and
another is Paul. Bill can log in just fine, but Paul cannot. I went into
Active Directory Users and Computers and took a look at both of them, and I
found that Bill is a member of "Domain Users" and "Providers" (an OU we
have), whereas Paul is a member of "Domain Users", "Providers" and another
OU called "ProvidersMailL ist". So, even though Paul is a member of more
groups, including all those that Bill is a member of, Paul cannot log in but
Bill can. When Paul tries to log in he gets an error that says:

"Error obtaining group names. Object reference not set to an instance of an
object."

(The error is coming from the LdapAuthenticat ion.vb class, I am sure.)

What could be causing these problems?

Rod
Nov 18 '05 #1
2 1441
On Wed, 29 Sep 2004 14:34:58 -0600, "Rod" <ro**@newsgroup s.nospam>
wrote:
We are implementing an ASP.NET application which uses forms authentication
but authenticates using Active Directory in a Windows 2000 domain. (I used
MSDN article 326340 to help me set all of this up.)

I have found that some of my users can log into the new ASP.NET application
just fine, but others cannot. For example, one of my users is Bill and
another is Paul. Bill can log in just fine, but Paul cannot. I went into
Active Directory Users and Computers and took a look at both of them, and I
found that Bill is a member of "Domain Users" and "Providers" (an OU we
have), whereas Paul is a member of "Domain Users", "Providers" and another
OU called "ProvidersMailL ist". So, even though Paul is a member of more
groups, including all those that Bill is a member of, Paul cannot log in but
Bill can. When Paul tries to log in he gets an error that says:

"Error obtaining group names. Object reference not set to an instance of an
object."

(The error is coming from the LdapAuthenticat ion.vb class, I am sure.)

What could be causing these problems?


Great questions for the dotnet folks, but likely not going to be
answered in the other groups you crossposted to...

Jeff
Nov 18 '05 #2
Hi Rod,

I'm viewing this post and find that this is a dupliated one with another in
the
microsoft.publi c.inetserver.ii s.security,
new group, another MSFT member have replied you there and provide some
informative suggestions.
You may have a look there. In addition, if you feel it convenient that we
continue to discuss in that one, please feel free to post there. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

53
5746
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
193
9649
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I speak only of features in the spirit of C; something like object-orientation, though a nice feature, does not belong in C. Something like being able to #define a #define would be very handy, though, e.g: #define DECLARE_FOO(bar) #define...
5
1819
by: Grant | last post by:
I have some users cannot fill out the user account information. First page ask them for a code then the second page ask for the user information. When they click on continue in user information page, it takes them back to the default page. I have a if statement "if session(user_name") = "" then response.redirect ("default.aspx") . Why is the session variables not holding or not being populated? I changed the session state to "stateserver"...
0
1064
by: Christian Rank | last post by:
Hello, I'm setting up a PostgreSQL installation accessible by many different users. The layout is: - all users connect to the same database - every user has its own schema, no write access to the public schema - by default no additional privileges for the users Thus, a user cannot access the data (e. g. contents of a table) of another user. But a user can see all metadata (names of objects, layout
6
1968
by: google | last post by:
I have a few general questions. I am working on a new database to be used within my company. I would like to give a couple of people, particularly HR, the ability to add and delete Access users, and add/remove them to groups, so as people join and leave the company, they can be added/removed as database users at that time. However, I don't want them to have to do it through the standard Access users/groups interface, and I don't want...
3
2090
by: Gary T via AccessMonster.com | last post by:
I have a couple of lulus here but I'll address the other one in "Queries". This one pertains to allowing users with read-only access to use the database whilst a person with admin access is using it. The way it stands right now, if an admin user is in it the r/o user gets a prompt that the DB is locked. Bear in mind, I am only allowed to use system security, NOT Access security. Any takers
3
1330
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
When we want to make updates to our application, we have to make sure all users are logged out, or they will get kicked out when we copy a new DLL. Our web application, using the 1.1 framework, we are not allowed to use VS2003 to copy changes up to the application. Reason we are told this is because it is in our DMZ and cannot be reached by computers in other domains. Also, we were told that we are not allowed to copy front page...
7
1409
by: =?Utf-8?B?SnVzdGlu?= | last post by:
Hello Everyone: I am having the most bizarre problem with my asp.net web app...this is my first web app in asp.net and I inherited it from a programmer who quit...so, I am not completely familiar with all the ins and outs. The problem is that some machines can open my web app and some machines cannot...In fact, the server, which is hosting the app and has VS.Net installed, cannot access the app via the external IP address, but other...
2
1523
by: Kaz | last post by:
Hi, I have an Access 2002 database that is accessed by multiple users on a win 2003 server usually in a terminal services envronment. I have a couple of users who unexpectedly cannot know access records via combo boxes. The combo populates but the mouse cannot select a record with a click and neither can the arrow buttons or the enter key work. one user is in the administrator group so I would not think it is permissions related or is...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10162
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.