samba configuration

18
• 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. Samba configuration

Upload: chin

Post on 11-Jan-2016

34 views

Category:

Documents


2 download

DESCRIPTION

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. - PowerPoint PPT Presentation

TRANSCRIPT

Page 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.

Samba configuration

Page 2: Samba configuration

RHCE SAMBA SERVER

• NETMAX TECHOLOGIES

» FROM AJIT PUNCHHI

Page 3: Samba configuration

• Packages : samba, samba-common, samba-

client

• Daemons : smbd, nmbd (NetBIOS

nameserver)

• Config file : /etc/samba/smb.conf

• Ports : 137 (nmbd), 138(smbd)

Samba Service Profile

Page 4: Samba configuration

Samba configurationrpm -q queries

for the packages installed.

Page 5: Samba configuration

Samba configuration

rpm -ivh along with package name installs

the package.

Page 6: Samba configuration

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

Samba configuration

Page 7: Samba configuration

The smb.conf file is opened now to

edit.

Samba configuration

The windows domain name or the workgroup

name can be given.

Page 8: Samba configuration

This is the default screen showing the default network

for accessing.

Samba configuration

Page 9: Samba configuration

The screen shows that the network 192.168.0 and

192.168.1 can access the samba server.

Samba configuration

Page 10: Samba configuration

At the end of the smb.conf file, shows the example of how to

share the linux files.

Samba configuration

Page 11: Samba configuration

The previous example is used here as such like tmp and var

directory.

Samba configurationThe 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.

Page 12: Samba configuration

Password is set for accessing from the windows operating

system.

Samba configuration

Samba user name and password are stored in

/etc/samba/smbpasswd file.

Page 13: Samba configuration

The service for the samba configuration is started by

restarting.

Samba configuration

Page 14: Samba configuration

smbclient -L shows the shared directory of samba server.

Samba configuration

Page 15: Samba configuration

This command helps to confirm whether the configuration is done

properly.

Samba configuration

The user joe gets logged in by giving password for

authentication. ls command is used to list the files

shared.

Page 16: Samba configuration

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

Samba configuration

Page 17: Samba configuration

testparm command is used to show the shared directory of the samba

server.

Samba configuration

Hitting enter will show the detailed shared

directory.

Page 18: Samba configuration

Here the screen shows the simulation of the samba

configuration.

Samba configuration