Dear All,
I met a problem when access network shared files in the kernel driver.
I always got a “Access Denied 0xc0000022” error.
The senario is:
- A Win2000 Domain;
- User account “Acc” in this domain in Domain/Users group.
- A Shared folder on a Server(win 2000) in this domain.( the Acc has the
permission to full control to this shared folder)
- A Computer(win2000) in this domain
The steps are:
-
I logon to that computer using the domain account “Acc”
-
I start a app and send out an IOCTL from this app
-
Create a system thread in the driver after receive this IOCTL. and create
a security client context.
-
When needed in the dispacth routine of this driver, I access the shared
folder on that server in this domain.
Always got an 0xC0000022 error.
-
But When I logon that computer using an adminstrator domain account. Then
every thing ok.
-
even after logon under adminstrator’s account then create the sytem
thread and log out and relogon under the “Acc” account, this time I can
access that share folder also.
So, Is that I miss some configuration on the server or on the domain about
privilage or security of that “Acc” account or server?
What I should do? Does any one has any suggestion?
Or is there any books or articles about those? I search on the web. still
can not get whole picture about security and network resource access and
user account and logon.
Thanks
Laura.
Post your ad for free now! http://personals.yahoo.ca
Miss a little in step “4”
Dear All,
I met a problem when access network shared files in the kernel driver.
I always got a “Access Denied 0xc0000022” error.
The senario is:
- A Win2000 Domain;
- User account “Acc” in this domain in Domain/Users group.
- A Shared folder on a Server(win 2000) in this domain.( the Acc has the
permission to full control to this shared folder)
- A Computer(win2000) in this domain
The steps are:
-
I logon to that computer using the domain account “Acc”
-
I start a app and send out an IOCTL from this app
-
Create a system thread in the driver after receive this IOCTL. and create
a security client context.
-
When needed in the dispacth routine of this driver, impersonate the
thread using the saved security client context then access the shared folder
on that server in this domain.
Always got an 0xC0000022 error.
-
But When I logon that computer using an adminstrator domain account. Then
every thing ok.
-
even after logon under adminstrator’s account then create the sytem
thread and log out and relogon under the “Acc” account, this time I can
access that share folder also.
So, Is that I miss some configuration on the server or on the domain about
privilage or security of that “Acc” account or server?
What I should do? Does any one has any suggestion?
Or is there any books or articles about those? I search on the web. still
can not get whole picture about security and network resource access and
user account and logon.
Thanks
Laura.
Post your free ad now! http://personals.yahoo.ca