Problem: Printerdriverupload fails

cups
printer
printmanagement
driverupload
samba
problem

#1

Problem

You have followed these instructions [1] , but you get this error message

Ein Treiber <Treibername>, Typ 3 -Benutzermodus, x64 konnte nicht installiert werden
Das Netzwerk ist ausgelastet

[1] https://docs.software-univention.de/handbuch-4.2.html#print-services:winclients

Solution

(this worked in a specific environment)
If you have trouble with Windows 10 try with Windows 8.
You have to install the driver locally, before you can upload the driver to the server.
Make sure the ucr variable samba/spoolss/architecture is set properly and you uploaded the driver according to these settings first.

Investigation

The basic principle: The printer driver upload is just a series of file write operations against a specially named file share.
First test: Test Linux access (if necessary also create a test file, e.g. touch testfile0) and
second test: Access via Samba

su - Administrator
cd /var/lib/samba/printers/x64/3
touch testfile0

Test the samba share:

smbclient  "//$(ucr get ldap/master)/print$" -U Administrator -c "cd x64/3; put /etc/hosts testfile1"

see also: