[Samba] Enforcing local profile doesn't let Home Directory mapping
Dale Schroeder
dale at BriannasSaladDressing.com
Tue Aug 18 12:00:51 MDT 2009
Avinash,
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 <http://oreilly.com/catalog/samba/chapter/book/ch06_06.html>
Dale
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?
>
> Thanks
> Avinash
>
> [global]
> 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
>
> [homes]
> comment = Home Dir
> read only = NO
> browseable = NO
> valid users = %S
> path = %H
> directory mask = 0700
> create mask = 0700
>
> [share]
> comment = test share
> path = /sambashare
> create mask = 0765
>
More information about the samba
mailing list