LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mapping Homes directory in Samba (https://www.linuxquestions.org/questions/linux-networking-3/mapping-homes-directory-in-samba-350282/)

mheymann 08-05-2005 11:00 AM

Mapping Homes directory in Samba
 
I have a Samba PDC server setup and running on a Red Hat ES 3.0 system
I am having in issue with the homes Directory.
As I understand the documentation I have read thus far I should be able to map a users personal home directory to a drive letter on their windows system via the correct settings in the smb.conf file. The directries have been created and the proper share settings and permissions seem to be correct because the users can see thier home directories and only their home directories in Network Neighborhood.
My goal however is to get their G:\ drive letter to be mapped to the correct user directory so their is no need to go through Network Neighborhood and thus far i have not been able to accomplish this task. Can this be done through the SMB.CONF file and if so how
Here is the snipit of my SMB.CONF file that regards the sections in question.
Also I do not actually need roaming profiles since all of my users only use their personal system.

# user profiles and home directory
# the local path to which the home ([HOMES]) directory will be connected
logon drive = G:\
logon home = /ptti-eng/users/%U

# where 'profiles' = [profiles] further on
logon path = /ptti-eng/users/profiles/%U
logon script = startup.bat
# logon script, location defined in [NETLOGON]

# define user mappings between this system and Windows systems.
# without this you get asked for a password even if none is required
# username map = /etc/samba/users.map
# but if you've created SMB users on here you don't need it

#sync Unix passwords from Windows workstations using PAM
unix password sync = yes
pam password change = yes

#GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG

#[profiles]
# comment = users' profile directories
# path = /home/samba/profiles
# read only = no
# browseable = no
# create mask = 0600 ; rwx-xxx-xxx only the user can read/write files
# directory mask = 0700 ; rwx-xxx-xxx directories must be executable if they are to be navigated

[NETLOGON]
# required for Windows authentication
# comment = The domain logon service
# path = /home/netlogon
path = /ptti-eng/users/login/%g
read only = yes
# 'read only' can be changed to 'no' whilst you edit this file
# but revert back to 'yes' for normal secure operation
browseable = no
# write list = @mis

[homes]
# 'logon drive' won't work without this section
# if you want to set the home directory somewhere other than the Unix home:
# comment = home directories
path = /ptti-eng/users/%U
read only = no
# don't display a 'homes' share as well as the '%U' share
browseable = no
public = no
# vaild users = %u
create mode = 0750

david_ross 08-05-2005 01:34 PM

You need to connect it with your startup.bat file:
net use /HOME


All times are GMT -5. The time now is 07:26 PM.