[Samba] Announcing "adam" - Active Directory Automated Maintenance tool
jonathon.reinhart at gmail.com
Sun Jun 23 17:13:43 UTC 2019
A recurring question is how to assign uidNumber and gidNumber
attributes to users and groups in Active Directory . While it is
possible to avoid this by using e.g. the "rid" idmap backend, it is
sometimes desirable for Active Directory to be the single source of
truth for UID / GID numbers. This is especially true if not all of
your UNIX domain members can use the same mapping scheme (if you're
using SSSD, for example).
Microsoft used to facilitate the assignment of these attributes via
the Unix Attributes Plug-in for Active Directory Users and Computers
(ADUC). However, that has been removed, and users must assign these
I'm certain a tool like this has been implemented by numerous
sysadmins in the past. However, I haven't found a freely-available
solution that behaves the way I want. So today I'm presenting ADAM
("Active Directory Automated Maintenance"):
ADAM assigns UID/GID numbers sequentially from a user-defined range,
and stores the next-highest values in LDAP (thanks, Rowland!) I
received feedback from the Samba mailing list in the creation of this.
ADAM should work for either a Samba or Microsoft AD, and can run on
any Linux machine (even one that is not domain-joined). I have plans
to add other automated background tasks to this tool in the future,
which you will find in the issue tracker.
I hope this saves time for others in the same boat as me, and look
forward to your feedback. If you have any problems, please open an
issue on the GitLab issue tracker.
More information about the samba