Samba client side network printer setup issue

Have moved up to 12.1 and resetting all to do with the lan and shared printer.
Have worked with Swerdna in the past and have nearly memorized the tutorials.
But this one has me stumped.
Samba is working, shares are working, no problem w/ Samba per se.
I have the Samba Print server setup on host OliveOil.
I am trying to establish the printer on the client side.
In the tutorial for printer setup (Printer Sharing: Samba Print Server for Suse/openSUSE Linux & Windows Clients) where it talks about setting the the client… when I open the cups GUI and start the process, I don’t have an option to add a smb:// printer in cups.
All the “others” are there,
LPT #1 HP Printer (HPLIP) Internet Printing Protocol (http) Internet Printing Protocol (ipp) Internet Printing Protocol (https) Internet Printing Protocol (ipps) Backend Error Handler LPD/LPR Host or Printer AppSocket/HP JetDirect
but nothing Samba.

Anyone have an idea what’s hanging me up here?
Thanks!

There should be a smb backend present. If not, make sure you have the samba-client package installed. (This provides the required CUPS backend).

On Sat March 3 2012 04:16 am, deano ferrari wrote:

>
> There should be a smb backend present. If not, make sure you have the
> samba-client package installed. (This provides the required backend).
>
>
SomeSuSEUser;
Not sure if this will help or not. With 11.4, I needed to set up a link in
/usr/lib/cups/backend to /usr/bin/smbspool. i.e.


ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

The link already existed in /usr/lib64 but CUPS wanted it in /usr/lib

This was with an upgrade from 11.2 to 11.4

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Not sure if this will help or not. With 11.4, I needed to set up a link in
/usr/lib/cups/backend to /usr/bin/smbspool.

FWIW, I’m using 11.4 (64-bit install), and I already have that linked correctly

ls -l /usr/lib/cups/backend/smb
lrwxrwxrwx 1 root root 17 Oct  6 18:31 /usr/lib/cups/backend/smb -> /usr/bin/smbspool

Worth checking though I guess (assuming samba-client package is already installed).

On Sat March 3 2012 04:56 pm, deano ferrari wrote:

>
<snip>
>
>
> Worth checking though I guess (assuming samba-client package is already
> installed).
>

I assume the problem I had with 11.4 was an artifact of the upgrade. It could
not have been a general problem or there would have been more noise in these
Forums concerning the lack of smb. Moreover it is in reference to 11.4 not
12.1. I mentioned it only because, if it occurred once it might occur again.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Thanks for the push.
I did check and find samba-client installed. Had to be actually to walk Swerdna’s tutorials.
But I also found this:

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

gives me this:

ln: failed to create symbolic link `/usr/lib/cups/backend/smb’: File exists

File exists? OK…
But I don’t really know what I’m doing so I’m not sure what file exists… so following on, I tried this:

ls -l /usr/lib/cups/backend/smb

and this is the output:

lrwxrwxrwx 1 root root 28 Mar 2 20:22 /usr/lib/cups/backend/smb -> /usr/bin/get_printing_ticket

I think something is goofy there, since deano_ferrai’s output shows: /usr/bin/smbspool
But not too sure, and not sure where to go from there.
Can I just delete a file and “relink” things?

See if this bug report applies to you:

https://bugzilla.novell.com/show_bug.cgi?id=693634

Do you have the samba-krb-printing installed? (I hadn’t been aware of this until now).

Exactly.
Uninstalled samba-krb-printing and reran:

ls -l /usr/lib/cups/backend/smb

lrwxrwxrwx 1 root root 17 Mar 7 02:10 /usr/lib/cups/backend/smb -> /usr/bin/smbspool

YEA! Checked CUPS and all is well again.

THANKS!!

Job done! :slight_smile: