diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/passdb.h | 4 | ||||
-rw-r--r-- | source3/include/proto.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 5610897b42..ddf3d9489a 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -454,6 +454,10 @@ struct pdb_methods TALLOC_CTX *mem_ctx, const char *domain, struct pdb_trusted_domain **td); + NTSTATUS (*get_trusted_domain_by_sid)(struct pdb_methods *methods, + TALLOC_CTX *mem_ctx, + struct dom_sid *sid, + struct pdb_trusted_domain **td); NTSTATUS (*set_trusted_domain)(struct pdb_methods *methods, const char* domain, const struct pdb_trusted_domain *td); diff --git a/source3/include/proto.h b/source3/include/proto.h index 5ce6bd6a9d..3a964c3c52 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3875,6 +3875,8 @@ NTSTATUS pdb_enum_trusteddoms(TALLOC_CTX *mem_ctx, uint32_t *num_domains, struct trustdom_info ***domains); NTSTATUS pdb_get_trusted_domain(TALLOC_CTX *mem_ctx, const char *domain, struct pdb_trusted_domain **td); +NTSTATUS pdb_get_trusted_domain_by_sid(TALLOC_CTX *mem_ctx, struct dom_sid *sid, + struct pdb_trusted_domain **td); NTSTATUS pdb_set_trusted_domain(const char* domain, const struct pdb_trusted_domain *td); NTSTATUS pdb_del_trusted_domain(const char *domain); |