smbclient can't list shares of windows 7
November 2010.
smbclient can't list the shares of a windows 7 box, even if smbmount can without problem.
$ smbclient -L //SOMEBOX -I 192.168.xx.yy
Enter someones's password:
Anonymous login successful
Domain=[REZID] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[REZID] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
You are running a version of samba with a problem.
https://bugzilla.samba.org/show_bug.cgi?id=7577
$ smbclient --version
Version 3.3.2
Update samba to latest 3.4 or 3.5 or patch your current and enjoy.
smbclient -L \\SOMEBOX -I 192.168.xx.yy
Enter root's password:
Domain=[SOMEBOX] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Administration à distance
C$ Disk Partage par défaut
F$ Disk Partage par défaut
I$ Disk Partage par défaut
IPC$ IPC IPC distant
Share 1 Disk
Share 2 Disk
Share 3 Disk
Domain=[SOMEBOX] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
Don't forget to update libsmbclient and libsmbclient-dev if you are using them.Problem:
smbclient can't list the shares of a windows 7 box, even if smbmount can without problem.
$ smbclient -L //SOMEBOX -I 192.168.xx.yy
Enter someones's password:
Anonymous login successful
Domain=[REZID] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[REZID] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
You are running a version of samba with a problem.
https://bugzilla.samba.org/show_bug.cgi?id=7577
$ smbclient --version
Version 3.3.2
Update samba to latest 3.4 or 3.5 or patch your current and enjoy.
smbclient -L \\SOMEBOX -I 192.168.xx.yy
Enter root's password:
Domain=[SOMEBOX] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Administration à distance
C$ Disk Partage par défaut
F$ Disk Partage par défaut
I$ Disk Partage par défaut
IPC$ IPC IPC distant
Share 1 Disk
Share 2 Disk
Share 3 Disk
Domain=[SOMEBOX] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
Don't forget to update libsmbclient and libsmbclient-dev if you are using them.