Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| ldap:setup [2023/10/22 14:24] – AntranigVartanian | ldap:setup [2023/10/22 20:25] (current) – Copyedit and proofread pass, by request. PauAmma | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| To setup a basic LDAP server with Unix user management, we will need the following | To setup a basic LDAP server with Unix user management, we will need the following | ||
| - | * %%OpenLDAP%% as a LDAP Server | + | * %%OpenLDAP%% as an LDAP Server |
| * [[https:// | * [[https:// | ||
| Line 15: | Line 15: | ||
| </ | </ | ||
| - | Please keep in mind that the version | + | Please keep in mind that the version |
| ===== Configuring LDAP ===== | ===== Configuring LDAP ===== | ||
| - | We start by modifying '' | + | Start by modifying '' |
| < | < | ||
| Line 26: | Line 26: | ||
| </ | </ | ||
| - | Next, we edit '' | + | Next, edit '' |
| - | * Append the following after '' | + | * Append the following after '' |
| < | < | ||
| Line 36: | Line 36: | ||
| * Uncomment '' | * Uncomment '' | ||
| - | * Set a root password for the '' | + | * Set a root password for the '' |
| < | < | ||
| - | rootpw | + | rootpw |
| </ | </ | ||
| - | * Set the '' | + | * Set the '' |
| < | < | ||
| Line 49: | Line 49: | ||
| </ | </ | ||
| - | * Set the root password for the '' | + | * Set the root password for the '' |
| < | < | ||
| Line 55: | Line 55: | ||
| </ | </ | ||
| - | Finally, | + | Finally, edit '' |
| - | * Set '' | + | * Set '' |
| < | < | ||
| Line 64: | Line 64: | ||
| </ | </ | ||
| - | * Set '' | + | * Set '' |
| < | < | ||
| Line 72: | Line 72: | ||
| ===== Installing LDAPScripts ===== | ===== Installing LDAPScripts ===== | ||
| - | LDAPScripts is a collection of scripts to manage | + | LDAPScripts is a collection of scripts to manage |
| < | < | ||
| Line 80: | Line 80: | ||
| ===== Configuring LDAPScripts ===== | ===== Configuring LDAPScripts ===== | ||
| - | We edit the following | + | Edit file '' |
| - | * Set the '' | + | * Set '' |
| < | < | ||
| Line 88: | Line 88: | ||
| </ | </ | ||
| - | * Set the Suffixes | + | * Set '' |
| < | < | ||
| Line 94: | Line 94: | ||
| </ | </ | ||
| - | * Set '' | + | * Set '' |
| < | < | ||
| Line 100: | Line 100: | ||
| </ | </ | ||
| - | * (Personal Preference) Start the UID from 10000, GID from 15000, MID from 20000 | + | * (Personal Preference) Start the UID from 10000, GID from 15000, MID from 20000: |
| < | < | ||
| Line 108: | Line 108: | ||
| </ | </ | ||
| - | * Set the home directory and default shell. If you're planning on using [[/ | + | * Set the home directory and default shell. If you're planning on using [[/ |
| - | * Fix '' | + | * Fix '' |
| < | < | ||
| Line 116: | Line 116: | ||
| </ | </ | ||
| - | * Set the correct path of '' | + | * Set the correct path of '' |
| < | < | ||
| Line 134: | Line 134: | ||
| **pingable? | **pingable? | ||
| - | Make sure that '' | + | Make sure that '' |
| </ | </ | ||
| Line 140: | Line 140: | ||
| ===== Using LDAPScripts ===== | ===== Using LDAPScripts ===== | ||
| - | Say we want to have a group named '' | + | Say we want to have a group named '' |
| < | < | ||
| Line 149: | Line 149: | ||
| </ | </ | ||
| - | And we can check by using '' | + | And we can check by using '' |
| < | < | ||
| Line 155: | Line 155: | ||
| uid=10000(john) gid=10000(john) groups=10000(john), | uid=10000(john) gid=10000(john) groups=10000(john), | ||
| </ | </ | ||
| + | |||
| + | ===== Next Steps ===== | ||
| + | |||
| + | Next, you might want to: | ||
| + | * Configure LDAP client using [[/ | ||
| + | * Use [[/ | ||
| ---- | ---- | ||
| Line 160: | Line 166: | ||
| ===== TODO ===== | ===== TODO ===== | ||
| - | * Add SSL/TLS Encryption | + | * Add SSL/TLS Encryption. |