How to get computer name in IRP_MJ_CREATE routine?

In file system filter, when I handle the
IPR_MJ_CREATE, how can I get the name of the computer
in network where file open request comes from?

Thanks a lot,
Jack


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

There is no generic mechanism for achieving this. First, note that
there are three different file servers available on Windows - SRV (CIFS
service), SFU (NFS) and SFM (Macintosh support) so even if you find a
mechanism that works with one of them, it is not going to be generically
applicable.

The more general question is “what are you trying to achieve?” Perhaps
someone on the list can suggest an alternative for you.

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 Jack Chen
Sent: Wednesday, July 07, 2004 11:33 AM
To: ntfsd redirect
Subject: [ntfsd] How to get computer name in IRP_MJ_CREATE routine?

In file system filter, when I handle the IPR_MJ_CREATE, how can I get
the name of the computer in network where file open request comes from?

Thanks a lot,
Jack


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


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

absolutely.
maybe u can re-design ur filter.


No one knows what tomorrow would be,
but I’ll do my best.
“Tony Mason” дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntfsd…
There is no generic mechanism for achieving this. First, note that
there are three different file servers available on Windows - SRV (CIFS
service), SFU (NFS) and SFM (Macintosh support) so even if you find a
mechanism that works with one of them, it is not going to be generically
applicable.

The more general question is “what are you trying to achieve?” Perhaps
someone on the list can suggest an alternative for you.

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 Jack Chen
Sent: Wednesday, July 07, 2004 11:33 AM
To: ntfsd redirect
Subject: [ntfsd] How to get computer name in IRP_MJ_CREATE routine?

In file system filter, when I handle the IPR_MJ_CREATE, how can I get
the name of the computer in network where file open request comes from?

Thanks a lot,
Jack

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


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

Actually what I’m trying to do is:
Say there are computer A and computer B, A try to open
a file in B. How can I know in computer B which
computer want to open my file?

If anybody can tell me a solution for CIFS, that
already would be great.

I just started doing some driver development. I always
don’t know even where to start.

Thanks in advance,
Jack

— Abc wrote:
> absolutely.
> maybe u can re-design ur filter.
>
> –
> No one knows what tomorrow would be,
> but I’ll do my best.
> “Tony Mason”
> дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntfsd…
> There is no generic mechanism for achieving this.
> First, note that
> there are three different file servers available on
> Windows - SRV (CIFS
> service), SFU (NFS) and SFM (Macintosh support) so
> even if you find a
> mechanism that works with one of them, it is not
> going to be generically
> applicable.
>
> The more general question is “what are you trying to
> achieve?” Perhaps
> someone on the list can suggest an alternative for
> you.
>
> 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
> Jack Chen
> Sent: Wednesday, July 07, 2004 11:33 AM
> To: ntfsd redirect
> Subject: [ntfsd] How to get computer name in
> IRP_MJ_CREATE routine?
>
> In file system filter, when I handle the
> IPR_MJ_CREATE, how can I get
> the name of the computer in network where file open
> request comes from?
>
> Thanks a lot,
> Jack
>
>
>
>
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
> —
> 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
>
>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

I think u should not know which ip the request comes from on the server
side.
but u know whose access token is being impersonated.


No one knows what tomorrow would be,
but I’ll do my best.
“Jack Chen” дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntfsd…
> Actually what I’m trying to do is:
> Say there are computer A and computer B, A try to open
> a file in B. How can I know in computer B which
> computer want to open my file?
>
> If anybody can tell me a solution for CIFS, that
> already would be great.
>
> I just started doing some driver development. I always
> don’t know even where to start.
>
> Thanks in advance,
> Jack
>
> — Abc wrote:
> > absolutely.
> > maybe u can re-design ur filter.
> >
> > –
> > No one knows what tomorrow would be,
> > but I’ll do my best.
> > “Tony Mason”
> > дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntfsd…
> > There is no generic mechanism for achieving this.
> > First, note that
> > there are three different file servers available on
> > Windows - SRV (CIFS
> > service), SFU (NFS) and SFM (Macintosh support) so
> > even if you find a
> > mechanism that works with one of them, it is not
> > going to be generically
> > applicable.
> >
> > The more general question is “what are you trying to
> > achieve?” Perhaps
> > someone on the list can suggest an alternative for
> > you.
> >
> > 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
> > Jack Chen
> > Sent: Wednesday, July 07, 2004 11:33 AM
> > To: ntfsd redirect
> > Subject: [ntfsd] How to get computer name in
> > IRP_MJ_CREATE routine?
> >
> > In file system filter, when I handle the
> > IPR_MJ_CREATE, how can I get
> > the name of the computer in network where file open
> > request comes from?
> >
> > Thanks a lot,
> > Jack
> >
> >
> >
> >
> > Do you Yahoo!?
> > Yahoo! Mail - 50x more storage than other providers!
> > http://promotions.yahoo.com/new_mail
> >
> > —
> > 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
> >
> >
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> > https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
>
>
>

> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>