Configuration of samba server to work in two domains simultaneously

To configure samba server such that it would work in two domains(Windows) simultaneously

To configure samba server to work in two domain(Windows)

step1:> open the configuration file /etc/samba/smb.conf

          vim /etc/samba/smb.conf
In smb.conf;

            workgroup = iop iocp
            security = server
            password server = dc.iop.com

:wq

Step2:> vim /etc/hosts
 
10.53.100.1     dc.iop.com
10.58.100.1     dc.ioc.com

:wq

Step3:> service smb restart
               service network restart
step4:> chkconfig smb start
              chkconfig network restart

It is explained as follows:

To make samba server work into two domains simultaneously the most important that there should be trust relationship between them. Example: Migration of older domain into a newer domain.

Now, workgroup = iop iocp

it means samba server establish connections with both domain since  there is trust realationship established between two domain

security = server

it means that user authentication is directly from the domain controller. No requirement of password moment they log into either of domain.

password server = dc.iop.com

it means that dc.iop.com is existing domain and trust relationship is established between dc.iocp.com & dc.iop.com. So user created in existing domain can easily access samba server while migrating into newer domain. They can log into either of domain

NFS Versions & Packages Required for NFS (LINUX/UNIX)

NFS : Network File System (NFS) protocol allow Linux client to mount remote file systems and interact with those file systems as they are m...

Recently Viewed