Monday, January 4, 2016

Configuring Samba as a Standalone Server (Part 3)



Main Configuration
You can configure samba to use in different field, such as
ü  Samba can be configured to use as a stand-alone computer in a windows workgroup.
ü  Samba can act as a member server of Windows Network.
ü  Can act as domain controller for both windows & Linux environment.

In this term you will show that how to configure samba to use as a Stand-alone Server. But keep in mind that you cannot configure samba to use all of that at the same time in a same machine. But can configure virtual samba server to use more than one samba server, that will described next tutorial.

Configuring Samba as a Standalone Server:
            A stand-alone computer can be a workgroup server or a member of a workgroup environment. A stand-alone server is not a domain controller and does not participate in a domain in any way. 
Step-1: To configure Samba as a Stand-alone server on windows platform, then edit the smb.conf file as like below.

[root@srv1 ~]# vi /etc/samba/smb.conf

#======================= Global Settings =========================

# ----------------------- Network Related Options -------------------------

     workgroup = ALPHABD
     server string = Stand-alone Server
     netbios name = srv1
     hosts allow = 127. 210.207.201.

# --------------------------- Logging Options -----------------------------

     log file = /var/log/samba/%m.log
     max log size = 1000

# -------------------- Standalone Server Options -------------

     security = user
     passdb backend = tdbsam
encrypt password = yes

#----------------------------- Name Resolution -------------------------------

     wins support = yes

#========================== Share Definitions ======================

;    [homes]
;    comment = Home Directories
;    browseable = yes
;    writable = yes
;    valid users = %S
;    valid users = ALPHABD\%S

[Resources]
     comment = All Resources for ALPHABD
     browseable = yes  //shares will appear or not in My Network Places.
     path = /opt/Resources
     public = no
     writable = no
     printable = no
     guest ok = no
     read only = yes
     fource group = samba-users
     fource user = Administrator root
     write list = +samba-users
     valid users = samba-users







# Use this lines if you want members of that group but not others to be able to read or write files and folder in this share.

     create mask = 0770
     force create mode = 0660
     directory mask = 0770
force directory mode = 0770

[public]
     comment = Anonymous user Accessible Directory
     path = /opt/Public
     public = yes
     writable = yes
     printable = no
     write list = +anonymous
     Guest only = no
     Guest ok = yes
     Guest account = guest nobody
     no password = yes
     valid users = anonymous-users

MAXIT INTERNET

BLOGGER

CD DVD RW

DELL

DOWNLOAD

FTP Server Linux

HACK

HARD DRIVE

HOW TO WORKIN

HARDWAER

INTERNET

INTERNET CAFE

LAPTOP

LENOVO

LINUX

Additional configuration for Samba Server (Part 2)  

BSNL/Airtel/Idea using Huawei E156G 3g Wireless USB Linux 5   

Basic File Extensions    CHANGING AN ACCOUNT EXPIRATION DATE   

Configure Linux as a Router   

Configure SAMBA Server (Part-1)   

Configure VNC server   

Configure Yum Server (Part-1)   

Configure yum server for Client machine (Part 3)   

Configuring Samba as a Standalone Server (Part 3)  

Connecting ftp Server with Anonymous User Part 5  

Create ftp account with Shared directory Part 3  

DHCP Server Configuration Part 2  

DHCP Server Configuration Part-1  

DHCP Server Configuration Part-3  

Enabling FTP Services in Yum Server (Part 5)  

FTP Server Configuration Part 1  

FTP Server How to Change In Primary DNS Server Part 2  

HTTP Client side configuration (Part 4)  

How to Vsftpd conf files Parameter Part 6   

LINUX FILE SYSTEM STRUCTURE  

Linux User Administrtion  

Linux as a Router configuration for Client Machine   

Linux client machine FileZilla FTP Client Part 4  

Local Yum Server (Part 2)  

Modifying Existing User Information  

Primary DNS Server Configuration Part-1  

Primary DNS Server Configuration Part-2    

Primary DNS Server Configuration Part-3  

Remove Linux From Your Pc Safely and restoring your MBR  

Sharing & Accessing Samba Share (Part 4)   

Speeding up your internet connection under Linux and Windows   

THE ROOT FILE SYSTEM   

VNC Server Configuration

LINUX LAB

Linux as a Router

MOTHERBOARD

Mobile

NETWORKING

REDHAT 5

REGISTRY EDTOR

RESET BIOS PASSWORD

SAMBA Server Linux

SERVER

SERVER CONFIG

SOFTWAER

VNC server Linux

Window 10

Window XP