From owner-freebsd-questions Thu Jan 23 9: 9:31 2003 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 5E83C37B401 for ; Thu, 23 Jan 2003 09:09:29 -0800 (PST) Received: from expresso.netweaver.net (expresso.netweaver.net [217.151.99.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 81ABD43EB2 for ; Thu, 23 Jan 2003 09:09:26 -0800 (PST) (envelope-from chris@chrishowells.co.uk) Received: (qmail 4080 invoked from network); 23 Jan 2003 17:04:09 -0000 Received: from userfr60.uk.uudial.com (chris@chrishowells.co.uk@62.188.26.135) by 0 with SMTP; 23 Jan 2003 17:04:09 -0000 From: Chris Howells Organization: @ $HOME Date: Thu, 23 Jan 2003 17:10:12 +0000 User-Agent: KMail/1.5.9 X-GPG-Fingerprint: 5863 DF82 C34D 7291 CC63 CA1B 17C2 2ED7 3379 5A2C MIME-Version: 1.0 Content-Disposition: inline To: freebsd-questions@freebsd.org Subject: cupsaddsmb and FreeBSD Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Message-Id: <200301231710.16271.chris@chrishowells.co.uk> 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 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm having difficulty getting cupsaddsmb to export my printer drivers to Sa= mba=20 (installed from packages). The log goes something like this: su-2.05b# cupsaddsmb -v -U root hpdj3820 Password for root required to access localhost via SAMBA: [snip] Running command: rpcclient localhost -N -U'root%root' -c 'adddriver "Window= s=20 NT x86"=20 "hpdj3820:ADOBEPS5.DLL:hpdj3820.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL= "' cmd =3D adddriver "Windows NT x86"=20 "hpdj3820:ADOBEPS5.DLL:hpdj3820.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL" result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%root' -c 'adddriver "Window= s=20 4.0"=20 "hpdj3820:ADOBEPS4.DRV:hpdj3820.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS= =2EMFM,DEFPRTR2.PPD,ICONLIB.DLL"' cmd =3D adddriver "Windows 4.0"=20 "hpdj3820:ADOBEPS4.DRV:hpdj3820.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS= =2EMFM,DEFPRTR2.PPD,ICONLIB.DLL" result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%root' -c 'setdriver hpdj382= 0=20 hpdj3820' cmd =3D setdriver hpdj3820 hpdj3820 Succesfully set hpdj3820 to driver hpdj3820. E.g. the smbclient bit goes fine, just not the rpcclient bit. The [print$]= =20 section in smb.conf looks like this: [print$] comment =3D Printer Drivers path =3D /usr/local/etc/drivers browseable =3D yes #guest only =3D yes guest ok =3D no read only =3D yes write list =3D root Is the path =3D bit correct for Samba from FreeBSD packages? =2D --=20 Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.= org =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+MCH4F8Iu1zN5WiwRAqP9AKCPpJnF2qYflTOVbx/C8VzO8dgi4ACfWDbb MHt/hYtihT5zma56BfJ8oZk=3D =3DBFXI =2D----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message