diff options
author | Jeremy Allison <jra@samba.org> | 2006-08-31 16:26:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:39:44 -0500 |
commit | 305ceade3905dad45eac2f407dd8f56a9979cf1c (patch) | |
tree | 8c4d24a40459d0b0fc36243e3019b2ab9252c15b /source3/libads | |
parent | 7c07bd61dc75529940bb55697a6c11920816ecbd (diff) | |
download | samba-305ceade3905dad45eac2f407dd8f56a9979cf1c.tar.gz samba-305ceade3905dad45eac2f407dd8f56a9979cf1c.tar.bz2 samba-305ceade3905dad45eac2f407dd8f56a9979cf1c.zip |
r17970: Add missing include-guards around ads.h and ads_cldap.h.
Remove all reference to "Default-First-Site-Name" and
treat it like any other site.
Jeremy.
(This used to be commit 5ae3564d6844f44a6943b2028917bd457371af1e)
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/dns.c | 9 |
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) || |