git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3163aff
)
r23654: Remove misleading inline comment.
author
Günther Deschner
<gd@samba.org>
Fri, 29 Jun 2007 11:54:29 +0000
(11:54 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:42 +0000
(12:23 -0500)
Guenther
(This used to be commit
a3441c22b342e2802bd9766b7046073db3895a29
)
source3/libads/dns.c
patch
|
blob
|
history
diff --git
a/source3/libads/dns.c
b/source3/libads/dns.c
index e0e696c99c97c822be95b0c589982d05f18c595e..c0d8d61e36227e004f1d150a96e9f7295baf09ed 100644
(file)
--- a/
source3/libads/dns.c
+++ b/
source3/libads/dns.c
@@
-637,8
+637,6
@@
static char *sitename_key(const char *realm)
/****************************************************************************
Store the AD client sitename.
We store indefinately as every new CLDAP query will re-write this.
/****************************************************************************
Store the AD client sitename.
We store indefinately as every new CLDAP query will re-write this.
- If the sitename is "Default-First-Site-Name" we don't store it
- as this isn't a valid DNS name.
****************************************************************************/
BOOL sitename_store(const char *realm, const char *sitename)
****************************************************************************/
BOOL sitename_store(const char *realm, const char *sitename)
@@
-652,7
+650,7
@@
BOOL sitename_store(const char *realm, const char *sitename)
}
if (!realm || (strlen(realm) == 0)) {
}
if (!realm || (strlen(realm) == 0)) {
- DEBUG(0,("no realm\n"));
+ DEBUG(0,("
sitename_store:
no realm\n"));
return False;
}
return False;
}
@@
-723,7
+721,7
@@
BOOL stored_sitename_changed(const char *realm, const char *sitename)
char *new_sitename;
if (!realm || (strlen(realm) == 0)) {
char *new_sitename;
if (!realm || (strlen(realm) == 0)) {
- DEBUG(0,("no realm\n"));
+ DEBUG(0,("
stored_sitename_changed:
no realm\n"));
return False;
}
return False;
}