This is an article where the content specified in the article is specifically written to show how to copy file from Linux operating system to Windows operating system. In order to achieve it, smbclient command tool which is actually a command based on Samba protocol is utilized. Samba itself based on the description given in Wikipedia, it is a free software re-implementation of the SMB/CIFS networking protocol, and was originally developed by Andrew Tridgell. Samba provides file and print services for various Microsoft Windows clients and can integrate with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member. As of version 4, it supports Active Directory and Microsoft Windows NT domains. So, how can a file is transferred using smbclient ?. Below is the actual command performed to do it given the pattern at first to know the command format :
Posted in Samba
All About Samba Articles
This article is list of article about Samba.
- Installing Samba on Ubuntu .
- Installing Samba Client .
- How to Add Sharing Folder Service Definition using Samba in Linux Operating System .
- How to Create User for Specific Access Sharing Folder Service Definition like Using Samba Service .
- How to Add User for Accessing Sharing Folder Service Definition using smbpasswd in Linux Operating System .
- How to Access Sharing Folder Service Definition using Samba Service .
- How to List Sharing Folder Service Definition using smbclient in Samba Service .
- How to Mount Sharing Folder Service Definintion in other machine using Samba Service .
- How to Reset Password of a Samba User using smbpasswd via Command Line .
- How to Mount Sharing Folder Service Defintion and Copy the Files and Folders inside of it .
- How to Test Samba Configuration File using testparm .
Error Message
How to Display Sharing Folder List in Linux using smbclient
This is an article which is used to show how to display sharing folder definition in the form of the list which is done in the Linux operating system specifically in Ubuntu Linux Distribution. But for most of the Linux operating system, the command for displaying list of sharing folder is actually the same and it will works like a charm. The command for achieve the purpose is shown as follows :
Samba Cheat Sheet Command Page
Mount Sharing Folder in a other Server, Workstation running Linux Samba Shared Directory or Folder
mount -t cifs //xxx.xxx.xxx.xxx/shared_name /mnt/mount_point_name/ -o username=samba_username_for_access
Example :
user@hostname:~# mount -t cifs //10.0.0.17/shared /mnt/test/ -o username=mike Password for mike@//10.0.0.17/shared **************** user@hostname:~#