Posts Tagged ‘Samba’

Linux: SAMBA

If you rely on Windows for file sharing and print sharing, you probably use Windows in your servers and clients. If so, you can still move to a Linux PC as your server without losing Windows file-sharing and print-sharing capabilities; you can set up Linux as a Windows server.

When you install Linux from DVD-ROM, you also get a chance to install the Samba software package, which performs that setup. All you have to do is select the Windows File Server package group during installation.

  • Configuration file for samba – /etc/samba/smb.conf
  • Samba user’s file – /etc/samba/smbusers


  1. nmblookup: This command returns the IP address of a Windows PC identified by its NetBIOS name.
  2. smbadduser: This program adds users to the SMB (Server Message Block) password file.
  3. smbcacls: This program manipulates Windows NT access control lists (ACLs) on shared files.
  4. smbclient: This is the Windows client, which runs on Linux and allows Linux to access the files and printer on any Windows server.
  5. smbcontrol: This program sends messages to the smbd, nmbd, or winbindd processes .
  6. smbd: This is the SMB server, which accepts connections from Windows clients and provides file-sharing and print-sharing services.
  7. smbmount: This program mounts a Samba share directory on a Linux PC.
  8. smbpasswd: This program changes the password for an SMB user.
  9. smbprint: This script enables printing on a printer on an SMB server.
  10. smbstatus: This command lists the current SMB connections for the local host.
  11. smbtar: This program backs up SMB shares directly to tape drives on the Linux system.
  12. smbumount: This program unmounts a currently mounted Samba share directory.
  13. testparm: For checking the correctness of Samba Configuration.
  14. winbindd: This server resolves names from Windows NT servers.
Categories: Linux/Unix, OpenSource Tags: ,