From 31ee78fea9519da4fbe4fe89a35cec9fd6206c31 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 17 Aug 2011 11:58:57 +0200 Subject: [PATCH] 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. --- source3/libads/ldap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 128c1337600..11e4261ee5d 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 ... */ } -- 2.11.4.GIT