This commit is contained in:
Candifloss 2024-10-26 16:46:24 +05:30
parent 99b6680a7f
commit df0a0eabda

View File

@ -2,7 +2,7 @@
These scripts act as shortcuts for frequently used `openldap` commands or operations. These scripts act as shortcuts for frequently used `openldap` commands or operations.
## Example commands ## Common openldap commands and options
It is necessary to understand these basic commands It is necessary to understand these basic commands
- `ldapsearch`: Search for entries in the directory - `ldapsearch`: Search for entries in the directory
@ -10,8 +10,6 @@ It is necessary to understand these basic commands
- `ldapmodify`: Modify entries in the directory - `ldapmodify`: Modify entries in the directory
- `ldapvi`: A program to edit enties using your text-editor - `ldapvi`: A program to edit enties using your text-editor
## Common options
You will have to modify these fields in the scripts: You will have to modify these fields in the scripts:
- `-H`: Host ip-address or url: `ldap://192.12.34.123/`, `ldaps://ldap.example.com/` - `-H`: Host ip-address or url: `ldap://192.12.34.123/`, `ldaps://ldap.example.com/`
- `-D`: Bind DN: `cn=ldapadmin,dc=example,dc=com` - `-D`: Bind DN: `cn=ldapadmin,dc=example,dc=com`