May 24

Linux: Testing a samba printing connection with smbclient

I had a case where our AIX system would not print to a Windows 7 print share. I wanted to test it from a Linux workstations. Here is a brief process:
1. sudo apt-get install smbclient
2. touch testing123.txt
3. smbclient //192.168.1.23/sharename -U sambauser -W mydomain -c “print testing123.txt” –debuglevel=10

The debuglevel was an important addition to the testing process to see exactly what was happening.


Copyright 2021. All rights reserved.

Posted May 24, 2017 by Timothy Conrad in category "Linux", "Windows

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B