dbaarda / LightLdapd

Tiny LDAP server exporting NSS databases using PAM authentication.
GNU General Public License v3.0
2 stars 1 forks source link

Refactor ldap_server out of main.c to ldap_server.c. #9

Closed dbaarda closed 5 years ago

dbaarda commented 5 years ago

Currently main.c includes all the main ldap_* classes and is rather bloated. This makes writing tests for these hard. We should reduce main.c to the bare minimum to parse cmdlines and create/run the ldap_server instance.