Re: Long Time Samba No Work-Need Expert Help On Samba/Networking-Ahhh, Some Success
- From: Leonard Chatagnier <lenc5570@xxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 12:51:29 -0700 (PDT)
On Tuesday 31 July 2007, Leonard Chatagnier wrote:Hey Bruce,
Hello Jurgen,satisfying
Thanks for joining my bandwagon. Maybe if enough
people agree something will be done. It's
to hear that I'm not the only one. I intended toadd
my smb.conf file on this post but after thinkingabout
what to say and composing it, I just overlookedadding
it. It's copied at the end of this post. Maybeit'll
be of some help to you getting Samba to work, hopeso.
To make it clear, my ubuntu computer's name isubuntu
and that's what I added the netbios name as.Don't
give up, if I can get samba fully working anybodycan
with effort, of course.it's
I do agree with you on the goodness of Ubuntu and
user groups and will eventually rid my othercomputer
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
Thanks for sharing your smb.conf. Not sure it would
have helped me in my original problem as it is so
different from the default and has no netbios name
entry which what fixed me. Do have some questions if
you don't mind.
1. What is 192.168.0.3 IP of? Before I solved my issue
I had to enter the IP for my WixXP machine in
interfaces before ubuntu would even list the shares in
windows. After the fix with the netbios name entry
only lo and eth0 are in interfaces and everything
works. So what does 192.168.0.3 IP represent?
2. What does the entry "include =
/etc/samba/dhcp.conf"
do? In my feisty setup, dhcp.conf is located in
/etc/dhcp3/. Maybe your using dapper or edgy? Is this
a client or server setup? I have both the server and
client setup on ubuntu machine but suspect I only need
the client dhcp?
3. Is there some other entry in your smb.conf that
takes the place of the netbios name entry in my setup.
Not sure, but looks like you are using a domain name
setup(I'm not) which may do the same thing. I'm not
very network savy as you see.
Thanks for your contribution,
Leonard Chatagnier
lenc5570@xxxxxxxxxxxxx
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Prev by Date: Re: my windows/linux network
- Next by Date: Re: Ham Radio s/w and Ubuntu? {including Echolink}
- Previous by thread: Re: Long Time Samba No Work-Need Expert Help On Samba/Networking-Ahhh, Some Success
- Next by thread: Added Programs Not Showing on Menu
- Index(es):
Relevant Pages
|