---
title: "Using a SAMBA printer in openSUSE Leap 16.0"
author: Bob Rubbens
publish_timestamp: 2026-11-20T18:37:56+01:00
state: published
template: template/post.mako
id: 6057e462-4dc2-4104-9aec-0f6cecccc3cc
---
So you want to use a [SAMBA](https://en.wikipedia.org/wiki/Samba_(software)) printer in openSUSE Leap 16.0? Too bad:

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

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!