[Samba] net use H: /home does not work

Greg Miller gmiller at eccbm.com
Tue Apr 15 21:59:10 GMT 2003

Try this:

Login to swat and go to globals and select advanced view.  Scroll down
to the Login Options section and set the logon drive to H:

If you don't use swat add logon drive = H: to the samba conf in the
global section.

-----Original Message-----
From: samba-bounces+gmiller=eccbm.com at lists.samba.org
[mailto:samba-bounces+gmiller=eccbm.com at lists.samba.org] On Behalf Of
Sent: Tuesday, April 15, 2003 5:41 PM
To: samba at lists.samba.org
Subject: [Samba] net use H: /home does not work

The latest Orielly book Using SAMBA 2nd edition says that after you have

created a homes share that adding this line to your logon.bat file the 
user's home directory will be mapped and it will be called their user 
name. Well the logon.bat script gets an error on this line saying that 
it is not the proper use of the net use command. So instead I changed 
the command to net use H: \\pts3\homes and that works except the name 
that displays on the mapped drive is homes - not the user's logon name. 
How do I make this work properly?
Here is the definition of my homes share:

	comment = Home Directories exported for users
	path = %H
	valid users = %S
	read only = No
	create mask = 0600
	directory mask = 0700
	browseable = No

John Francisco
University of Arizona

To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list