diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-06-01 10:08:59 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-06-01 11:07:38 -0400 |
commit | 1838e40aed71e1c3de9464f5b29406c602749251 (patch) | |
tree | 4f76ff8f554fd7abdfeb3186c8c65b8a7e750d2e | |
parent | e1659895d7e7a1c161d7b6117c898e0ee3b62190 (diff) | |
download | sssd-1838e40aed71e1c3de9464f5b29406c602749251.tar.gz sssd-1838e40aed71e1c3de9464f5b29406c602749251.tar.bz2 sssd-1838e40aed71e1c3de9464f5b29406c602749251.zip |
Suppress "rootdse" error messages from the confdb
-rw-r--r-- | server/confdb/confdb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index c1334735..7c88b25b 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -655,14 +655,15 @@ int confdb_init(TALLOC_CTX *mem_ctx, return EIO; } - ret = ldb_connect(cdb->ldb, confdb_location, 0, NULL); + ret = ldb_set_debug(cdb->ldb, ldb_debug_messages, NULL); if (ret != LDB_SUCCESS) { + DEBUG(0,("Could not set up debug fn.\n")); talloc_free(cdb); return EIO; } - ret = ldb_set_debug(cdb->ldb, ldb_debug_messages, NULL); + + ret = ldb_connect(cdb->ldb, confdb_location, 0, NULL); if (ret != LDB_SUCCESS) { - DEBUG(0,("Could not set up debug fn.\n")); talloc_free(cdb); return EIO; } |