git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28b237b
)
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
Volker 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
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 128c133760069a575cbf90b046df1f21bb37043b..11e4261ee5d0682a79f0726cc60b127020e547ef 100644
(file)
--- 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 ... */
}