1 / 18

Samba configuration

Samba configuration. Andrew Tridgell wrote a SMB [server message block] client and server that he called Samba. Samba is a collection of Linux tools that allow you to communicate with windows systems over a network.

Download Presentation

Samba configuration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Samba configuration • Andrew Tridgell wrote a SMB [server message block] client and server that he called Samba. • Samba is a collection of Linux tools that allow you to communicate with windows systems over a network. • Helps in browsing the network resources using host names by name resolution instead of DNS. • File and printer sharing is probably the most attractive samba feature.

  2. RHCE SAMBA SERVER • NETMAX TECHOLOGIES • FROM AJIT PUNCHHI

  3. Samba Service Profile • Packages : samba, samba-common, samba-client • Daemons : smbd, nmbd (NetBIOS nameserver) • Config file : /etc/samba/smb.conf • Ports : 137 (nmbd), 138(smbd)

  4. Samba configuration rpm -q queries for the packages installed.

  5. Samba configuration rpm -ivh along with package name installs the package.

  6. Samba configuration /etc/samba/smb.conf is the configuration file.

  7. Samba configuration The smb.conf file is opened now to edit. The windows domain name or the workgroup name can be given.

  8. Samba configuration This is the default screen showing the default network for accessing.

  9. Samba configuration The screen shows that the network 192.168.0 and 192.168.1 can access the samba server.

  10. Samba configuration At the end of the smb.conf file, shows the example of how to share the linux files.

  11. Samba configuration The tmp directory is shared to public(full access) as well as write the file. The var directory is given as the user joe only can access the file from any windows operating system. The previous example is used here as such like tmp and var directory.

  12. Samba configuration Password is set for accessing from the windows operating system. Samba user name and password are stored in /etc/samba/smbpasswd file.

  13. Samba configuration The service for the samba configuration is started by restarting.

  14. Samba configuration smbclient -L shows the shared directory of samba server.

  15. Samba configuration The user joe gets logged in by giving password for authentication. ls command is used to list the files shared. This command helps to confirm whether the configuration is done properly.

  16. Samba configuration The screen viewing the listed files. mget command copy the file from shared directory to our machine.

  17. Samba configuration testparm command is used to show the shared directory of the samba server. Hitting enter will show the detailed shared directory.

  18. Samba configuration Here the screen shows the simulation of the samba configuration.

More Related