Little bit OT: Printing to Samba

Frederik Meerwaldt Meerwaldt at t-online.de
Tue May 9 19:51:43 GMT 2000


Hi all,

I know, that that's a little bit OT, because it's not related to
Samba-NTDomain, but thats the only list, I'm subscribed to.

I have a problem printing to an Samba 2.0.6 FreeBSD V4.0/i386 Server.
I can print locally (lpr /etc/rc.conf for example works), but if I share
it with samba, and I connect to it from a Windows box, I always get the
message, that the printer is not on the Server. If I browse the Server, I
see the printer. Here are some important points of my smb.conf:

[global]

workgroup=MYDOMAIN
load printers=yes
security=domain
password server=*
encrypt passwords=yes

[Laser001]

printable = yes
printer = lp
writable = yes
postscript = yes
path = /var/spool/lpd/lp
public = yes
guest ok = yes

>From my Log files (when I try to connect) (/var/log/log.windowsbox):

[2000/05/09 21:14:56, 0] locking/shmem.c:smb_shm_unregister_process(475)
  ERROR smb_shm_unregister_process : couldn't find pid 33960 in file
/var/spool/lock/SHARE_MEM_FILE.processes

A ls -la in /var/spool/lpd/lp:

total 7
drwxr-xr-x  2 root deamon 512 Apr 19 18:21 .
drwxr-xr-x  6 root deamon 512 Apr 19 18:58 ..
-rw-r----x  1 root deamon   4 Apr 19 18:20 .seq
-rw-rw----  1 root deamon  38 Apr 18 10:57 dfA000mycomputer.mydomain.com
-rw-rw-r--  1 root deamon  42 Apr 19 18:20 lock
-rw-rw-r--  1 root deamon  26 Apr 19 18:20 status
-rw-rw----  1 deamon deamon 117 Apr 18 10:57 ftA00mycomputer.mydomain.com

A lpc status lp gives out, that the printer is idle, no print jobs....
I don't know if that matters, but the printer is a network printer, and
the FreeBSD Computer talks to it via TCP/IP (directly in the
/etc/printcap: rm=192.168.1.232 rp=port1......).

Thanks in advance,
	Freddy



More information about the samba-ntdom mailing list