Long Time Samba No Work-Need Expert Help On Samba/Networking-Ahhh, Some Success
Bruce Marshall
bmarsh at bmarsh.com
Tue Jul 31 16:43:18 UTC 2007
On Tuesday 31 July 2007, Leonard Chatagnier wrote:
> Hello Jurgen,
> Thanks for joining my bandwagon. Maybe if enough
> people agree something will be done. It's satisfying
> to hear that I'm not the only one. I intended to add
> my smb.conf file on this post but after thinking about
> what to say and composing it, I just overlooked adding
> it. It's copied at the end of this post. Maybe it'll
> be of some help to you getting Samba to work, hope so.
> To make it clear, my ubuntu computer's name is ubuntu
> and that's what I added the netbios name as. Don't
> give up, if I can get samba fully working anybody can
> with effort, of course.
> I do agree with you on the goodness of Ubuntu and it's
> user groups and will eventually rid my other computer
> of windows but there is room for improvement. Good
> luck to you on Samba. Also, see my comment on DHCP
> below.
I haven't joined this thread because I know little about Samba etc except that
I have had it working for several distros for the past 7 years. I don't
think it is that tough an issue. I have a 4 linux box system along with 3
WinXP boxes and have not had any trouble having them talk to each other.
I will include the smb.conf that I have been using all this time and will put
+++ IN FRONT of the lines I believe I have changed/added. Not very many
lines.
Note that this file gives me access to the ENTIRE machine, not just a
user /home or other setup. This is the way I want it. There is still file
write protection for those files not belonging to the user being used.
Note also, this file does not include a lot of things that the feisty smb.conf
includes because I always copy this file over from the last install and it
just works.
================= /etc/samba/smb.conf
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-05-02
[global]
+++ interfaces = 192.168.0.3 eth0
bind interfaces only = true
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
+++? read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[root] +++ added all of the below
path = /
force group = users
writable = yes
public = yes
force user = bmarsh
guest ok = yes
read only = No
More information about the ubuntu-users
mailing list