User Tools

Site Tools


cid_closed_directory

This is an old revision of the document!


Closed In Directory CID

CID (Closed In Directory) is a set of bash scripts for inserting and managing Linux computers in Active Directory (AD) domains. Modifications made to the system allow Linux to behave like a Windows computer within AD. You can do things like:

  • Run logon scripts
  • Automatic mounting of network drives (shared folders)
  • Automatic configuration of the printers
  • Offline logon
  • Automatic granting of privileges to users (e.g. access to the sudo command)
  • GUI and CLI tools for managing the Samba server (File and Print Server)
  • Apply disk quota per shared directory (such as Windows Server)

CID consists of four main tools subdivided into two GUI tools (cid-gtk and cid-change-pass-gtk) and two CLI utilities (cid and cid-change-pass). Both pairs contain equivalent features and they all accept the following general options as a argument in the command line:

Option Description
-v, –version Show the version
-h, –help Show the help

*Requirements*

  • acl (= any)
  • attr (= any)
  • awk (= any)
  • bash (>= 4)
  • cifs-utils (>= 6.4)
  • CUPS (= any)
  • {diff,find,core}utils (= any)
  • grep (= any)
  • gzip (= any)
  • hostname (= any)
  • iproute[2] (= any)
  • Kerberos V5 (>= 1.13)
  • keyutils (= any)
  • mount (= any)
  • pam_mount (>= 2.14)
  • passwd (= any)
  • ping (= any)
  • pkexec (= any)
  • Samba (>= 4.3.11)
  • sed (= any)
  • sudo (= any)
  • systemd (= any)
  • xhost (= any)
  • zenity (>= 3.18.1)

Installation

Open a terminal and digit and install the packages below with this command:

 sudo nala install cid cid-base cid-gtk 

CID-GTK

The cid-gtk is the tool that contains the main features of the program. Through it you can insert your Linux computer in an AD domain and later manage a series of functions in the system.

The available features are described in the following sections.

Join the domain

This function allows you to join the Linux computer to an AD domain. For that, it is necessary to inform the domain data in the respective fields as shown in the table below:

cid_closed_directory.1727280088.txt.gz · Last modified: 2024/09/25 18:01 by team