Skip to content

gek0/OpenLDAP-account-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

OpenLDAP-account-creator

Create LDAP account for new employees

About

Bash script used to account for new employees.

Password hashing algorithms available are MD5, Crypt or SSHA which is strongest and recommended.

User info added: groupUid, userUid, email, username, loginShell, homeDirectory and others.

This script is available to everyone for forking, sending commit request...

If you like it, star it, use it or anything else. :)

Testing environment

  • OS: Ubuntu 16.04.3 LTS (Xenial) x86_64
  • Shell: Bash, 4.3.48(1)-release
  • OpenLDAP server, slapd utility: openldap-2.4.42

Usage

All variables needed should be defined on top of the script.

OpenLDAP server password is asked on every run.

Requires sudo privileges if no LDAP utilty is installed or utility for sending mails (if used).

Run as any other BASH script - ./ldap_account.sh or source ldap_account.sh.

More Information

About

Create LDAP account for new employees

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages