M
Michael D'Angelo
I have an ASP.NET 2.0 app with windows authentication and impersonation
enabled. The application pool is running as local system.
I'm trying to call NetUserGetInfo to retrieve the full name of a user
account. The code works when run from a console application. When I
execute it from the ASP.NET page, I can see in the event log on the domain
controller the following failure audit:
Object Open:
Object Server: Security Account Manager
Object Type: SAM_SERVER
Object Name: CN=Server,CN=System,DC=domain,DC=com
Handle ID: -
Operation ID: {0,706132358}
Process ID: 544
Process Name: C:\WINDOWS\system32\lsass.exe
Primary User Name: DC$
Primary Domain: DOMAIN
Primary Logon ID: (0x0,0x3E7)
Client User Name: ANONYMOUS LOGON
Client Domain: NT AUTHORITY
Client Logon ID: (0x0,0x2A16B979)
Accesses: MAX_ALLOWED
Privileges: -
Properties:
---
samServer
Access Mask: 0
So it appears as though delegation is not working...however I've gone into
the properties on teh server, and in the delegation tab, I've added every
service listed on the domain controller, using any authentication protocol.
Despite this it's still failing. Any ideas?
enabled. The application pool is running as local system.
I'm trying to call NetUserGetInfo to retrieve the full name of a user
account. The code works when run from a console application. When I
execute it from the ASP.NET page, I can see in the event log on the domain
controller the following failure audit:
Object Open:
Object Server: Security Account Manager
Object Type: SAM_SERVER
Object Name: CN=Server,CN=System,DC=domain,DC=com
Handle ID: -
Operation ID: {0,706132358}
Process ID: 544
Process Name: C:\WINDOWS\system32\lsass.exe
Primary User Name: DC$
Primary Domain: DOMAIN
Primary Logon ID: (0x0,0x3E7)
Client User Name: ANONYMOUS LOGON
Client Domain: NT AUTHORITY
Client Logon ID: (0x0,0x2A16B979)
Accesses: MAX_ALLOWED
Privileges: -
Properties:
---
samServer
Access Mask: 0
So it appears as though delegation is not working...however I've gone into
the properties on teh server, and in the delegation tab, I've added every
service listed on the domain controller, using any authentication protocol.
Despite this it's still failing. Any ideas?