[cups-devel] [UNKN] STR #4636: Sometimes, the authenticated connection to a shared printer on a Windows domain does not work.

Cédric DIJOUX noreply at cups.org
Fri May 29 07:09:34 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Hi,

I have a random authenfication problem on cups 1.4.4 installed on a Debian
system 6.0.10.

Randomly, I get the following printing error "Connection failed:
NT_STATUS_BAD_NETWORK_NAME"

Here is the configuration of my printer in printers.conf:
<Printer B_ZebraS4M-Clinic>
AuthInfoRequired username, password
Info smb: // test: testmdp at MONDOMAINE.DOM/192.168.10.200/Zebra
MakeModel Generic text-only printer
DeviceURI smb: // test: testmdp at MONDOMAINE.DOM/192.168.10.200/Zebra
Idle State
StateTime 1432904183
Type 4100
Filter application / vnd.cups-raw 0 -
Filter text / plain textonly 0
Accepting Yes
No Shared
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</ Printer>

This is a Zebra printer installed and shared on Windows 7 in the
MONDOMAINE.DOM field.
I made a network capture packets on the computer that shares the printer.

When printing works I see passing to the next authenfication line :
"9", "0.005470000", "192.168.10.10", "192.168.10.200", "SMB", "350",
"Session Setup Request AndX, NTLMSSP_AUTH, User: MONDOMAINE.DOM \ test"
We see the good login on the connection : "test"

But randomly cups does not use the correct user, and I get the error
"Connection failed: NT_STATUS_BAD_NETWORK_NAME".
Here are the authenfication lines that travels on the network:
"15", "0.015647000", "192.168.10.10", "192.168.10.200", "SMB", "340",
"Session Setup Request AndX, NTLMSSP_AUTH, User: MONDOMAINE.DOM \ root"
"28", "0.023246000", "192.168.10.10", "192.168.10.200", "SMB", "336",
"Session Setup Request AndX, NTLMSSP_AUTH, User: MONDOMAINE.DOM \ lp"
"39", "0.027046000", "192.168.10.10", "192.168.10.200", "SMB", "158",
"Session Setup Request AndX, User: anonymous"
I do not understand where these users (root, lp, anonymous) and why cups
used these users instead of the good user : "test".

I didn't found any bug on the bugtracker about this problem.

Link: https://www.cups.org/str.php?L4636
Version: 1.4.4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVaHMeAAoJENujp6sI12IjCnEP/1QYzzUuq9o17TsinaAPwXrh
FRfsc7GRVcRBPk3VkR6yzkExZD7ZcY+qTP9FPMthlKBXul9wEZV7qSox+ApQ0R2a
QRGR3smWDGOgtQfl4Ijjrs722epEiTWW65JS723Ta0R4OQWmYLYK9YAAcA8umsxJ
OcviSOmoKQ9ce2FioAogMVY9BT78PfWFXHhWqyj8OelF3h1Nnst35gZLjt1Rctxu
DlUK9NMb2X1LDVyRkH76ypH9s5jHDGIfHHq3GwlSJpsRl9lwV31bVzWKJizh/BYR
O655bfBL3pdKoBFeKlLVRK6iXSU9fc4yVzCUV3yGcI0vOscoYUcduwhysAeZZLy5
vc6+H9IAiCCFEGN5RA+pEXA5TGUDg2apFN3QwZXkK0T+PH3PxXMclk+eGcu8Nl5g
wP5DMcDSn9n0jeYxfAw2g+hkDQXiLPOWc/lyUg3GCno8yn9Mp3wEQ7uhelw/igxR
xNxr1NtP3cKgX9GSSGClYZI0m4iQ1bL1Qy6eleoDl7Os56cFYw/f2K4oPRU7D6QK
97KXP07lSgGbmnsqUWsm7nw6Ryk4cD0eXY2hdS+qblhEoenGPEB5lyKbK6jt+rzj
pcheVBTq4lrdmztEp8Nan3+p+AFri9+IhVmLEh4tNxyYpKJ0FoawWCK3WulB8qix
nxOAJHInqyH7BOSy06Yz
=47ld
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list