summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-07-15 16:22:42 +0200
committerGünther Deschner <gd@samba.org>2011-02-16 11:34:44 +0100
commitb4dd65d3f99022bd5fe7e320d7e36da5432592bb (patch)
tree53d82740d2d98fee820f22e386f4411e4bab41b6 /source3/include/proto.h
parent2e78022066f305143bfbe4cdef757051c8305f1d (diff)
downloadsamba-b4dd65d3f99022bd5fe7e320d7e36da5432592bb.tar.gz
samba-b4dd65d3f99022bd5fe7e320d7e36da5432592bb.tar.bz2
samba-b4dd65d3f99022bd5fe7e320d7e36da5432592bb.zip
s3-passdb: add {get,set,del,enum}_trusted_domain calls
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 6f0dbae561..a5d69bc214 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -3873,6 +3873,13 @@ bool pdb_set_trusteddom_pw(const char* domain, const char* pwd,
bool pdb_del_trusteddom_pw(const char *domain);
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_set_trusted_domain(const char* domain,
+ const struct pdb_trusted_domain *td);
+NTSTATUS pdb_del_trusted_domain(const char *domain);
+NTSTATUS pdb_enum_trusted_domains(TALLOC_CTX *mem_ctx, uint32_t *num_domains,
+ struct pdb_trusted_domain ***domains);
NTSTATUS make_pdb_method( struct pdb_methods **methods ) ;
/* The following definitions come from passdb/pdb_ldap.c */