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

Tom.Williams at diversifiedsoftware.com Tom.Williams at diversifiedsoftware.com
Tue Apr 15 23:13:01 GMT 2003






Does the Samba box need to be configured as a PDC to make this work?

The command:

net use H: /home

doesn't identify to which server you will connect for the H: drive
resource.  When I connect to network drives on other Windows servers, I
also put the server name in the net use command:

net use X: \\server\share

Peace...

Tom



|---------+------------------------------------------------------------------>
|         |           cisco <cisco at email.arizona.edu>                        |
|         |           Sent by:                                               |
|         |           samba-bounces+tom.williams=diversifiedsoftware.com at list|
|         |           s.samba.org                                            |
|         |                                                                  |
|         |                                                                  |
|         |           04/15/03 03:44 PM                                      |
|         |                                                                  |
|---------+------------------------------------------------------------------>
  >-----------------------------------------------------------------------------------|
  |                                                                                   |
  |       To:       samba at lists.samba.org                                             |
  |       cc:                                                                         |
  |       Subject:  [Samba] Re: net use H:  /home does not work                       |
  >-----------------------------------------------------------------------------------|


            "Our mission is to help our clients achieve more cost-effective
data center operations."


I don't have a home defined for each user. Samba allows you to create a
HOMES share that is generic for all users on the system and supposedly
if you have in your logon script 'net use H: /home' and you have the
global parameter 'logon drive = H' it's all supposed work magically and
each user will see their home directory mapped using their logon id.

Tom.Williams at diversifiedsoftware.com wrote:
>
>
>
>
> I've got Samba installed on AIX, HP-UX, and Solaris servers.  I have
> "Homes" configured on each of them and when we map drives from Windows,
we
> map the user's home directory directly:
>
> net use H: \\{server}\tom
>
> and "tom" is my Unix login id and the name of my home directory on that
> box.
>
> Are your Windows IDs different from the defined Unix account names?
>
> Peace....
>
> Tom
>
>
>
>
|---------+------------------------------------------------------------------>

> |         |           cisco <cisco at email.arizona.edu>
|
> |         |           Sent by:
|
> |         |
samba-bounces+tom.williams=diversifiedsoftware.com at list|
> |         |           s.samba.org
|
> |         |
|
> |         |
|
> |         |           04/15/03 03:21 PM
|
> |         |
|
>
|---------+------------------------------------------------------------------>

>
>-----------------------------------------------------------------------------------|

>   |
|
>   |       To:       samba at lists.samba.org
|
>   |       cc:
|
>   |       Subject:  [Samba] Re: net use H:  /home does not work
|
>
>-----------------------------------------------------------------------------------|

>
>
>             "Our mission is to help our clients achieve more
cost-effective
> data center operations."
>
>
> That was already set correctly. It still does not work.
>
> Greg Miller wrote:
>
>>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
>>cisco
>>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:
>>
>>[homes]
>>           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
>
>
>


--
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