diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-22 09:47:41 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-25 09:03:29 -0400 |
commit | 8263230a0c543a737ab17a071a0ea964dcab4259 (patch) | |
tree | 373caef346d1b73f3dcf6d0d168402f3eecc4d23 /server/util/server.c | |
parent | c65b34ae1d5794fc4456a25705163f56283047d2 (diff) | |
download | sssd-8263230a0c543a737ab17a071a0ea964dcab4259.tar.gz sssd-8263230a0c543a737ab17a071a0ea964dcab4259.tar.bz2 sssd-8263230a0c543a737ab17a071a0ea964dcab4259.zip |
Upgrade confdb to version 2
This converts a great many configuration options to the new
standard format.
Diffstat (limited to 'server/util/server.c')
-rw-r--r-- | server/util/server.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/util/server.c b/server/util/server.c index 0760e60f..a8c50240 100644 --- a/server/util/server.c +++ b/server/util/server.c @@ -362,7 +362,8 @@ int server_setup(const char *name, int flags, /* set debug level if any in conf_entry */ ret = confdb_get_int(ctx->confdb_ctx, ctx, conf_entry, - "debug-level", debug_level, &debug_level); + CONFDB_SERVICE_DEBUG_LEVEL, + debug_level, &debug_level); if (ret != EOK) { DEBUG(0, ("Error reading from confdb (%d) [%s]\n", ret, strerror(ret))); @@ -372,7 +373,8 @@ int server_setup(const char *name, int flags, /* same for debug timestamps */ dt = (debug_timestamps != 0); ret = confdb_get_bool(ctx->confdb_ctx, ctx, conf_entry, - "debug-timestamps", dt, &dt); + CONFDB_SERVICE_DEBUG_TIMESTAMPS, + dt, &dt); if (ret != EOK) { DEBUG(0, ("Error reading from confdb (%d) [%s]\n", ret, strerror(ret))); |