I have a samba server set up to publicly share printers and a couple of
directories to Win9x and Win2000 clients. To set it up, I did:

-obvious installs (Linux, Samba)

-joined the samba server to an existing NT domain - a good writeup is here,
http://us1.samba.org/samba/docs/Samba-HOWTO-Collection.html#AEN400

- set up the guest user as FTP in smb.conf(I honestly don't remember why I
did this, but it works.  You could probably use GUEST or PCGUEST as the
guest accounts)

- enabled encrypted passwords, but manually edited the smbpasswd file to
blank out the samba password for the guest account.  Writeup is here -
http://us1.samba.org/samba/docs/ENCRYPTION.html

Posted at the end of this message is a sample smb.conf file that does the
trick for me.  The share called "Guest" is read-only to all users, you could
make it writeable by adding "writeable=yes". (note that I am using CUPS to
do printing, so unless you also use cups, take out the line that says
"printing=cups")

Print problem - HP has a writeup on fixing "stairstepping" under *BSD here
http://www.hp.com/cposupport/networking/support_doc/bpj02744.html.

good luck,
Mike

-----Original Message-----
From: Mat Branyon [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 03, 2002 7:16 PM
To: [email protected]
Subject: [brlug-general] networking and samba


well, i got two things im havin problems with at work.. the first is that i
need a public share under samba, full access for everyone on the local
network, without the need for passwords (its a secure network), or at least
read access for everyone without a password.  samba version 2.4

the second problem is setting up a network printer... it has its own ip
address..but it cant stand to try to print plain text documents(its an
hp2500cm). i can get it to print preformatted documents, but have no idea
how to print something from say opera, or a simple text file from command
line.. 

this is all under freebsd by the way...

_______________________________________________
General mailing list
[email protected]
http://brlug.net/mailman/listinfo/general_brlug.net


[global]
workgroup = MIKEGROUP
server string = Mike's Print Server
dns proxy = no
security = domain
encrypt passwords =yes
null passwords = yes
password server = MIKEPDC
socket options = TCP_NODELAY
netbios name = MIKEPRT
log file = /usr/local/samba/var/log.%m
guest account = ftp
map to guest = Bad User 
load printers = yes
printing = cups
use client driver = yes
max log size = 50

[homes]
comment = Home Directories
browseable = no
writeable = yes

[printers]
path = /usr/local/samba/spool
browseable = no
guest ok = yes
comment = All Printers
writeable = no 
printable = yes

[guest]
path = /tmp/guest
comment = Guest Sharing Area
public = yes

Reply via email to