samba configuration
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 PresentationTRANSCRIPT
• 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
RHCE SAMBA SERVER
• NETMAX TECHOLOGIES
» FROM AJIT PUNCHHI
• 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
Samba configurationrpm -q queries
for the packages installed.
Samba configuration
rpm -ivh along with package name installs
the package.
/etc/samba/smb.conf is the configuration file.
Samba configuration
The smb.conf file is opened now to
edit.
Samba configuration
The windows domain name or the workgroup
name can be given.
This is the default screen showing the default network
for accessing.
Samba configuration
The screen shows that the network 192.168.0 and
192.168.1 can access the samba server.
Samba configuration
At the end of the smb.conf file, shows the example of how to
share the linux files.
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.
Password is set for accessing from the windows operating
system.
Samba configuration
Samba user name and password are stored in
/etc/samba/smbpasswd file.
The service for the samba configuration is started by
restarting.
Samba configuration
smbclient -L shows the shared directory of samba server.
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.
The screen viewing the listed files. mget command copy the file from shared directory to our machine.
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.
Here the screen shows the simulation of the samba
configuration.
Samba configuration