Romve debugging assertions (oops...)
authorAndrew Bartlett <abartlet@samba.org>
Fri, 9 Jan 2004 02:47:35 +0000 (02:47 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Jan 2004 02:47:35 +0000 (02:47 +0000)
Andrew Bartlett
(This used to be commit 7e75a6d681fc63cacc7e5caa7a04568c6019367f)

source3/libsmb/namequery.c

index dfc3bcd93f763448d56118e7825c36d610444967..83902971b0921bf221d6a771b715d5712f5fa998 100644 (file)
@@ -680,8 +680,6 @@ BOOL name_resolve_bcast(const char *name, int name_type,
                return False;
        }
 
-       SMB_ASSERT(strchr_m(name, '.') == NULL);
-
        *return_iplist = NULL;
        *return_count = 0;
        
@@ -744,8 +742,6 @@ BOOL resolve_wins(const char *name, int name_type,
                return False;
        }
 
-       SMB_ASSERT(strchr_m(name, '.') == NULL);
-
        *return_iplist = NULL;
        *return_count = 0;
        
@@ -933,8 +929,6 @@ static BOOL resolve_ads(const char *name, int name_type,
                if ( lp_security() != SEC_ADS )
                        return False;
                        
-               SMB_ASSERT(strchr_m(name, '.') != NULL);
-
                DEBUG(5,("resolve_hosts: Attempting to resolve DC's for %s using DNS\n",
                        name));