Started prepping for the move from LDAP Access to LDAP Sync
[citadel.git] / citadel / housekeeping.c
index ee12b16a7b690832eee9eda67999c166abf07a0a..f3577c0cf60956090fee39c2747b2e9a0a6b4ec0 100644 (file)
@@ -127,7 +127,9 @@ void do_housekeeping(void) {
        /* Then, do the "once per minute" stuff... */
        if (do_perminute_housekeeping_now) {
                cdb_check_handles();
-               //CtdlPopulateUsersFromLDAP();          // This one isn't from a module so we put it here
+#ifdef HAVE_LDAP
+               CtdlSynchronizeUsersFromLDAP();         // This one isn't from a module so we put it here
+#endif
                PerformSessionHooks(EVT_TIMER);         // Run all registered TIMER hooks
        }