Date: Thu, 23 Jan 2003 17:10:12 +0000 From: Chris Howells <chris@chrishowells.co.uk> To: freebsd-questions@freebsd.org Subject: cupsaddsmb and FreeBSD Message-ID: <200301231710.16271.chris@chrishowells.co.uk>
next in thread | raw e-mail | index | archive | help
=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301231710.16271.chris>