summaryrefslogtreecommitdiff
path: root/source3/nameservreply.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-06-03 17:14:48 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-06-03 17:14:48 +0000
commit3f067df49514c821eec5e9be132e6bd42c268506 (patch)
treec9a3932bd4fc40136c51b735573a3dba0fdf7f85 /source3/nameservreply.c
parent9276c29e643c989edeef3b5572acc328acf97fdc (diff)
downloadsamba-3f067df49514c821eec5e9be132e6bd42c268506.tar.gz
samba-3f067df49514c821eec5e9be132e6bd42c268506.tar.bz2
samba-3f067df49514c821eec5e9be132e6bd42c268506.zip
includes.h: Added USE_SETSID for SGI.
nameelect.c: Added debug 0 comments so you know when you have become a master/domain master. nameservreply.c:Stopped SELF names from being remotely released. This still needs work. nmbsync.c: Added debug 0 comments so you know when a sync is being done. Jeremy jallison@whistle.com (This used to be commit b40d3bede60c8e040ee30c72d605a4950e1a8c8b)
Diffstat (limited to 'source3/nameservreply.c')
-rw-r--r--source3/nameservreply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nameservreply.c b/source3/nameservreply.c
index db517dff82..9e46b80303 100644
--- a/source3/nameservreply.c
+++ b/source3/nameservreply.c
@@ -135,10 +135,10 @@ void reply_name_release(struct packet_struct *p)
/* XXXX under what conditions should we reject the removal?? */
/* For now - remove if the names match and the group bit matches. */
- if (n && (NAME_GROUP(n->ip_flgs[0].nb_flags) == NAME_GROUP(nb_flags)))
+ if (n && (n->source != SELF) && (NAME_GROUP(n->ip_flgs[0].nb_flags) == NAME_GROUP(nb_flags)))
{
success = True;
-
+
DEBUG(5, ("reply_name_release: Removing name %s on subnet %s\n",
namestr(&nmb->question.question_name), inet_ntoa(d->bcast_ip)));
remove_name(d,n);