git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b5d2e4
)
s3: Increase a debug level in ads_find_dc
author
Volker Lendecke
<vl@samba.org>
Wed, 17 Aug 2011 09:58:57 +0000
(11:58 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 Oct 2011 13:21:01 +0000
(15:21 +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
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 90c645c44ad6546006d04ffc59e623baa7878352..d7231be38ac68876f4a4ad08a414766eecb7a6d7 100644
(file)
--- a/
source3/libads/ldap.c
+++ b/
source3/libads/ldap.c
@@
-340,7
+340,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 ... */
}