I knew this was an option, I also did try this option and what happens
is the home directory is mapped, but the user is not able to create an
file, it says access is denied? But he is able to create a folder?
the command used in logon.bat file is net use h: \\server\%USERNAME%
Also, is there a way i can control the file permission on the clients
local harddrive from samba. For example, If a user A logs in to the
samba domain, he will not have any access to the local hard drive, can
we give permission from the samba, probably make that domain user a
part of power users on the client machine.
On Tue, Aug 18, 2009 at 11:30 PM, Dale
> You should be able to map the drives by creating a [netlogon] share, then
> using logon scripts containing
> "net use" commands.
> Note: these scripts must be created with a DOS/Windows text editor.
> See example
> Avinash Rao wrote:
> Dear all,
> I am using Ubuntu 8.04 Server 64-bit edition and I am trying to
> enforce Local profile for all users and below is my smb.conf file.
> According to the samba documentation, leaving the logon home and logon
> path values to empty will enforce local profiles, it worked. But, my
> main requirement is when users login their home directories are mapped
> and they appear in My Computer window so they get to access all their
> files. This disappears if i enable the above mentioned option.
> How do i get both of them working?
> workgroup = abc
> server string = Samba on SUN
> max log size = 1500
> log level = 1
> interfaces = eth2 100.100.100.50
> bind interfaces only = True
> log file = /var/log/samba/log.%m
> domain logons = yes
> os level = 65
> prefered master = yes
> domain master = yes
> local master = yes
> logon home =
> logon path =
> winbind gid = 10000-20000
> winbind use default domain = yes
> idmap uid = 0-20000
> idmap gid = 0-20000
> add machine script = /usr/sbin/useradd -s /bin/false -d /home/nobody %u
> dns proxy =No
> hosts allow = 127. 10.10.10.
> wins support = Yes
> passdb backend = tdbsam
> encrypt passwords = true
> smb passwd file = /etc/samba/smbpasswd
> security = user
> netbios name = sunbox
> username map = /etc/samba/smbusers
> comment = Home Dir
> read only = NO
> browseable = NO
> valid users = %S
> path = %H
> directory mask = 0700
> create mask = 0700
> comment = test share
> path = /sambashare
> create mask = 0765
To unsubscribe from this list go to the following URL and read the