added #ifdef NTDOMAIN. added call to api_ntLsarpc instead of api_Lsarpc
[kai/samba.git] / source3 / smbd / ipc.c
index 6da9562c9f4c98b085578e24e30120125cba131f..28cdb22889ac3894475668a9cf17c687dd4a8bde 100644 (file)
@@ -2763,7 +2763,11 @@ struct
 } api_fd_commands [] =
   {
     { "SetNmdPpHndState",      "lsarpc",       1,      api_LsarpcSNPHS },
 } api_fd_commands [] =
   {
     { "SetNmdPpHndState",      "lsarpc",       1,      api_LsarpcSNPHS },
+#ifdef NTDOMAIN
+    { "TransactNmPipe",        "lsarpc",       0x26,   api_ntLsarpcTNP },
+#else
     { "TransactNmPipe",        "lsarpc",       0x26,   api_LsarpcTNP },
     { "TransactNmPipe",        "lsarpc",       0x26,   api_LsarpcTNP },
+#endif
     { NULL,            NULL,           -1,     (BOOL (*)())api_Unsupported }
   };
 
     { NULL,            NULL,           -1,     (BOOL (*)())api_Unsupported }
   };