Domain Controller - Drop-in PDC replacement

A Samba-based Windows PDC (Primary Domain Controller) server (without the Windows) which is configured to support netlogon, network attached storage for domain users, roaming profiles and PnP printing services with an example PDF printing service. Includes a powerful web interface for configuring Samba and printing services.


domain controller

Core Features:

  • Base distribution: TurnKey 12.1 based on Debian 6.0.7 (Squeeze), TurnKey 13 based on Debian 7.1 (Wheezy)
  • Smart backups (TKLBAM): automated backup and restore, with system migration capabilities
  • Secure and easy to maintain: auto-updated daily with latest security patches
  • Dynamic DNS (hubdns): associates your IP with a custom domain or the free *.tklapp.com domain
  • Logical Volume Management (LVM): instead of installing to a fixed size partition, a Logical Volume is first created by default, and this may later be expanded, even across multiple physical devices
  • AJAX web shell (shellinabox) - secure command line access from any web browser
  • Web management interface (Webmin)
    • Listens on port 12321 (uses SSL)
    • Mac OS X themed
    • Network modules
      • Firewall configuration (with example configuration)
      • Network configuration
    • System modules
      • Backup and migration (TKLBAM)
      • Configure time, date and timezone
      • Configure users and groups
      • Manage software packages
      • Change passwords
      • System logs
    • Tool modules
      • Text editor
      • Shell commands
      • Simple file upload/download
      • File manager (needs support for Java in browser)
      • Custom commands
    • Hardware modules
      • Partitions on local disks
      • Logical volume management
  • Simple configuration console (confconsole)
    • Displays basic usage information
    • Configure networking
  • First boot initialization
    • Prompt user for passwords
    • Regenerates SSL and SSH cryptographic keys
    • Installs latest security updates, unless user chooses to defer this for later
    • Uses GeoIP to automatically configure closest APT package archive for maximum network performance
  • Command line power tools
    • Smart, programmable bash shell completion: helps you get more done with fewer keystrokes.
    • Support for $HOME/.bashrc.d shell hooks
    • Persistent environment variables (see $HOME/.bashrc.d/penv):
penv-set pydoc /usr/share/doc/python2.6/html
exit

# later...
cd $pydoc
  • Automatic time synchronization with NTP

Distribution Features:

  • SSL support out of the box.
  • Includes TurnKey web control panel (convenience).
  • Webmin modules for configuring Samba.
  • Includes flip to convert text file endings between UNIX and DOS formats.
  • Domain controller (samba) configurations:
    • Sets domain name on first boot
    • Preconfigured netbios name: PDC
    • Created administrator account and added to Domain Users and Domain Admins.
    • Granted Domain Admins full permissions on the domain.
    • Created Samba related groups (smbusers, smbadmins, smbmachines).
    • Created group mapping for smbusers: Domain Users
    • Created group mapping for smbadmins: Domain Admins
    • Configured Samba and UNIX user/group synchronization (CLI and Webmin).
    • Configured netlogon service:
      • Limit domain login to Domain Users and Domain Admins.
      • Logon/home drive mapped to H:
      • Synchronize time at login with PDC.
      • Default permissions: owner full permissions.
    • Configured roaming profiles:
      • Public storage mapped to S:
      • Default permissions: owner full permissions, everyone read.
    • Configured printing support:
      • Setup Point-and-Print (PnP).
      • Installed PDF printer (drops printed docs to $HOME/PDF).
      • Configured cups web interface to bind to all interfaces and support SSL.
  • Access your files securely from anywhere via AjaXplorer:
    • Rich web GUI, with online previews for major formats and drag-n-drop support.
    • Dedicated iOS and Android apps for on-the-go access.
    • Pre-configured multi-authentication (Local and Samba).
    • Pre-configured repositories (storage, user home directory).


Credentials (passwords set at first boot):
  • Webmin, Webshell, SSH, MySQL: username root
  • Samba: username administrator
  • Web based file manager (AjaXplorer):
    • username admin (Local)
    • username administrator (Samba)
  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

Nginx PHP FastCGI Server

Nginx is a web server, load balancer and reverse proxy with a strong focus on performance, high...

CodeIgniter - Web application framework

CodeIgniter is a powerful PHP framework with a small footprint and exceptional performance, built...

Django - High-level Python Web Framework

Django is a high-level Python Web framework that encourages rapid development and clean,...

Revision Control - All-in-one code repository

An integrated revision control server combining the world's best open source Version Control...

LAMP Stack - Web Stack (MySQL)

LAMP stack is a popular open source web platform commonly used to run dynamic web sites and...