Adding the same changes to HEAD as were added to BRANCH_1_9_18.
[samba.git] / source3 / client / smbmount.c
index fdafaec9faff60af6776e845ad9912e84884ff5f..bab7430859212658aca4dc8b1347acb55cfec98a 100644 (file)
@@ -883,31 +883,6 @@ static void usage(char *pname)
   get_myname((*myname)?NULL:myname,NULL);  
   strupper(myname);
 
-#ifdef NTDOMAIN
-
-       if (nt_domain_logon)
-       {
-               int ret = 0;
-               sprintf(service,"\\\\%s\\IPC$",query_host);
-               strupper(service);
-               connect_as_ipc = True;
-
-               DEBUG(5,("NT Domain Logon.  Service: %s\n", service));
-
-               if (cli_open_sockets(port))
-               {
-                       if (!cli_send_login(NULL,NULL,True,True,NULL)) return(1);
-
-                       do_nt_login(desthost, myhostname, Client, cnum);
-
-                       cli_send_logout();
-                       close_sockets();
-               }
-
-               return(ret);
-       }
-#endif 
-
   if (cli_open_sockets(port))
     {
       if (!process(base_directory))