Comment 2 for bug 127152

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Re: Samba printers are not displayed

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