LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-05-2005, 12:00 PM   #1
mheymann
LQ Newbie
 
Registered: Jun 2005
Location: Pittsburgh
Distribution: Red Hat ES
Posts: 18

Rep: Reputation: 0
Question 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
 
Old 08-05-2005, 02:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba [homes] dir problem mmowchenko Linux - General 1 11-03-2005 11:04 PM
help me with samba homes please.. brasuca Linux - Networking 3 04-28-2004 07:23 AM
KDE suffers with homes in a nfs directory Clemente Mandriva 2 12-23-2003 03:13 PM
user directory mapping ariana Linux - Software 2 03-10-2003 12:55 PM
homes directory with NT4 domain tisource Linux - Networking 0 07-03-2002 05:06 PM


All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration