How is rpcclient instead of smbclient used in theis command line:

for i in `export LC_ALL=C; findsmb 2> /dev/null | egrep
'^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | tr -s " " | cut -f2 -d ' ' | uniq |
sort`; do echo $i; echo ---------------; export LC_ALL=C; smbclient -N
-L $i 2> /dev/null | grep Printer; echo; done

-- 
Samba printers are not displayed
https://bugs.launchpad.net/bugs/127152
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to