
Import substitution, part 3: workstations on Astra Linux and RED OS in the domain — input, policies, printers, folders
🌐 Machine-translated from Russian. Show original
How to add workstations on Astra Linux, RED OS, or "Alt" to the AD, Samba, or FreeIPA domain, how to replace group policies, how to connect printers and network folders, and how to support users remotely.
In this part:
Before entering the domain#
The checklist is the same for all distributions:
- DNS — first in the list is the domain controller's DNS. Validation:
host -t SRV _ldap._tcp.corp.example.ru. - Time synchronized with DC (chrony or systemd-timesyncd).
- Computer name — short, up to 15 characters, without underscores:
sudo hostnamectl set-hostname ws-buh-01. - Accounting with the right to enter machines into the domain.
SSSD or winbind#
| sssd | winbind | |
|---|---|---|
| What is | a universal directory client (AD, FreeIPA, LDAP) | Samba |
| When to choose | almost always; the only option for FreeIPA and ALD Pro | Samba balls are needed at the station itself, special scenarios with ID mapping, |
| Offline login cache | available | available, configured separately |
The Astra Linux help center recommends sssd. Don't mix methods: if the machine has already been introduced via winbind, first output it and remove packages.
Astra Linux: Input to AD or Samba#
Astra has its own utilities: for sssd — astra-ad-sssd-client (graphical — fly-admin-ad-sssd-client), for winbind — astra-winbind (graphical — fly-admin-ad-client).
sudo apt install astra-ad-sssd-client
sudo astra-ad-sssd-client -d corp.example.ru -u admin # спросит пароль и подтверждение
sudo astra-ad-sssd-client -i # статус
sudo astra-ad-sssd-client -U # вывод из домена
If input fails after previous attempts by another method, the Help Center advises uninstalling winbind (sudo apt purge *winbind*), running sudo astra-ad-sssd-client -U -y, restarting, and repeating.
ALD Pro uses its own product client — see the ALD Pro documentation.
RED OS: join-to-domain utility#
In RED OS 8, the join-to-domain utility is set by default. It introduces the machine to the Windows, Samba, RED ADM, and IPA domains. Before working, update it:
sudo dnf update join-to-domain
sudo join-to-domain # мастер: выбрать сценарий, домен, учетку
Graphically: "Main Menu" → "System" → "PC Login to Domain."
Universal method: realmd + sssd#
Suitable for most distributions if there is no proprietary utility:
sudo realm discover corp.example.ru
sudo realm join -U admin corp.example.ru
realm list
id ivanov@corp.example.ru
To sign in without a domain suffix and with short home directories, in /etc/sssd/sssd.conf set:
[domain/corp.example.ru]
use_fully_qualified_names = False
fallback_homedir = /home/%u
Then sudo systemctl restart sssd. Restrict entry to group: sudo realm permit -g "Бухгалтерия" (or simple_allow_groups).
For FreeIPA, the input is made by the client: sudo ipa-client-install --mkhomedir.
Analogues of Group Policies#
| Problem | How to solve |
|---|---|
| Wallpapers, browser, desktop | ALT: gpupdate (settings via dconf); ALD Pro: SaltStack |
| Shortcuts and network drives | ALT gpupdate can handle shortcuts and network drives |
| Who enters the machine | HBAC (FreeIPA/ALD Pro), realm permit |
| Admin rights | group in sudoers: %linux-admins ALL=(ALL) ALL or sudo rules IPA |
| Installing software and updates | your mirror repository + Ansible/SaltStack |
Enabling Group Policies on Alt:
apt-get install gpupdate oddjob-gpupdate
gpupdate-setup enable workstation
reboot
gpoa --loglevel 0 # применить политики машины вручную
Tip: build a reference image of the station and manage the settings in the Ansible playbook. Policy in code is simpler than 40 manual steps.
Printers#
Printing in Linux is CUPS.
- First, check the model in the OS compatibility lists and on the manufacturer's website (drivers for deb or rpm).
- Connect network printers directly via IPP — less hassle than through a Windows print server:
lpadmin -p buh -E -v ipp://10.0.0.50/ipp/print -m everywhere. - For bulk settings — the CUPS server and queue distribution or product policies (ALD Pro includes a print service deployment).
- Check the MFP with scanner separately: printing often works, but scanning does not.
Network folders#
Windows and Samba file servers are available via SMB.
sudo apt install cifs-utils # или dnf install cifs-utils
# /etc/fstab — с Kerberos, без паролей в файле
//fs.corp.example.ru/share /mnt/share cifs sec=krb5,multiuser,_netdev 0 0
For users, mounting at login is easier — pam_mount or shortcut smb://fs/share in the file manager. Rights remain on the server by domain groups.
Remote support#
Users on the new OS need help more often at first. Options:
- SSH — for administrators, by keys and only from the IT network.
- Standard OS and VNC/RDP tools are for one-time connections.
- Its own remote access server. Example — WorkDesk: a standalone server based on an open RustDesk, all connections go through your server, console login can be via AD/LDAP. The server is compatible with RustDesk clients; ready-made WorkDesk clients are available for Windows, macOS, and Linux (DEB and RPM packages, x86_64 and aarch64) — on the pilot, check the package installation on your Astra or RED OS version.
Accounting for requests and equipment — in the Helpdesk series and equipment accounting.
Typical mistakes#
- Incorrect DNS on the station means the machine "does not see" the domain.
- Long computer name or an underscored name.
- Re-entering in another way without clearing the past.
- Cyrillic and spaces in group names in sudoers without shielding.
- No credential cache — a laptop without a network does not allow the user to enter.
Sources#
- Astra Linux: introduction to AD and Samba domains, main mistakes
- RED OS: join-to-domain, working with MS AD in RED OS 8
- ALT: Group Policies
- ALD Pro, WorkDesk
i️ Terms are changing. Prices, tariffs, and features are as of November 2026. Before purchasing or implementing, please check the official websites: reestr.digital.gov.ru.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.