Table of content
Starting the server
Quickly start the server for debugging purpose, all SSL connections and all loopback connections are accepted. Debugging information is printed on the standard output:
1 |
|
Branch initialization
The slapadd command allow to directly modify data (without connecting to the server), in this case the LDAP server must not be running.
Using the -w
option is necessary if replication is in use, this option
manage the contextCSN
, without it there is a risk of desynchronisation
with replicats from other sites.
1 |
|
Changing password
The password can be changed (through the extended operation):
1 2 |
|
Root DSE
The root DSE is not part of a namespace, its purpose is to provide information about the directory:
1 |
|
Looking up for a user
1 |
|
Listing all the users sorted by name
1 |
|
Deleting an attribut
The pwdAccountLockedTime attribut is deleted from the entry, this
example is usefull when using the overlay managing the password policy
(ppolicy
):
1 2 3 4 5 |
|
Checking the LDAP directory
Display the entries (according to the ACL) for the default branch:
1 2 |
|
An example using the curl command:
1 |
|
Checking synchronization transfer
This commande allow to check that all data are corretly retrieved and
that the access rules on the server side don’t hide necessary
information (for example the userPassword
) attribute:
1 2 3 |
|
Date of last synchronization
The contextCSN
attribut is available when using the syncprov
overlay, its format is as follow GT#COUNT#SID#MOD
where GT
(generalized time) is defined as YYYYmmddHHMMSS.uuuuuuZ
:
1 |
|