diff options
author | Sumit Bose <sbose@redhat.com> | 2010-07-15 11:21:48 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-16 11:34:44 +0100 |
commit | 2e78022066f305143bfbe4cdef757051c8305f1d (patch) | |
tree | fd6f32f2bb881ee5b6d927a40ddf66911eea451a /source3 | |
parent | 4fa210d76a6fb1a9392653c8313c8ffac1f41bb7 (diff) | |
download | samba-2e78022066f305143bfbe4cdef757051c8305f1d.tar.gz samba-2e78022066f305143bfbe4cdef757051c8305f1d.tar.bz2 samba-2e78022066f305143bfbe4cdef757051c8305f1d.zip |
s3-ipasam: Disable old trustdom_pw calls
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_ipa.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c index c0dbd00e0a..34eee5efa9 100644 --- a/source3/passdb/pdb_ipa.c +++ b/source3/passdb/pdb_ipa.c @@ -22,6 +22,37 @@ #include "smbldap.h" +static bool ipasam_get_trusteddom_pw(struct pdb_methods *methods, + const char *domain, + char** pwd, + struct dom_sid *sid, + time_t *pass_last_set_time) +{ + return false; +} + +static bool ipasam_set_trusteddom_pw(struct pdb_methods *methods, + const char* domain, + const char* pwd, + const struct dom_sid *sid) +{ + return false; +} + +static bool ipasam_del_trusteddom_pw(struct pdb_methods *methods, + const char *domain) +{ + return false; +} + +static NTSTATUS ipasam_enum_trusteddoms(struct pdb_methods *methods, + TALLOC_CTX *mem_ctx, + uint32_t *num_domains, + struct trustdom_info ***domains) +{ + return NT_STATUS_NOT_IMPLEMENTED; +} + static NTSTATUS pdb_init_IPA_ldapsam(struct pdb_methods **pdb_method, const char *location) { struct ldapsam_privates *ldap_state; @@ -33,6 +64,11 @@ static NTSTATUS pdb_init_IPA_ldapsam(struct pdb_methods **pdb_method, const char ldap_state = (struct ldapsam_privates *)((*pdb_method)->private_data); ldap_state->is_ipa_ldap = true; + (*pdb_method)->get_trusteddom_pw = ipasam_get_trusteddom_pw; + (*pdb_method)->set_trusteddom_pw = ipasam_set_trusteddom_pw; + (*pdb_method)->del_trusteddom_pw = ipasam_del_trusteddom_pw; + (*pdb_method)->enum_trusteddoms = ipasam_enum_trusteddoms; + return nt_status; } |