Coder Social home page Coder Social logo

rads's Introduction

(R)ocky (A)ctive (D)irectory (S)cript Builder

This is a script to allow a Rocky (RHEL) Server (9.x) to become an AD/DC Server from Samba Source. 
Yes, there are others that build RPMS, but why not build it yourself?
I took this approach because there is not one binary that this script modifies and therefore can be a trusted source. 


####Pre-requisites
You should install Rocky from scratch. 
You should make sure the server has a static IP (If It does not, the installer will walk you through modifying it).
You do not need to (nor should you) install anything. Just a fresh, minimal install. The insatller will do the rest for you. 


The Script will do the following:
  Validate that you have a static IP setup. If you do not it will prompt you.
  Sets SElinux
  Adds Firewall allowances
  Enable the Rocky REPOS needed to build 
    EPEL
    CRB 
Install the requirements needed by the samba source
    Modify chrony to point to 2.rocky.pool.ntp.org
    Download and install (Rocky) samba-latest (.src.rpm)
    Prompt you for domain provisioning
    Add the samba service and enable it 
    Clean up all the install files (We like to be tidy)
    Provide basic AD testing from the console
      Kerberos
      Kerberos udp (NS)
      LDAP (NS
      Anonymous login
      Authenticated Login
      
    Install a monitoring script to compare the version of compiled samba to upstream and alert you if
    an updated is needed
    update the .src.rpm to latest version
    Provide you with a "next steps" for samba administration
        Suggest a reverse zone from the command line after install, based on your topology
        Provide examples for password complexity, history, etc
        Provide default user creation command to create your first AD user

####Sounds great! How do I get it?

Installing
Please see the EASY_INSTALL File 

#Installing
#Install Rocky Minimal
#https://rockylinux.org/download/
#Make sure you specify the domain name you want to use for AD.
#After the GUI install: 
#(Just copy and paste the following lines on the Rocky terminal)

cd /root/
dnf -y install wget 
wget https://raw.githubusercontent.com/fumatchu/RADS/main/DC-Installer.sh
chmod 700 ./DC-Installer.sh
/root/DC-Installer.sh

rads's People

Contributors

fumatchu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.