1.

What Is The Use Of "smbclient" Command?

Answer»

"smbclient" is used to DISPLAY the list of SHARES on your server. This VERIFIES that smbd is running and functioning correctly. The -L option instructs smbclient to enumerate the shares on the server rather than actually connecting to one. The -N switch instructs smbclient to use an anonymous login rather than the login name of the current user.

smbclient -L localhost -N
Antother use of "smbclient" command to connect the samba SHARE.
smbclient //<server>/<share> -U <username>

"smbclient" is used to display the list of shares on your server. This verifies that smbd is running and functioning correctly. The -L option instructs smbclient to enumerate the shares on the server rather than actually connecting to one. The -N switch instructs smbclient to use an anonymous login rather than the login name of the current user.

smbclient -L localhost -N
Antother use of "smbclient" command to connect the samba share.
smbclient //<server>/<share> -U <username>



Discussion

No Comment Found