From owner-freebsd-questions Mon Jul 15 8:26: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5560E37B401 for ; Mon, 15 Jul 2002 08:25:50 -0700 (PDT) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mx1.FreeBSD.org (Postfix) with SMTP id CFE0543E6A for ; Mon, 15 Jul 2002 08:25:49 -0700 (PDT) (envelope-from davoid@softhome.net) Received: (qmail 490 invoked by uid 417); 15 Jul 2002 15:25:49 -0000 Received: from slide-.softhome.net (HELO softhome.net) (172.16.2.21) by shunt-smtp-out-0 with SMTP; 15 Jul 2002 15:25:49 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 417) by softhome.net with local; Mon, 15 Jul 2002 09:25:49 -0600 From: davoid@softhome.net To: freebsd-questions@FreeBSD.ORG Cc: samba@lists.samba.org Reply-To: davoid@gentoo.org Subject: weird printing with samba 2.2.4 problems under FreeBSD 4.6-STABLE Date: Mon, 15 Jul 2002 09:25:49 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: davoid@softhome.net X-Originating-IP: [24.202.204.137] Message-ID: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello. I have a simple samba 2.2.4 setup here under FreeBSD 4.6-STABLE: I want to share my printer through samba to other windows clients on my LAN. I already have this working perfectly under Linux on the same machine, however the freebsd port or package seem to not work. - the printer is correctly set up with LPRng (lpr prints file correctly). However when I connect to the share with smbclient \\\\Storm\\Cannon_Linux -U davoid, I supply my password and put a file, it doesn't get printed out! nor does it appear in /var/spoo/samba. Permissions of /var/spool/samba seem correct. Everybody can read, write, execute /var/spool/samba. Note that the same operation under Linux works. I have even tried using the same smb.conf under fbsd as under Linux. Still can't print! Here's my current smb.conf =================[smb.conf]======================= # Samba config file created using SWAT # from Storm (192.168.0.1) # Date: 2002/07/15 11:12:25 # Global parameters [global] workgroup = IAAI netbios name = STORM server string = davoid's samba server encrypt passwords = Yes printing = lprng [Cannon_Linux] comment = Canon BJC-210 path = /var/spool/samba/ read only = No guest ok = Yes printable = Yes printer name = Cannon_Linux oplocks = No ==================[smb.conf]======================== Please note that the share name Cannon_Linux is only due to the fact that the same printer under Linux on the same server is named Cannon_Linux and as to not have to reconfigure windows clients I named it the same. Samba is running from inetd, and is running well. I can share a folder and it works perfectly. Only printing is a problem. Note: I have tried both the package 2.2.4 and the port, the same result. I have even tried printing from the windows clients, I cannot. I have had the same problem a whole ago and been unable to solve it... I am really looking forward for any help/tips. And yes, I have read the manual pages, using samba over and over.. Thanks! Andrey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message