[Samba] net use h: /home syntax?
Ryan Novosielski
novosirj at umdnj.edu
Sat Nov 17 17:12:58 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Frank Van Damme wrote:
> On 11/17/07, joop gerritse <jjge at xs4all.nl> wrote:
>> I am setting up a Win98 client to work with my samba server. I can log in on
>> the domain allright, but then I would expect to get access to my home
>> directory by issuing (in a DOS box):
>>
>> NET USE H: /HOME
>>
>> For some reason I am told that the syntax is not correct. On the other hand
>> net use /? gives exactly this as one of the options. Does anyone know what is
>> wrong with it?
>
>
> You're running this from Windo(w)s, so use the paths as Windows knows them.
>
> net use h: \\fooserver\yourusername
>
> (if you configured the [homes] share in Samba)
That's not required. Samba defines the share requested by HOME and the
client does not need to know what it is. I have a logon script that does
just this:
## mount our stuff and synch time from server
print LOGON "NET USE S: /HOME\r\n";
(this is part of a magic script that is created by perl, so if you
distill that line down, it's the same one the original poster is using)
So, I don't know what's wrong, but isn't there an error or something?
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHPyEamb+gadEcsb4RAsvnAJ9sjcp3Hwrt0k3pExyZrEKTV3WlqQCbBVI3
8Vqs2GliQ8LH0I5AxJPPrUM=
=WRYo
-----END PGP SIGNATURE-----
More information about the samba
mailing list