Hello and thanks for indulging yet another printer question. Here at the University of Denver we have formally announced that laptops will be a requirement for all incoming freshmen in the Fall. I have been charged with the task of finding a solution for printing (accounting, quotas, and managing roaming users). I've decided, for now, to use Samba with an eval copy of printXchange (this will be part of Digital Unix 4.0f and >). I'm testing with DU4.0dPatchKit8 and Samba 2.0.3. My biggest problems are these: 1. My WinNT4.0sp3 clients will not print. The setup dialogues complete okay, but when a job is sent by dragging and dropping I get the following message: "The filename, directory name, or volume label syntax is incorrect." I've checked all permissions (the spool directory, the printXchange executables) and cannot figure it out. My Win95 clients seem to print okay. What's up? 2. When my Win95 clients send a job, the job is attributed to the hostname. What I'd really like to see are jobs attributed to individual usernames. Is this possible? I need to do accounting/quotas/billing for print jobs. I appreciate any examples, hints, and RTFMs you might throw my way. I'll summarize. Thanks, -adam unix/nt sysadmin University of Denver Here's my smb.conf: [global] netbios aliases = test public ; remote announce = <snip> wins server = <snip> printing = bsd printcap name = /local/samba/lib/printcap load printers = yes guest account = nobody null passwords = yes mangle case = no case sensitive = no default case = upper preserve case = yes short preserve case = yes status = yes debug level = 0 allow hosts = <snip> security = user domain master = no local master = no preferred master = no os level = 0 socket options = TCP_NODELAY read prediction = yes ; You will need a world readable lock directory and "share modes=yes" ; if you want to support the file sharing modes for multiple users ; of the same files lock directory = /usr/local/samba/var/locks share modes = yes include = /usr/local/samba/lib/smb.conf.test include = /usr/local/samba/lib/smb.conf.public [homes] comment = Home Directory browseable = no read only = no create mask = 700 [printers] path = /tmp/samba auto services = zx comment = All Printers browseable = no printable = yes public = no writable = no create mode = 0700 guest ok = no [zx] comment = test for printExchange w/ samba path = /var/spool/pd/argus_spl postscript = yes browsable = yes printable = yes public = yes writable = no create mode = 0700 guest ok = no printer name = zx_logical print command = pdpr -p %p %s ; rm %s lpq command = pdq -p %p lprm command = pdrm -p %p %j <snip>
> > Date: Mon, 19 Apr 1999 06:18:38 -0600 (MDT) > From: Daniel Nichter <danieln@inthorizons.com> > To: Samba mailing list <samba@samba.org> > Subject: Long share names > Message-ID: <Pine.LNX.3.96.990419061752.5342A-100000@cody> > > Is there a way to create share names > 8 characters, > with spaces? Example, a share name called > "Inactive time sheets". > > All my clients are Win9x boxes, and I'm running > Samba 2.0.3. > > Perhaps some source code tweaks if necessary? > > Thanks, > Daniel >In smb.conf add the two lines preserve case = yes short preserve case = yes Have a lot of fun... Oliver Minden - Germany
Dear Samba Guru's I have a very specific configuration I am trying to make work. In a nutshell I am trying to make printing a GUEST service for any given printer. But I would like to do this WITHOUT using the force user = samba It the current configuration, all users who want to print to a Samba printer require a vailid login and password. But if they are a guest and require printing, it deny's them access. Any ideas on how to enable guest printing for users without valid login id's? Configuration Information: Samba version 1.9.18p7 Solaris 2.6 Rev_11 Here is the partial configuration: [global] share modes = yes locking = yes strict locking = yes keepalive = 30 dead time = 15 lock directory = /var/spool/locks printing = sysv printcap name = /usr/local/samba/lib/printcap logfile=/tmp/smb-print.log lpq cache time = 0 [sj-mis] browseable = yes guest ok = yes writable = no printable = yes comment = B&W in San Jose #1, 4th Floor, SE (aka sjc1-ss4) path = /var/spool/samba_lp/sj-mis
When the world was young, mikael.markus@se.abb.com carved some runes like this:> I am a beginner on Linux and are trying to update Samba on my Linux Red > Hat 5.2 computer. When I tried to run ./configure from Samba-2.0.3 I get > the message > > loading cache ./config.cache > checking for gcc... no > checking for cc... no > configure: error: no acceptable cc found in $PATH > > I have downloaded http://se.samba.org/samba/ftp/samba-2.0.3.tar.gz and > extracted all the files on a temporary directory on my Linux machine. It > is a Intel 486.It looks like you haven't installed the C development packages (gcc, libs, etc). If you're short on disk space (and can't install the required packages) then you should be able to find an rpm binary of samba for your system. IMHO, you should always find room to install the gcc stuff; my wife's computer is a 486 with only a 250 meg linux partition, but it has all the basic development stuff (except for all the X-devel crap). However, it's not running samba (it's just a client on the network). Unless you really need the new domain stuff in samba 2.x, the stock RH52 version of samba (1.9.18p10) works great; although it's never a bad idea to compile your own packages from source, it can be a bit daunting at first (it still is to me:) If you have X working, run glint from an xterm to see the installed packages. You can then remove the ones you don't really need. Steve ****************************************************************** Stephen L Arnold http://www.rain.org/~sarnold #include <std_disclaimer.h> ******************************************************************