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.