Remove direct caller of secrets_fetch_trusted_domain_password().
authorMichael Adam <obnox@samba.org>
Mon, 17 Dec 2007 13:51:37 +0000 (14:51 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 17 Dec 2007 13:51:37 +0000 (14:51 +0100)
This is a regession introduced by f7efc0eca9426e63b751c07a90265a12bb39cf95.
This calls pdb_get_trusteddom_pw() instead, again.

Michael
(This used to be commit 91be824d2ba0b8dccf42ba2b8555a204aa1fa56c)

source3/passdb/lookup_sid.c

index c7ffe5f1c819446a888c034f3e53e7d13f90e7a1..f5b03ffff06bcd74fa7c1bf454f29214c6e8aaf3 100644 (file)
@@ -191,7 +191,7 @@ bool lookup_name(TALLOC_CTX *mem_ctx,
               this, tested an XP workstation in a NT domain -- vl */
 
        if ((flags & LOOKUP_NAME_REMOTE) && IS_DC &&
-           (secrets_fetch_trusted_domain_password(name, NULL, &sid, NULL)))
+           (pdb_get_trusteddom_pw(name, NULL, &sid, NULL)))
        {
                /* Swap domain and name */
                tmp = name; name = domain; domain = tmp;