summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-17 11:58:57 +0200
committerVolker Lendecke <vl@samba.org>2011-08-17 12:30:08 +0200
commit31ee78fea9519da4fbe4fe89a35cec9fd6206c31 (patch)
treef45f2aa760fe48919db83e454fb1397e4bd046f1
parent28b237b2cc04d10275cea6890bda425b41cf62f7 (diff)
downloadsamba-31ee78fea9519da4fbe4fe89a35cec9fd6206c31.tar.gz
samba-31ee78fea9519da4fbe4fe89a35cec9fd6206c31.tar.bz2
samba-31ee78fea9519da4fbe4fe89a35cec9fd6206c31.zip
s3: Increase a debug level in ads_find_dc
This message can happen with AD trusts that winbind can not cope with. The message is not really clear and not worth spamming syslog always.
-rw-r--r--source3/libads/ldap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 128c133760..11e4261ee5 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -354,7 +354,8 @@ static NTSTATUS ads_find_dc(ADS_STRUCT *ads)
}
if ( !c_realm || !*c_realm ) {
- DEBUG(0,("ads_find_dc: no realm or workgroup! Don't know what to do\n"));
+ DEBUG(1, ("ads_find_dc: no realm or workgroup! Don't know "
+ "what to do\n"));
return NT_STATUS_INVALID_PARAMETER; /* rather need MISSING_PARAMETER ... */
}