Here is a generic conf, works with about 99% of the samba config needs out
there. Canibalize as necessary:
[EMAIL PROTECTED] david]$ cat /etc/smb.conf
# Global parameters
[global]
workgroup = RB_LAW
server string = RB_LAW Samba Server %v
encrypt passwords = Yes
update encrypted = Yes
smb passwd file = /etc/smbpasswd
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *new*password* %n\n *success*
passwd chat debug = Yes
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins lmhosts hosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
logon script = %U.bat
domain logons = Yes
time server = yes
os level = 34
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
hosts allow = 192.168.7. localhost
min print space = 2000
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
[netlogon]
comment = Rankin-Bertin logon services
path = /home/samba/logon
browseable = No
[Rankin-Bertin]
comment = Rankin-Bertin PLLC
path = /home/samba/rbpllc
valid users = @rbpllc
force group = rbpllc
admin users = david
writeable = Yes
map archive = Yes
inherit permissions = Yes
[homes]
comment = Homes Directory
writeable = Yes
browseable = No
[printers]
comment = All the Printing SOB's
path = /var/spool
guest ok = Yes
printable = Yes
printer = lp
See the O'Rielly online free manual that is part of your samba docs for more
detail on the obscure entries. Then just # /etc/rc.d/init.d/smb restart
--
David C. Rankin, J.D., P.E.
Rankin * Bertin, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
--
----- Original Message -----
From: "Jack Coates" <[EMAIL PROTECTED]>
To: "Mandrake Expert List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 2:30 PM
Subject: Re: [expert] All I want to do is FTP
> trying to figure out why Samba isn't working... two hours
> looking for alternatives network transfer mechanisms... one hour
> sneaker-netting the data with removable media... six hours
>
> downloading pscp.exe and simply transferring the files... priceless
>
> :-)
>
> I mean, honestly. I've got nearly ten years of earning a living with
> computers under my belt, I'm MCSE and LPIC-2 certified, and I've spent
> over half my career working with networks and firewalls. I still can't
> configure Samba properly on the first try, and usually not on the second
> or third either. I know a couple of admins who are comfortable with
> Samba, but most admins in my circle fight for hours and days to get it
> set up and then stay the hell away from it.
>
> Recommending that a newbie jump in and start hacking smb.conf and
> smbpasswd is like asking Jack Black to win an Ironman :-)
>
>
>
> On Wed, 2003-10-08 at 12:08, Ricardo (Tru64 User) wrote:
> > samba then?
> > Mount a linux filesystem via samba to the inferrior
> > breed.
> >
> > Richard
> >
> >
> > --- David Rankin <[EMAIL PROTECTED]> wrote:
> > > Good point, but it presupposes that the "other
> > > comuputer" is a Linux box and
> > > not some inferrior breed that doesn't understand scp
> > > ;-)
> > >
> > > --
> > > David C. Rankin, J.D., P.E.
> > > RANKIN * BERTIN, PLLC
> > > 510 Ochiltree Street
> > > Nacogdoches, Texas 75961
> > > (936) 715-9333
> > > (936) 715-9339 fax
> > > --
> > > ----- Original Message -----
> > > From: "Jack Coates" <[EMAIL PROTECTED]>
> > > To: "Mandrake Expert List"
> > > <[EMAIL PROTECTED]>
> > > Sent: Wednesday, October 08, 2003 10:16 AM
> > > Subject: Re: [expert] All I want to do is FTP
> > >
> > >
> > > > you know what I do when I want to transfer a big
> > > bunch of files?
> > > > scp -r big-buncha-files
> > > [EMAIL PROTECTED]:/new/home/of/files
> > > >
> > > > You can also use:
> > > >
> > > > scp -r [EMAIL PROTECTED]:/big/buncha/files
> > > /new/home/of/files
> > > >
> > > > It's a little more CPU-intensive than FTP'ing
> > > them, but who cares? It's
> > > > also a lot easier than installing a temporary FTP
> > > server, especially
> > > > since you've probably already got sshd up and
> > > running on at least one of
> > > > the boxes.
> > > >
> > > > IMHO the FTP protocol is dying the slow and
> > > painful death that it so
> > > > richly deserves. It won't be missed.
> > > >
> > > > Jack
> > > >
> > > > On Wed, 2003-10-08 at 07:27, David Rankin wrote:
> > > > > Worse comes to worse, try:
> > > > >
> > > > > # vi /etc/xinetd.d/wu-ftpd
> > > > >
> > > > > service ftp
> > > > > {
> > > > > disable = yes
> > > > > socket_type = stream
> > > > > wait = no
> > > > > user = root
> > > > > server =
> > > /usr/sbin/in.ftpd
> > > > > server_args = -l -a
> > > > > log_on_success += DURATION
> > > USERID
> > > > > log_on_failure += USERID
> > > > > nice = 10
> > > > > }
> > > > >
> > > > > ** Change disable to = no
> > > > >
> > > > > Then
> > > > >
> > > > > # /etc/rc.d/init.d/xinetd restart
> > > > >
> > > > > ftp away.
> > > > >
> > > > > THEN DISABLE wu-ftpd and restart xinetd. You
> > > don't want to leave wu-ftpd
> > > up.
> > > > >
> > > > > --
> > > > > David C. Rankin, J.D., P.E.
> > > > > RANKIN * BERTIN, PLLC
> > > > > 510 Ochiltree Street
> > > > > Nacogdoches, Texas 75961
> > > > > (936) 715-9333
> > > > > (936) 715-9339 fax
> > > > > --
> > > > > ----- Original Message -----
> > > > > From: "James" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Wednesday, October 08, 2003 3:12 AM
> > > > > Subject: [expert] All I want to do is FTP
> > > > >
> > > > >
> > > > > > I finally got my 9.1 Mandrake working
> > > wonderfully as a server. All my
> > > > > > virtual web pages work wonderfully.. and now I
> > > am ready to open an FTP
> > > > > > connection so I can finish uploading a ton of
> > > files from a different
> > > > > > computer.
> > > > > >
> > > > > > Only problem is, I don't know how to get FTP
> > > to work in this version.
> > > > > >
> > > > > > I've downloaded PROFTPD and tried to get that
> > > to work, but after a few
> > > > > > questions to the PROFTPD mail list, and a few
> > > days of searching Google
> > > for
> > > > > > help, and reading the PROFTPD faq, I still
> > > can't FTP to my new server.
> > > > > > The people on the PROFTPD mail list won't even
> > > reply to my questions.
> > > > > >
> > > > > > Should I even be using PROFTP? What can I do,
> > > if even for a basic FTP
> > > > > > setup, to get FTP to work on my server? I'll
> > > be glad to remove
> > > PROFTPD
> > > > > > and use whatever works.
> > > > > >
> > > > > > Any suggestions will be happily appreciated.
> > > > > >
> > > > > > James
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
>
> --------------------------------------------------------------------------
> > > --
> > > > > ----
> > > > >
> > > > >
> > > > > > Want to buy your Pack or Services from
> > > MandrakeSoft?
> > > > > > Go to http://www.mandrakestore.com
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> > ______________________________________________________________________
> > > > > Want to buy your Pack or Services from
> > > MandrakeSoft?
> > > > > Go to http://www.mandrakestore.com
> > > > --
> > > > Jack Coates
> > > > Monkeynoodle: A Scientific Venture...
> > > >
> > > >
> > > >
> > >
> > >
> > >
>
> --------------------------------------------------------------------------
--
> > > ----
> > >
> > >
> > > > Want to buy your Pack or Services from
> > > MandrakeSoft?
> > > > Go to http://www.mandrakestore.com
> > > >
> > >
> > >
> > > > Want to buy your Pack or Services from
> > MandrakeSoft?
> > >
> > > Go to http://www.mandrakestore.com
> > >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product search
> > http://shopping.yahoo.com
> >
> >
> > ______________________________________________________________________
> > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> --
> Jack Coates
> Monkeynoodle: A Scientific Venture...
>
>
>
----------------------------------------------------------------------------
----
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com