Well after having many problems installing Mandrake 8 on my server (it
would die during/after the network setup with a seg fault (missing memory
message)) I finally got it going.  This machine serves as my primary
file/print server for my house.  It includes several windows machines and
a couple of other Linux boxes.

I wanted to try CUPS out as we are trying to implement it at work and of
course you can't run a Windows network without Samba (well, you could. . .).

Firs, I had some problems getting Samba to cooperate to start with.  I
tracked it down to the security section and found that the files
/etc/profile.d/tmpdir.* were the cause.  Samba some how got its shorts
engangled there and insisted on putting its tmp files in /root/tmp:

[2001/04/30 16:29:41, 0] smbd/service.c:make_connection(501)
  Can't change directory to /root/tmp (Permission denied)

Well, I kludged it so that it forced the tmp directory to /tmp, but there
seems to be something missing as no other services insist on having tmp be
/root/tmp.

Second, setting up printing, I followed the notation in the sample
/etc/smb.conf to use CUPS.  I set up CUPS to print to two different
printers, an HP Laserjet and Deskjet on two different ports.  My windows
box recognized the two printers fine.  I sent a test print to the
Laserjet and it worked great.  I sent a test print to the Deskjet and it
tried printing it on the Laserjet.  Oops.  I double checked everything,
but I couldn't figure it out.  I haven't gone back to check the
"print command" string in the smb.conf file, but this seems pretty
strange.

[2001/04/30 22:11:55, 1] smbd/service.c:make_connection(550)
  smokey (192.168.3.30) connect to service laserjet as user jklaas
(uid=501, gid=100) (pid 2966)
[2001/04/30 22:11:55, 2] smbd/open.c:open_file(599)
  jklaas opened file smokey.fiiDvg read=No write=Yes (numopen=1)
[2001/04/30 22:11:56, 2] smbd/close.c:close_normal_file(157)
  jklaas closed file PrinterTestPage (numopen=0)
[2001/04/30 22:12:35, 2] lib/access.c:check_access(257)
  Allowed connection from smokey.appalachian.home (192.168.3.30)
[2001/04/30 22:12:35, 1] smbd/service.c:make_connection(550)
  smokey (192.168.3.30) connect to service inkjet as user jklaas (uid=501, gid=1
00) (pid 2966)
[2001/04/30 22:12:35, 2] smbd/open.c:open_file(599)
  jklaas opened file smokey.oQ0r6f read=No write=Yes (numopen=1)
[2001/04/30 22:12:41, 2] smbd/close.c:close_normal_file(157)
  jklaas closed file PrinterTestPage (numopen=0)
[2001/04/30 22:15:10, 1] smbd/service.c:close_cnum(581)
  smokey (192.168.3.30) closed connection to service inkjet
[2001/04/30 22:15:10, 1] smbd/service.c:close_cnum(581)
  smokey (192.168.3.30) closed connection to service laserjet

Thanks for your help.

-- 
                                James Klaas



Reply via email to