Re: net share
From: Mark H. Wood (mwood@mhw.ULib.IUPUI.Edu)
Date: 03/07/03
- Previous message: Joe Pinder: "Looking for Contacts for a questionnaire"
- In reply to: Rich marquette: "Re: net share"
- Next in thread: Rich marquette: "Re: net share"
- Reply: Rich marquette: "Re: net share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Mark H. Wood" <mwood@mhw.ULib.IUPUI.Edu> Date: Fri, 7 Mar 2003 14:51:46 +0000 (UTC)
Rich marquette <rmarket@dca.net> wrote:
> Try
>
> Net share x: \\servername\Sharename /user:(domain)username
>
> I use it all the time
You must be thinking of NET USE. NET SHARE has no such switch,
although it does have /USERS:n which sets the maximum number of
connections permitted.
NET SHARE hasn't kept up with the development of Windows' networking
model. There doesn't seem to be any way to set the ACL on the share
with NET SHARE or any other NET command. The NET SHARE command
probably just packages its arguments in a NET_SHARE_INFO_2 or
NET_SHARE_INFO_502 structure and passes them to NetShareAdd(), and
these structures only define a single permission mask and password for
use with share-level security, which modern versions of Windows do not
implement.
-- Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu MS Windows *is* user-friendly, but only for certain values of "user".
- Previous message: Joe Pinder: "Looking for Contacts for a questionnaire"
- In reply to: Rich marquette: "Re: net share"
- Next in thread: Rich marquette: "Re: net share"
- Reply: Rich marquette: "Re: net share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|