How to Install and Uninstall ldapscripts Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "ldapscripts" package

Please follow the steps below to install ldapscripts on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ldapscripts

2. Uninstall "ldapscripts" package

Please follow the guidance below to uninstall ldapscripts on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove ldapscripts $ sudo apt autoclean && sudo apt autoremove

3. Information about the ldapscripts package on Ubuntu 21.10 (Impish Indri)

Package: ldapscripts
Architecture: all
Version: 2.0.8-1ubuntu2
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Alexander GQ Gerasiov
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 161
Depends: ldap-utils
Recommends: sharutils, pwgen
Suggests: nslcd
Filename: pool/universe/l/ldapscripts/ldapscripts_2.0.8-1ubuntu2_all.deb
Size: 42456
MD5sum: c194f530f52273dafbb2a51e4f5a5b83
SHA1: 3c04edea84bfac31aed71fd3d34ca1b223e466bd
SHA256: 4a9e5a6fec4403b5abbe3ee712584e14e0daf3a55bd1efae5585423337b94d96
SHA512: 93668f1e140ca3faa308cb31df80da850a4b606be393c33f3920a9ce918bddb04ee1c3d7a8c0ca579e632eb19b2fc60b0ee5e385971726824bdb11504dcef2b6
Homepage: http://ldapscripts.sourceforge.net/
Description-en: Add and remove users and groups (stored in a LDAP directory)
Ldapscripts are shell scripts that allow management of POSIX accounts (users,
groups, machines) in a LDAP directory. They are similar to smbldap-tools
but are written in shellscript, not Perl.
.
They only require OpenLDAP client commands (ldapadd, ldapdelete, ldapsearch,
ldapmodify, ldappasswd) and make administrator's work a lot easier avoiding
the need to configure Perl and each library dependency (e.g. Net::LDAP).
.
These scripts are very simple to configure by not requiring any Samba-related
information (SID, profiles, homes, etc): management of Samba attributes is
entirely done by standard commands (net, smbpasswd and pdbedit) used together
with the scripts. Moreover, most of the configuration is guessed from the
one of nslcd, and everything should work out from the box for most users.
.
The scripts may be used independently - within command lines - or
automatically by Samba (like smbldap-tools), to handle POSIX information
within accounts before adding Samba information.
Description-md5: 87f77fe2aeb19497774b4634ad9a4c6e