diff options
author | Simo Sorce <idra@samba.org> | 2008-11-19 14:16:52 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-11-19 14:16:52 -0500 |
commit | 18de263889a8cb71ff9d3087e5cef5777d0221b5 (patch) | |
tree | 1a444c20898f5beeb46fa5ea13b5b372c84dfda1 /server/nss | |
parent | f4ea2eeb891721c8179438ec26bafa362ab6ab2f (diff) | |
download | sssd-18de263889a8cb71ff9d3087e5cef5777d0221b5.tar.gz sssd-18de263889a8cb71ff9d3087e5cef5777d0221b5.tar.bz2 sssd-18de263889a8cb71ff9d3087e5cef5777d0221b5.zip |
Move definition into the header file
Diffstat (limited to 'server/nss')
-rw-r--r-- | server/nss/nss_ldb.h | 2 | ||||
-rw-r--r-- | server/nss/nsssrv.c | 1 | ||||
-rw-r--r-- | server/nss/nsssrv_ldb.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/server/nss/nss_ldb.h b/server/nss/nss_ldb.h index f8a161dc..b7c2ba7d 100644 --- a/server/nss/nss_ldb.h +++ b/server/nss/nss_ldb.h @@ -1,5 +1,7 @@ /* nss_ldb private header file */ +#define NSS_LDB_CONF_SECTION "config/services/nss" + #define NSS_DEF_LDB_PATH "/var/lib/sss/db/sssd.ldb" #define NSS_DEF_USER_BASE "cn=users,cn=local" diff --git a/server/nss/nsssrv.c b/server/nss/nsssrv.c index 4ce00ffc..0181644d 100644 --- a/server/nss/nsssrv.c +++ b/server/nss/nsssrv.c @@ -272,6 +272,7 @@ static int nss_sbus_init(struct nss_ctx *nctx) talloc_free(ns_ctx); return ret; } + dbus_conn = sbus_get_connection(ns_ctx->scon_ctx); dbus_connection_set_exit_on_disconnect(dbus_conn, TRUE); diff --git a/server/nss/nsssrv_ldb.c b/server/nss/nsssrv_ldb.c index 418b16e2..6385c5ac 100644 --- a/server/nss/nsssrv_ldb.c +++ b/server/nss/nsssrv_ldb.c @@ -600,8 +600,6 @@ int nss_ldb_initgroups(TALLOC_CTX *mem_ctx, return LDB_SUCCESS; } -#define NSS_LDB_CONF_SECTION "config/services/nss" - static int nss_ldb_read_var(TALLOC_CTX *tmp_ctx, struct confdb_ctx *cdb, struct nss_ldb_ctx *ctx, |