Token problem between 2 computers in the network.

there are 2 computers in the LAN.
When Client access the files of the share in the Server, I can get the
impersonation token
in the Server normally.
But I find a problem here. I double click the shared file,such as
EXAMPLE.TXT,modify some contents,
and save it.I can catch the MJ_WRITE operation in the server,and
impersonation token also.and I open
the same file as fast as I can ,and modify and save it.This time, I get the
MJ_WRITE operation,it’s
ok.but when i query the thread/process token, it is PRIMARY TOKEN! How does
this happen? I am confused.

Any suggestion ?
thanks in advance.

Regards,
Ming


No one knows what tomorrow would be,
but I’ll do my best.

SRV only impersonates during most IRP_MJ_CREATE and some
IRP_MJ_SET_INFORMATION calls.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Thursday, July 22, 2004 11:06 AM
To: ntfsd redirect
Subject: [ntfsd] Token problem between 2 computers in the network.

there are 2 computers in the LAN.
When Client access the files of the share in the Server, I can get the
impersonation token in the Server normally.
But I find a problem here. I double click the shared file,such as
EXAMPLE.TXT,modify some contents, and save it.I can catch the MJ_WRITE
operation in the server,and impersonation token also.and I open the same
file as fast as I can ,and modify and save it.This time, I get the
MJ_WRITE operation,it’s ok.but when i query the thread/process token, it
is PRIMARY TOKEN! How does this happen? I am confused.

Any suggestion ?
thanks in advance.

Regards,
Ming


No one knows what tomorrow would be,
but I’ll do my best.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe
send a blank email to xxxxx@lists.osr.com

yes, I trace it again today. but i still get a primary token in
MJ_CREATE,once,
and only once. and then a page io write.


No one knows what tomorrow would be,
but I’ll do my best.
“Tony Mason” дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntfsd…
SRV only impersonates during most IRP_MJ_CREATE and some
IRP_MJ_SET_INFORMATION calls.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Thursday, July 22, 2004 11:06 AM
To: ntfsd redirect
Subject: [ntfsd] Token problem between 2 computers in the network.

there are 2 computers in the LAN.
When Client access the files of the share in the Server, I can get the
impersonation token in the Server normally.
But I find a problem here. I double click the shared file,such as
EXAMPLE.TXT,modify some contents, and save it.I can catch the MJ_WRITE
operation in the server,and impersonation token also.and I open the same
file as fast as I can ,and modify and save it.This time, I get the
MJ_WRITE operation,it’s ok.but when i query the thread/process token, it
is PRIMARY TOKEN! How does this happen? I am confused.

Any suggestion ?
thanks in advance.

Regards,
Ming


No one knows what tomorrow would be,
but I’ll do my best.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe
send a blank email to xxxxx@lists.osr.com