summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-24 22:15:33 +0100
committerMichael Adam <obnox@samba.org>2008-01-25 01:42:22 +0100
commit2a542ce7727cf3eb7f64d855c70d974f02185a2a (patch)
tree608c1d592b1c49e9bb843a88dd366cdc30a3e869
parent614ba32b221aee268b86033ee10da4dbdb087365 (diff)
downloadsamba-2a542ce7727cf3eb7f64d855c70d974f02185a2a.tar.gz
samba-2a542ce7727cf3eb7f64d855c70d974f02185a2a.tar.bz2
samba-2a542ce7727cf3eb7f64d855c70d974f02185a2a.zip
Add a debug message winbindd_can_contact_domain()
explaining the reason for failure. Michael (This used to be commit ba5373ed7f74d560a9de8620039b596b8938d1dc)
-rw-r--r--source3/winbindd/winbindd_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 724cce2512..3d9ede3cdf 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1404,6 +1404,8 @@ bool winbindd_can_contact_domain( struct winbindd_domain *domain )
if ( domain->active_directory &&
((domain->domain_flags&DS_DOMAIN_DIRECT_INBOUND) != DS_DOMAIN_DIRECT_INBOUND) )
{
+ DEBUG(10, ("Domain is an AD domain and we have no inbound "
+ "trust.\n"));
return False;
}