Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Long Time Samba No Work-Need Expert Help On Samba/Networking-Ahhh, Some Success

From: Leonard Chatagnier <lenc5570(at)sbcglobal.net>
Date: Tue Jul 31 2007 - 15:51:29 EDT

> 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
>

Hey Bruce,
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@sbcglobal.net

-- 
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Received on Tue Jul 31 15:51:53 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 15 2007 - 19:22:12 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library