Am in testing phase with just a few lucky users to go live with samba. However,
I just had a thought. What happens when we eventually do vista? Seems like I
may need to add %a to my path = statement, but it did not work. No profile was
created for the user under the "windows version" directory..
Here's my testing smb.conf. Please have a look and see what I may need to do
to separate the profile according to the operating system the user is using.
BTW, feel free to hack me apart on these settings..
Samba version 3.024
[global]
dos charset = 850
unix charset = ISO8859-1
workgroup = HOMELAN
server string = Samba Server %v
interfaces = eth0
passdb backend = ldapsam:ldap://127.0.0.1/
passwd program = /usr/sbin//smbldap-passwd %u
username map = /etc/samba/smbusers
syslog = 0
log file = /var/log/samba/log.%m
max log size = 100000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
add user script = /usr/sbin//smbldap-useradd -m "%u"
delete user script = /usr/sbin//smbldap-userdel "%u"
add group script = /usr/sbin//smbldap-groupadd -p "%g"
delete group script = /usr/sbin//smbldap-groupdel "%g"
add user to group script = /usr/sbin//smbldap-groupmod -m "%u"
"%g"
delete user from group script = /usr/sbin//smbldap-groupmod -x
"%u" "%g"
set primary group script = /usr/sbin//smbldap-usermod -g "%g"
"%u"
add machine script = /usr/sbin//smbldap-useradd -w "%u"
logon script = startup.bat
logon path logon drive = q:
logon home domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=home,dc=lan
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Users
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = dc=home,dc=lan
ldap user suffix = ou=Users
utmp = Yes
idmap backend = ldap://127.0.0.1
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
hosts allow = 192.168.0., 192.168.2., 127.
cups options = raw
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0600
directory mask = 0700
[netlogon]
comment = Network Logon Service
path = /opt/samba/netlogon
write list = root, admins
veto files = desktop.ini
[profiles]
path = /opt/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
hide files = /desktop.ini/outlook*.lnk/*Briefcase*/
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[iso]
comment = Programs
path = /home/samba/iso
read only = No
guest only = Yes
guest ok = Yes
veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/*.iso/*.pdf/*.PST/
[junk]
comment = Programs
path = /home/samba/junk
read only = No
guest only = Yes
guest ok = Yes
veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/*.iso/*.pdf/*.PST/
[programs]
comment = Programs
path = /home/samba/programs
read only = No
guest only = Yes
guest ok = Yes
veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/*.iso/*.pdf/*.PST/
[mp3]
comment = Programs
path = /home/samba/mp3
read only = No
guest only = Yes
guest ok = Yes
veto oplock files = /*.mdb/*.MDB/*.dbf/*.DBF/*.iso/*.pdf/*.PST/
[homeshares]
path = /home
--
This message has been scanned for viruses and dangerous content by RCRnet, and
is believed to be clean.