summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/dns.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/libads/dns.c b/source3/libads/dns.c
index 3f99a73a33..579296ea1f 100644
--- a/source3/libads/dns.c
+++ b/source3/libads/dns.c
@@ -590,10 +590,6 @@ BOOL sitename_store(const char *sitename)
if (!sitename || (sitename && !*sitename)) {
DEBUG(5,("sitename_store: deleting empty sitename!\n"));
return gencache_del(SITENAME_KEY);
- } else if (sitename && strequal(sitename, DEFAULT_SITE_NAME)) {
- DEBUG(5,("sitename_store: delete default sitename %s\n",
- DEFAULT_SITE_NAME));
- return gencache_del(SITENAME_KEY);
}
expire = get_time_t_max(); /* Store indefinately. */
@@ -639,11 +635,6 @@ BOOL stored_sitename_changed(const char *sitename)
BOOL ret = False;
char *new_sitename = sitename_fetch();
- /* Treat default site as no name. */
- if (strequal(sitename, DEFAULT_SITE_NAME)) {
- sitename = NULL;
- }
-
if (sitename && new_sitename && !strequal(sitename, new_sitename)) {
ret = True;
} else if ((sitename && !new_sitename) ||