For informations in pysmb.py
def get_host_list(dmbip) use an IP and pass it to smbclient
/usr/bin/smbclient -N -L //192.168.1.101 2>/dev/null
but result of this is not a list of hosts in the domain, but a list of shares
in ONE host (PC).
May be my english is bad or the name of this function is not well chosen.
[EMAIL PROTECTED]:~$ /usr/bin/smbclient -N -L //192.168.1.101 2>/dev/null
Sharename Type Comment
--------- ---- -------
PDFCreator Printer eDoc Printer
Vu Disk
IPC$ IPC IPC distant
D$ Disk Partage par défaut
Documents Disk
print$ Disk Pilotes d'imprimantes
ADMIN$ Disk Administration à distance
C$ Disk Partage par défaut
session request to 192.168.1.101 failed (Called name not present)
session request to 192 failed (Called name not present)
Server Comment
--------- -------
Workgroup Master
--------- -------
--
Samba printers are not displayed
https://bugs.launchpad.net/bugs/127152
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs