Installation
Requirements
The following Python packages are required:
setuptools – For installation
pip – For installation using pip (recommended)
python-ldap – LDAP client
dnspython – DNS client
PyYAML – YAML parser
pysmbc – SMB client
Only required if
userdirs
configuration is present anduser mkdirs
orallmaint
command is run
Also, your system must have the GSSAPI module for SASL authentication.
Where possible, it is preferable to install Python packages using your Linux distribution’s package manager, rather than from PyPI (using pip). This helps avoid package conflicts.
Debian
To install prerequisites on Debian:
apt install \
python3-setuptools \
python3-pip \
python3-ldap \
python3-dnspython \
python3-smbc \
python3-yaml \
libsasl2-modules-gssapi-mit
Fedora
To install prerequisites on Fedora:
dnf install \
python3-setuptools \
python3-pip \
python3-ldap \
python3-dns \
python3-smbc \
python3-pyyaml \
cyrus-sasl-gssapi
Installation
Then install Adman, either using pip:
pip3 install adman
or from source:
tar xf adman-*.tar.gz
cd adman-*
python3 setup.py install