[Bug 58403] Re: adding smb printer difficult on large networks

Till Kamppeter till.kamppeter at gmail.com
Wed Oct 18 15:22:28 UTC 2006


Sorry, s/findnmb/findsmb/:

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

Does this work for you? You really do not get asked for a password and
machines who require a password already for listing there
printers/shares get silently skipped?

-- 
adding smb printer difficult on large networks
https://launchpad.net/bugs/58403




More information about the desktop-bugs mailing list