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

Till Kamppeter till.kamppeter at gmail.com
Wed Oct 18 10:10:13 UTC 2006


gnome-cups-manager is not maintained upstream any more, it is about to
be replaced in Edgy+1. See

https://features.launchpad.net/distros/ubuntu/+spec/printerdrake

To improve the scan for SMB/Windows printers in printerdrake (or any
other tool) please cut and paste the following long command line (1
line) into a terminal to execute it (Samba client must be installed):

for i in `export LC_ALL=C; nmblookup \* 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

Please tell:

- Are all your printer shares (at least the ones which do not need authentication for being listed) shown?
- Are you asked for a password?
- How big is your network (# of computers, Samba/Windows servers, network printers)?
- How long does above-mentioned command need to finish?

Suggestions to improve the command are welcome.


** Changed in: gnome-cups-manager (Ubuntu)
       Status: Confirmed => Needs Info

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




More information about the desktop-bugs mailing list