r20824: Send access to the trusted domain passwords through the pdb backend, so that
[obnox/samba/samba-obnox.git] / source3 / auth / auth_util.c
index 94551cb8a56d331866cbe10e42da19f883b46c05..1080ced51b99bc8fae6d3bec8a3c979cf4b349b0 100644 (file)
@@ -2142,8 +2142,7 @@ BOOL is_trusted_domain(const char* dom_name)
                become_root();
                DEBUG (5,("is_trusted_domain: Checking for domain trust with "
                          "[%s]\n", dom_name ));
-               ret = secrets_fetch_trusted_domain_password(dom_name, NULL,
-                                                           NULL, NULL);
+               ret = pdb_get_trusteddom_pw(dom_name, NULL, NULL, NULL);
                unbecome_root();
                if (ret)
                        return True;