how to create SAMBA server in fedora 9 linux ?

Answer Posted / shashi

service profile:
rpm: samba
samba-common (client side)
samba-swat

Daemon: smb
port number: samba 445
netbios 137 (udp)
138,139(tvp)

configuration file: /etc/samba/smb.conf


installation:
# rpm -ivh samba-3.......
# mkdir /samba (example note:share folder)

create share files in this folder

configuration:

# vi /etc/samba/smb.conf

Global settings
workgroup = WORKGROUP (if its domain envrn. enter
domain name )
Server string = samba for sharing (you can give
anything)
netbios name = localhost (give your server netbios name)
hosts allow = 192.168.0. (enter network ID or required
IPs)



Share Defanitions:(end of the line)
[samba]
comment = samba server
path = /samba
public = no/yes (if yes no need to enter valid
users, write list)
writable = yes
printable = no/yes
valid users = user1, user2 .......
write list = +user1, +user2 ........
(if there is ; bigining of the line remove it)
:wq!

# shmod 777 /samba
# service smb restart
# chkconfig smb on
# testparm

create user:
# useradd user1 -s /sbin/nologin

# smbpasswd -a user1 (or)
# touch /etc/samba/smbpasswd
# smbpasswd -a -c /etc/samba/smbpasswd user1
# service smb restart
# smbclient -U user1 //192.168.0.1/samba (if client is
linux)
# get/put
(if client is windows go to run \\192.168.0.1 enter
username and password)

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is umask 000?

550


You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

509


What is clang tidy?

573


Which commands are used to set a processor-intensive job to use less cpu time?

562


What is option in linux command?

547






What is the command can be used to check for file corruption?

564


Explain trap command; shift command, getopts command of linux?

565


I am using RedHat 6.3 in I wanna to install and configure zimbra mail. Can anybody tell me what are the RPM packages required for zimbra mail ? Where can I get those RPM packages ?

1179


What does rmdir do in linux?

543


Brief about finger username?

566


Which Command used to lock user password in Linux?

567


What is history command in linux?

556


why is the tar command used?

548


If the programmer wishes to execute an instruction at the specified time. Which command is used?

919


How do I know my shell?

542