Ahoj, to ze neco viditelne nasdilim by nemelo nijak pomoct. Ale OK, nasdilel jsme viditelne. Vysledek? Chtelo to po me heslo uzivatele s potrebnymi pravy. Kdyz ho nezadam - pac v realu to tak bude - nebudu znat heslo:
smbclient --list=192.168.1.253
WARNING: The security=share option is deprecated
Enter polo's password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
session request to 192.168.1.253 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available
Kdyz ho zadam, objevi se mi seznam dostupnych sharu.
puffy:polo:~$ smbclient --list=192.168.1.253
WARNING: The security=share option is deprecated
Enter polo's password:
Domain=[OBYVAK] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Vzdálený správce
C$ Disk Výchozí sdílená položka
Canon Inkjet iP4500 series Printer Canon Inkjet iP4500 series
D Disk
D$ Disk Výchozí sdílená položka
IPC$ IPC Vzdálený IPC
print$ Disk Ovladače tiskárny
Users Disk
session request to 192.168.1.253 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available