Coder Social home page Coder Social logo

fumatchu / rads Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 3.59 MB

Rocky Active Directory Install Script to build Samba AD Servers

License: The Unlicense

Shell 100.00%
active-directory rockylinux scripting automation samba-ad-dc mock samba-active-directory samba-domain samba-server samba4

rads's People

Contributors

fumatchu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

rads's Issues

Samba service not starting after installing primary DC

I've started the script to install a primary DC on a proxmox Rocky9 VM. It's a fresh minimal install - I only selected a static IP and FQDN in the network section. The script finsihed but failed the testing part in the end. I've noticed that samba service is not running and can not be started. I also noticed that there's no current /etc/samba/smb.conf file. Any help debugging this? Thanks

[root@dc ~]# systemctl restart samba
Job for samba.service failed because the control process exited with error code.
See "systemctl status samba.service" and "journalctl -xeu samba.service" for details.
[root@dc ~]# systemctl status samba
ร— samba.service - Samba AD Daemon
     Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2024-07-09 10:32:17 EEST; 2s ago
       Docs: man:samba(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 1523 ExecStart=/usr/sbin/samba --foreground --no-process-group $SAMBAOPTIONS (code=exited, status=1/FAILURE)
   Main PID: 1523 (code=exited, status=1/FAILURE)
        CPU: 37ms

Jul 09 10:32:17 dc.***.lan systemd[1]: Starting Samba AD Daemon...
Jul 09 10:32:17 dc.***.lan systemd[1]: samba.service: Main process exited, code=exited, status=1/FAILURE
Jul 09 10:32:17 dc.***.lan systemd[1]: samba.service: Failed with result 'exit-code'.
Jul 09 10:32:17 dc.***.lan systemd[1]: Failed to start Samba AD Daemon.
[root@dc ~]# ls /etc/samba/
lmhosts  smb.bak.orig  smb.conf.example

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.