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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
