-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm having difficulty getting cupsaddsmb to export my printer drivers to Samba 
(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 "Windows 
NT x86" 
"hpdj3820:ADOBEPS5.DLL:hpdj3820.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
cmd = adddriver "Windows NT x86" 
"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 "Windows 
4.0" 
"hpdj3820:ADOBEPS4.DRV:hpdj3820.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
cmd = adddriver "Windows 4.0" 
"hpdj3820:ADOBEPS4.DRV:hpdj3820.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"
result was NT_STATUS_UNSUCCESSFUL

Running command: rpcclient localhost -N -U'root%root' -c 'setdriver hpdj3820 
hpdj3820'
cmd = setdriver hpdj3820 hpdj3820
Succesfully set hpdj3820 to driver hpdj3820.

E.g. the smbclient bit goes fine, just not the rpcclient bit. The [print$] 
section in smb.conf looks like this:

[print$]
  comment = Printer Drivers
  path = /usr/local/etc/drivers
  browseable = yes
  #guest only = yes
  guest ok = no
  read only = yes
  write list = root

Is the path = bit correct for Samba from FreeBSD packages?

- -- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+MCH4F8Iu1zN5WiwRAqP9AKCPpJnF2qYflTOVbx/C8VzO8dgi4ACfWDbb
MHt/hYtihT5zma56BfJ8oZk=
=BFXI
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to