Don't drop any error codes just because we think there cannot be any errors we didn...
authorroot <root@localhost.localdomain>
Thu, 30 Oct 2014 02:54:56 +0000 (19:54 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 30 Oct 2014 08:14:50 +0000 (09:14 +0100)
Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 30 09:14:51 CET 2014 on sn-devel-104

source3/auth/auth_util.c

index 2986fb4372f34235ea1cbd254f15bdd48a709d02..dbc7d24dc17eaccad68146b984fa8832c34ad998 100644 (file)
@@ -1521,6 +1521,9 @@ bool is_trusted_domain(const char* dom_name)
                        return false;
                }
 
+               DEBUG(10, ("wb_is_trusted_domain returned error: %s\n",
+                         wbcErrorString(result)));
+
                /* The only other possible result is that winbind is not up
                   and running. We need to update the trustdom_cache
                   ourselves */