diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-10-02 19:36:01 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-10-09 16:11:08 -0400 |
commit | dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb (patch) | |
tree | 7842b16b9ce9e4367c2a9a6f05db25fc40b2ab08 /server/providers/dp_backend.h | |
parent | 1f2b3f82f9896a99f8f2b8b2145af47402a9c3c6 (diff) | |
download | sssd-dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb.tar.gz sssd-dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb.tar.xz sssd-dc55d62f4d9f6520ffcb4aa8c6beb308896d9fbb.zip |
Remove DP process
Turn the backend process into data provider servers
Make Frontends (pam, nss) directly attach to the backends
Diffstat (limited to 'server/providers/dp_backend.h')
-rw-r--r-- | server/providers/dp_backend.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/server/providers/dp_backend.h b/server/providers/dp_backend.h index f9949632b..ae245ef8c 100644 --- a/server/providers/dp_backend.h +++ b/server/providers/dp_backend.h @@ -65,6 +65,13 @@ struct be_offline_status { bool offline; }; +struct be_client { + struct be_ctx *bectx; + struct sbus_connection *conn; + struct tevent_timer *timeout; + bool initialized; +}; + struct be_ctx { struct tevent_context *ev; struct confdb_ctx *cdb; @@ -76,7 +83,10 @@ struct be_ctx { struct be_offline_status offstat; struct sbus_connection *mon_conn; - struct sbus_connection *dp_conn; + struct sbus_connection *sbus_srv; + + struct be_client *nss_cli; + struct be_client *pam_cli; struct loaded_be loaded_be[BET_MAX]; struct bet_info bet_info[BET_MAX]; @@ -89,6 +99,7 @@ struct bet_ops { }; struct be_req { + struct be_client *becli; struct be_ctx *be_ctx; void *req_data; |