summaryrefslogtreecommitdiffstats
path: root/server/server.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-11-19 14:20:15 -0500
committerSimo Sorce <idra@samba.org>2008-11-19 14:20:15 -0500
commitef946eebf0520607c1c7c72c80b51de63d9d941e (patch)
tree84c8d0a97b788a481c32884298abbf7b13433e47 /server/server.c
parentb819da364c40fb79f4cab87d02c3dd4ec3fe8b50 (diff)
downloadsssd-ef946eebf0520607c1c7c72c80b51de63d9d941e.tar.gz
sssd-ef946eebf0520607c1c7c72c80b51de63d9d941e.tar.xz
sssd-ef946eebf0520607c1c7c72c80b51de63d9d941e.zip
Add some infrastructure code to add data providers.
This currently breacks the dameon because of a problem with destroying the monitor dbus server in the children after fork()
Diffstat (limited to 'server/server.c')
-rw-r--r--server/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/server.c b/server/server.c
index d95919970..01bcf29c3 100644
--- a/server/server.c
+++ b/server/server.c
@@ -33,6 +33,7 @@
#include "../ldb/include/ldb.h"
#include "service.h"
#include "confdb/confdb.h"
+#include "providers/providers.h"
#include "monitor.h"
extern void monitor_task_init(struct task_server *task);
@@ -214,6 +215,7 @@ int main(int argc, const char *argv[])
/* Services */
register_server_service("nss", nss_task_init);
+ register_server_service("dp", dp_task_init);
/* the monitor starts the services */
status = start_monitor(mem_ctx, event_ctx, confdb_ctx);