Using a SAMBA printer in openSUSE Leap 16.0

Friday, November 20, 2026

So you want to use a SAMBA printer in openSUSE Leap 16.0? Too bad:

Printing dialog showing SAMBA is in another castle!

Luckily, not all is lost. The nice printer dialog from the system settings is just inaccurate. Via the CUPS interface (which for me is reachable at http://localhost:631), SAMBA printers are supported just fine:

CUPS interface showing an “add SAMBA printer” option.

I didn’t install anything in particular to get this working. CUPS (of which I don’t know the package that provides it) and the samba-client package (which is supposedly necessary to connect to SAMBA printers) were already installed for me. If you believe you have everything installed, but the interface is not reachable, you might have to start the CUPS service using systemctl start cups. If that doesn’t help, good luck…

University of Twente-specific tidbit

To connect to the printers of the University of Twente, I needed to authenticate with my UT account. The CUPS interface offers the following syntax for this:

smb://username:password@workgroup/servername/printer

Which for me resolved to something like:

smb://LastnameAB:hunter2@AD/UtwenteDomain/DeviceName

Here, “AD” is the “Active Directory” domain of the UT, which I expect will be the same for all employees. The “LastnameAB” part (with “AB” being initials) is a magic string related to my UT account which has allowed me to authenticate to UT services since forever (= since I was a student). I have no clue how to figure this out for other people’s accounts.

Obviously, hunter2 is my password. In plaintext! Pretty scary. But I guess unavoidable if I want a no-hassle printing dialog.

The domain and device name should be further specified in the UT printing documentation.

Happy printing!


View as: md (raw), txt.

Generated with BYOB. License: CC-BY-SA. This page is designed to last.

Don't participate in systems built on massive exploitation and waste of scarce resources..

⇐ [ This site is part of the UT webring ] ⇒

no ai webring previous random next a white rectangular box with a dashed outline with the words 'the no ai webring' in the centre, with a parenthetical question mark next to it and two arrows pointing left and right to either side