summaryrefslogtreecommitdiff
path: root/source4/param/secrets.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-02-18 10:54:53 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-02-18 10:58:24 +1100
commit7202dcdcc06080f0227b82993b446bda4c0782df (patch)
treedff081473f36f9c685f0ff958b4f8dce4651b8d4 /source4/param/secrets.h
parent7b4387f765e34177000c8218f51e2c1d227504e6 (diff)
downloadsamba-7202dcdcc06080f0227b82993b446bda4c0782df.tar.gz
samba-7202dcdcc06080f0227b82993b446bda4c0782df.tar.bz2
samba-7202dcdcc06080f0227b82993b446bda4c0782df.zip
s4:param Modify secrets_get_domain_sid to give more useful errors
This also moves the calls to secrets_get_domain_sid back into winbind_task_init(), so that we can terminate with a much more detailed error message. (The previous message was simply NT_STATUS_CANT_ACCESS_DOMAIN_INFO). Andrew Bartlett
Diffstat (limited to 'source4/param/secrets.h')
-rw-r--r--source4/param/secrets.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/param/secrets.h b/source4/param/secrets.h
index caffa50733..c3227dfbcb 100644
--- a/source4/param/secrets.h
+++ b/source4/param/secrets.h
@@ -40,7 +40,11 @@ struct loadparm_context;
struct tevent_context;
struct tdb_wrap *secrets_init(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx);
struct ldb_context *secrets_db_connect(TALLOC_CTX *mem_ctx, struct tevent_context *ev_ctx, struct loadparm_context *lp_ctx);
-struct dom_sid *secrets_get_domain_sid(TALLOC_CTX *mem_ctx, struct tevent_context *ev_ctx, struct loadparm_context *lp_ctx, const char *domain);
+struct dom_sid *secrets_get_domain_sid(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev_ctx,
+ struct loadparm_context *lp_ctx,
+ const char *domain,
+ char **errstring);
#endif /* _SECRETS_H */