diff options
author | Simo Sorce <idra@samba.org> | 2009-01-09 08:42:28 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-09 08:42:28 -0500 |
commit | dd422e75a52d197d9084b6a4415b58553460ae41 (patch) | |
tree | 3567618ceb6b80e20d1bc6b94b5115f8163dd614 /server/nss/nsssrv.h | |
parent | ccd17380f5347d0c50fe5214de2e2cd077238f53 (diff) | |
download | sssd-dd422e75a52d197d9084b6a4415b58553460ae41.tar.gz sssd-dd422e75a52d197d9084b6a4415b58553460ae41.tar.bz2 sssd-dd422e75a52d197d9084b6a4415b58553460ae41.zip |
Lots of little nasty bugs fixed.
I was finally able to get a getpwnam() request go through sssd,
hit the remote ldap server and get the answer back with
'getent passwd foo'
Yupiee!
Diffstat (limited to 'server/nss/nsssrv.h')
-rw-r--r-- | server/nss/nsssrv.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/server/nss/nsssrv.h b/server/nss/nsssrv.h index 00508a8e..51b0f535 100644 --- a/server/nss/nsssrv.h +++ b/server/nss/nsssrv.h @@ -89,15 +89,13 @@ int nss_cmd_execute(struct cli_ctx *cctx); #define NSS_DP_USER 1 #define NSS_DP_GROUP 2 +typedef void (*nss_dp_callback_t)(uint16_t err_maj, uint32_t err_min, + const char *err_msg, void *ptr); + int nss_dp_send_acct_req(struct nss_ctx *nctx, TALLOC_CTX *memctx, - DBusPendingCallNotifyFunction callback, - void *callback_ctx, - const char *domain, int type, + nss_dp_callback_t callback, void *callback_ctx, + int timeout, const char *domain, int type, const char *opt_name, uint32_t opt_id); -int nss_dp_get_reply(DBusPendingCall *pending, - dbus_uint16_t *err_maj, - dbus_uint32_t *err_min, - char **err_msg); int nss_dp_init(struct nss_ctx *nctx); #endif /* __NSSSRV_H__ */ |