[Samba] Generic smb.conf file

Minh Duong minh_duong at yahoo.com
Thu Dec 19 16:30:31 GMT 2002


Hi,

Does anybody know where I can get an untouched
smb.conf file?  When I used samba-swat, it rewrote
smb.conf and deleted out the comments that was in the
original file that came with samba.

Minh

--- samba-request at lists.samba.org wrote:
> Send samba mailing list submissions to
> 	samba at lists.samba.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://lists.samba.org/mailman/listinfo/samba
> or, via email, send a message with subject or body
> 'help' to
> 	samba-request at lists.samba.org
> 
> You can reach the person managing the list at
> 	samba-admin at lists.samba.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of samba digest..."
> 
> 
> Today's Topics:
> 
>    1. max log size setting ignored (Tom Schaefer)
>    2. Re: ownership of smbfs mounts (M. D. Chappell)
>    3. Samba with Global File System (Montgomery
> Mouw)
>    4. Scrambled Jobnames when Printing
> (Gavin-Francis Fernandes)
>    5. Re: samba and ipchains (Joel Hammer)
>    6. Re: Odd problems with XP (Joel Hammer)
>    7. Re: Scrambled Jobnames when Printing (Joel
> Hammer)
>    8. Large File support not quiet working.. (CHS)
>    9. Re: max log size setting ignored (John H
> Terpstra)
>   10. Re: How important are oplocks? (Brad)
>   11. Re: Create time changing by itself? (Timo
> Sirainen)
>   12. Re: ownership of smbfs mounts (Hidong Kim)
>   13. creating read/write files for everyone from a
> SAMBA client (Ron Smith)
>   14. Creating read/write directories and files for
> everyone from an smb client (Ron Smith)
>   15. =?GB2312?B?s8/V97T6wO0=?=
> (=?GB2312?B?0tfN+A==?=)
>   16. private user accounts (ligeo george)
>   17. smbstatus+info (kdmprasad at netindial.com)
>   18. Samba 3alpha20 Bugs (FreeBSD 4.6) (Laurent
> Hofmann)
>   19. Re: Connection Refuse (Ray Simard)
>   20. Help with SAMBA configuratin. (Juan Rosell)
>   21. Re: smbstatus+info (Marian Mlcoch, Ing)
>   22. Re: Odd problems with XP (Marian Mlcoch, Ing)
>   23. Re: How important are oplocks? (Marian Mlcoch,
> Ing)
>   24. Trust relationship. (Juan Rosell)
>   25. Re: Trust relationship. (Marian Mlcoch, Ing)
>   26. Re: creating read/write files for everyone
> from a SAMBA
>        client (M. D. Chappell)
>   27. How do I get Samba to ignore SIDs in
> non-Domain workgroup? (lcea mdx)
>   28. Annoying Printer problem...Samba 2.2.7a on
> Debian 3.0 with lprng (Gareth Davies)
>   29. Profiles and Win2000 (Fridtjof Busse)
> 
> --__--__--
> 
> Message: 1
> Date: Wed, 18 Dec 2002 16:14:08 -0600
> From: Tom Schaefer <tom at umsl.edu>
> To: samba at lists.samba.org
> Subject: [Samba] max log size setting ignored
> 
> I work at a university and we are in the process of
> moving basically everything, and I mean everything
> to samba, eg.:
> 
> bash-2.03$ /usr/local/samba/bin/smbstatus | wc -l
>     1669
> 
> As you might imagine my log.smbd grows quite
> rapidly.  Even at log level 1 it routinely exceeds 5
> Meg. a day and then is renamed log.smbd.old and a
> new log.smbd is created.  NO MATTER WHAT I SET "max
> log size" equal to!  Be it a large value like 300000
> which is what I want, or 0 for infinite, its just
> always seems to be ignored and the default 5000 is
> always in effect.
> 
> Is anybody else experiencing this?  I have a feeling
> it has to do with the sheer load this server
> experiences and/or the complexity of the smb.conf
> file although its really not THAT complex.  I'm
> doing the "dual personality" thing with
> include = /usr/local/samba/lib/%L.smb.conf and make
> a lot of use of %U and %G and a bit of %S and some
> "force user" and some "force group" and "root
> prexec" and "root prexec close" but REALLY NOTHING
> THAT complicated and EVERYTHING works perfectly
> except for the "max log size" setting.
> 
> This used to happen when I used to build Samba with
> gcc on Solaris and it still happens although now I
> use Sun's Forte compiler.  I've been annoyed by this
> version after version of Samba and everytime I
> upgrade I always eagerly check if my log files will
> grow beyond 5 Meg and they never do.  I just
> upgraded to 2.2.7 last week and am still
> experiencing this problem so I've decided to finally
> post about it.
> 
> Tom Schaefer
> 
> I
> 
> --__--__--
> 
> Message: 2
> Subject: Re: [Samba] ownership of smbfs mounts
> From: "M. D. Chappell" <ee0mdc at NSLM.fsnet.co.uk>
> Cc: samba at lists.samba.org
> Date: 18 Dec 2002 22:39:12 +0000
> 
> On Wed, 2002-12-18 at 21:04, Hidong Kim wrote:
> > If I put the mount statement into 
> > /etc/fstab as
> > 
> > //windows1/public /home/windows1 smbfs
> username=me,password=pass 0 0
> > 
> > 
> > and then do 'mount -a' as root, the ownership of
> /home/windows1 changes 
> > to root:root.  How can I put the mount command
> into /etc/fstab, and 
> > maintain me:users ownership of the mount point? 
> Thanks,
> 
> Try 
> //windows1/public /home/windows1 smbfs
> username=me,password=pass,uid=uid,gid=gid 0 0
> 
> by uid & gid I mean the numbers not the names.
> 
> 
> Mark Chappell
> 
> 
> --__--__--
> 
> Message: 3
> Reply-To: <mmouw at sistina.com>
> From: "Montgomery Mouw" <mmouw at sistina.com>
> To: <samba at lists.samba.org>
> Date: Wed, 18 Dec 2002 16:45:57 -0600
> Subject: [Samba] Samba with Global File System
> 
> Is it possible to use Linux Samba with a Global File
> System and have all
> servers reading and writing the same files at the
> same time?  I've heard
> that Samba maintains a small database that contains
> meta data type
> information that is not communicated to other Samba
> servers.  And because
> Samba sits above the file system, GFS cannot
> guarantee it has correct
> information about the files.  Does anyone know if
> this is true or if Samba
> runs in a stateless fashion?
> 
> Thanks for your assistance.
> 
> Montgomery S. Mouw
> 612-638-0532 (direct)
> 
> 
> --__--__--
> 
> Message: 4
> Date: Thu, 19 Dec 2002 08:59:28 +1000
> From: Gavin-Francis Fernandes
> <g.fernandes at qut.edu.au>
> To: samba at lists.samba.org
> Subject: [Samba] Scrambled Jobnames when Printing
> 
> Dear Samba!
> 
> I use a perl script to move print jobs around for
> users, and there is a custom 
> printer interface to pick up the jobs. Windows
> clients print to the samba 
> printer, which basically moves the job to another
> share to be picked up by the 
> print server client, depending on the users
> \\Machine Name.  A sample from the 
> conf file:
> 
> [tcacol-prn]
>    comment = Printer for Colour at Talss CA
>    path = /var/spool/samba
>    public = yes
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the samba mailing list