473,569 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to perform GetObject("LDAP ://...") bindings when logged in overnight (error '800a0046')

I'm trying to troubleshoot an issue where users are not able to bind
with LDAP via "GetObject" through our ASP Classic Intranet if they
stay logged in overnight (beyond their allowed login hours). The
problem does not occur when performing the same bindings using a logon
script.

So, the user logs in, is able to perform queries all day, and then
fails to log out at the end of the day. We'd prefer that they did log
out nightly, but it happens...

The following morning they unlock their machine during allowed logon
hours and are unable to bind to Active Directory via our Intranet
until they log out / back in or perform a RunAs using their own
credentials.

Any idea what could be happening? We've got "Windows Integrated
Authentication" and "Basic Authentication" enabled, anonymous access
is disabled.

The Intranet has no problem authenticating them and recognizing their
username, but any attempts to bind via GetObject generate this error:

Microsoft VBScript runtime error '800a0046'

Permission denied: 'GetObject'

/auth_functions. asp, line 18

Thanks!

Aug 21 '07 #1
3 5853
You could run a script logging out all users each night
"aydeejay" <ay********@gma il.comwrote in message
news:11******** **************@ x40g2000prg.goo glegroups.com.. .
I'm trying to troubleshoot an issue where users are not able to bind
with LDAP via "GetObject" through our ASP Classic Intranet if they
stay logged in overnight (beyond their allowed login hours). The
problem does not occur when performing the same bindings using a logon
script.

So, the user logs in, is able to perform queries all day, and then
fails to log out at the end of the day. We'd prefer that they did log
out nightly, but it happens...

The following morning they unlock their machine during allowed logon
hours and are unable to bind to Active Directory via our Intranet
until they log out / back in or perform a RunAs using their own
credentials.

Any idea what could be happening? We've got "Windows Integrated
Authentication" and "Basic Authentication" enabled, anonymous access
is disabled.

The Intranet has no problem authenticating them and recognizing their
username, but any attempts to bind via GetObject generate this error:

Microsoft VBScript runtime error '800a0046'

Permission denied: 'GetObject'

/auth_functions. asp, line 18

Thanks!
Aug 22 '07 #2
What I'm really looking for is some sort of explanation of what could
be happening -- we could certainly log everyone out as a workaround,
but there are certain users and machines, such as my own, where this
is undesirable.

As it turns out the problem does not involve logon hours, but it seems
to be contingent on how long they remain logged into the system.

This is definitely a Kerberos-related issue...if I stay logged in
overnight and run an ASP script that looks at authentication server
variables to determine the method of authentication being used, NTLM
is employed. If I log out and back into my machine, Kerberos is
employed.

This seems to be an issue involving Kerberos ticket renewal /
expiration, but I haven't read any similar accounts of this problem.

"klist tgt" generates this error under a "stale" login session (left
overnight):

Error calling function LsaCallAuthenti cationPackage: 0
The operation completed successfully.
Substatus: 0x8009030e

Under a "fresh" login it works fine:

Cached TGT:

ServiceName: krbtgt
TargetName: krbtgt
FullServiceName : ajones
DomainName: xxx
TargetDomainNam e: xxx
AltTargetDomain Name: xxx
TicketFlags: 0x40e00000
KeyExpirationTi me: 256/0/29920 0:103:804
StartTime: 8/23/2007 12:25:28
EndTime: 8/23/2007 21:00:00
RenewUntil: 8/23/2007 21:00:00
TimeSkew: 8/23/2007 21:00:00

On Aug 22, 9:48 am, "ThatsIT.net.au " <me@thatsitwrot e:
You could run a script logging out all users each night

"aydeejay" <aydeejo...@gma il.comwrote in message

news:11******** **************@ x40g2000prg.goo glegroups.com.. .
I'm trying to troubleshoot an issue where users are not able to bind
with LDAP via "GetObject" through our ASP Classic Intranet if they
stay logged in overnight (beyond their allowed login hours). The
problem does not occur when performing the same bindings using a logon
script.
So, the user logs in, is able to perform queries all day, and then
fails to log out at the end of the day. We'd prefer that they did log
out nightly, but it happens...
The following morning they unlock their machine during allowed logon
hours and are unable to bind to Active Directory via our Intranet
until they log out / back in or perform a RunAs using their own
credentials.
Any idea what could be happening? We've got "Windows Integrated
Authentication" and "Basic Authentication" enabled, anonymous access
is disabled.
The Intranet has no problem authenticating them and recognizing their
username, but any attempts to bind via GetObject generate this error:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'GetObject'
/auth_functions. asp, line 18
Thanks!- Hide quoted text -

- Show quoted text -

Aug 23 '07 #3

"aydeejay" <ay********@gma il.comwrote in message
news:11******** **************@ l22g2000prc.goo glegroups.com.. .
What I'm really looking for is some sort of explanation of what could
be happening -- we could certainly log everyone out as a workaround,
but there are certain users and machines, such as my own, where this
is undesirable.

As it turns out the problem does not involve logon hours, but it seems
to be contingent on how long they remain logged into the system.

This is definitely a Kerberos-related issue...if I stay logged in
overnight and run an ASP script that looks at authentication server
variables to determine the method of authentication being used, NTLM
is employed. If I log out and back into my machine, Kerberos is
employed.

It seem like some sort of expiry problem.

>
This seems to be an issue involving Kerberos ticket renewal /
expiration, but I haven't read any similar accounts of this problem.

"klist tgt" generates this error under a "stale" login session (left
overnight):
you may be able to change the life time of the ticket somewhere

>
Error calling function LsaCallAuthenti cationPackage: 0
The operation completed successfully.
Substatus: 0x8009030e

Under a "fresh" login it works fine:

Cached TGT:

ServiceName: krbtgt
TargetName: krbtgt
FullServiceName : ajones
DomainName: xxx
TargetDomainNam e: xxx
AltTargetDomain Name: xxx
TicketFlags: 0x40e00000
KeyExpirationTi me: 256/0/29920 0:103:804
StartTime: 8/23/2007 12:25:28
EndTime: 8/23/2007 21:00:00
RenewUntil: 8/23/2007 21:00:00
TimeSkew: 8/23/2007 21:00:00

On Aug 22, 9:48 am, "ThatsIT.net.au " <me@thatsitwrot e:
>You could run a script logging out all users each night

"aydeejay" <aydeejo...@gma il.comwrote in message

news:11******* *************** @x40g2000prg.go oglegroups.com. ..
I'm trying to troubleshoot an issue where users are not able to bind
with LDAP via "GetObject" through our ASP Classic Intranet if they
stay logged in overnight (beyond their allowed login hours). The
problem does not occur when performing the same bindings using a logon
script.
So, the user logs in, is able to perform queries all day, and then
fails to log out at the end of the day. We'd prefer that they did log
out nightly, but it happens...
The following morning they unlock their machine during allowed logon
hours and are unable to bind to Active Directory via our Intranet
until they log out / back in or perform a RunAs using their own
credentials.
Any idea what could be happening? We've got "Windows Integrated
Authentication" and "Basic Authentication" enabled, anonymous access
is disabled.
The Intranet has no problem authenticating them and recognizing their
username, but any attempts to bind via GetObject generate this error:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'GetObject'
/auth_functions. asp, line 18
Thanks!- Hide quoted text -

- Show quoted text -

Aug 24 '07 #4

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

Similar topics

1
4514
by: Chris Mescher | last post by:
Hi everyone, My IIS server won't work properly. I constantly receive the following error on localstart.asp: Microsoft VBScript runtime error '800a0046' Permission denied: 'GetObject' /localstart.asp, line 40 Line 40, and the surrounding code appear like this:
3
12262
by: A.C. Jetter | last post by:
I am using C# in Visual Studio.Net to create an application. The problem I am having is when the main form is moved around on the screen, the "panel" form that is displayed on the tab control does not move with the main form. How can I "anchor" them so they move together? I do not want to put the panels directly on the tab control, as I...
3
16429
by: mrwoopey | last post by:
Hi, I am using the example "Authenticate against the Active Directory by Using Forms Authentication and Visual Basic .NET": http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340 But I am having a problem figuring out the LDAP:// The LDAP:// that I pass looks like this (i substitued generic the
9
7114
by: rsine | last post by:
I have developed a program that sends a command through the serial port to our business system and then reads from the buffer looking for a number. Everything worked great on my WinXP system, but when I tried the program on the Win98 system it will be running on, I get the following error: Cast from string "2076719" to type 'Long' is not...
6
5144
by: Jurgen Haan | last post by:
Hi hi, I'm trying to perform a redirected restore, but I get a nice error returned. Does anyone have an idea of what the -5130 errorcode means? db2inst@ELMO:~> db2 restore db efproddb into testprod redirect SQL1277N Restore has detected that one or more table space containers are inaccessible, or has set their state to 'storage must be...
2
5036
by: mirin | last post by:
Hi Folks, I'm using .NET framework 2.0 My code errors out on the below line: objRootDSE = GetObject("LDAP://rootDSE") The error message is "Cannot create ActiveX component". The same code works fine in my development Win2000 PC where I'm using
2
7581
by: mythilikumar | last post by:
Iam unable to complie my c programs? it shows out an error as "unable to include stdio.h" what to do,i feel that there is some problem in my computer what is the rectification?
2
2170
by: hypermonkey2 | last post by:
Hi there! I am using the "shelve" module in a script to save information in between runtime sessions of the program. (its a sort of data collector, so its important to hold on to anything computed ). In any case, I shelve into a file "test.txt". I notice that when i try running the program on a different computer (by either emailing or...
2
1740
by: Abeeez | last post by:
I want to perform some functions on a ListBox when I click an HTML button but I to avoid postback to minimise the server round trips.... protected void Assign_Button_Click(object sender, EventArgs e) { Button clickedButton = sender as Button; if (clickedButton == null) { return;...
0
7694
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...
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
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...
1
7666
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...
0
7964
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...
1
5504
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...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1208
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.