s3: Increase a debug level in ads_find_dc
authorVolker Lendecke <vl@samba.org>
Wed, 17 Aug 2011 09:58:57 +0000 (11:58 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 17 Aug 2011 10:30:08 +0000 (12:30 +0200)
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

index 128c133760069a575cbf90b046df1f21bb37043b..11e4261ee5d0682a79f0726cc60b127020e547ef 100644 (file)
@@ -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 ... */
        }