code was added to stop samba from replying to queries for its own names (?! :-)
authorSamba Release Account <samba-bugs@samba.org>
Wed, 23 Oct 1996 18:28:52 +0000 (18:28 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Wed, 23 Oct 1996 18:28:52 +0000 (18:28 +0000)
lkcl
(This used to be commit 92a3d0f3e18f7e50ea24053a989fd0096264c816)

source3/namedbname.c

index 6cd89df5232f373334051c4a007d8d41d580a22b..0ec8cdbbbe581a2a20c504c4406f5c8faeeb2c7a 100644 (file)
@@ -529,13 +529,6 @@ struct name_record *search_for_name(struct subnet_record **d,
   
   if (*d == NULL) return NULL;
 
-  if (!n && (search & FIND_SELF)) {
-    DEBUG(3,("FIND_SELF set - failing lookup\n"));
-    return NULL;
-  }
-
-  DEBUG(4,("subnet %s ", inet_ntoa((*d)->bcast_ip)));
-
   /* now try DNS lookup. */
   if (!n)
     {