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

Till Kamppeter till.kamppeter at gmail.com
Thu Oct 19 16:02:25 UTC 2006


So we should use a command line based on Netbios names and not on IPs,
like this one

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

to reliably find all printer shares?

Have you servers who require a password to list their shares? If so, are
these servers correctky skipped and is the search continued on the next
server?

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




More information about the desktop-bugs mailing list