make Runtime._syscall() protected so it can be overridden from outside the package
[nestedvm.git] / upstream / patches / samba.patch
1 --- ../samba-3.0.4/source/lib/iconv.c   2004-04-04 03:37:34.000000000 -0400
2 +++ source/lib/iconv.c  2004-06-29 20:56:57.000000000 -0400
3 @@ -110,6 +110,9 @@
4         static BOOL initialized;
5         int i;
6  
7 +    extern NTSTATUS charset_CP850_init();
8 +    extern NTSTATUS charset_CP437_init();
9 +    
10         if (!initialized) {
11                 initialized = True;
12                 for(i = 0; builtin_functions[i].name; i++) 
13 diff -ru ../samba-3.0.4/source/lib/module.c source/lib/module.c
14 --- ../samba-3.0.4/source/lib/module.c  2004-04-04 03:37:34.000000000 -0400
15 +++ source/lib/module.c 2004-06-30 20:53:24.000000000 -0400
16 @@ -130,7 +130,7 @@
17  
18  NTSTATUS smb_probe_module(const char *subsystem, const char *module)
19  {
20 -       DEBUG(0,("This samba executable has not been built with plugin support, not probing\n")); 
21 +       /*DEBUG(0,("This samba executable has not been built with plugin support, not probing\n")); */
22         return NT_STATUS_NOT_SUPPORTED;
23  }
24  
25 diff -ru ../samba-3.0.4/source/utils/ntlm_auth_diagnostics.c source/utils/ntlm_auth_diagnostics.c
26 --- ../samba-3.0.4/source/utils/ntlm_auth_diagnostics.c 2004-04-20 16:42:58.000000000 -0400
27 +++ source/utils/ntlm_auth_diagnostics.c        2004-06-30 01:21:08.000000000 -0400
28 @@ -580,7 +580,8 @@
29         {test_plaintext_lm_broken, "Plaintext LM broken"},
30         {test_plaintext_nt_broken, "Plaintext NT broken"},
31         {test_plaintext_nt_only, "Plaintext NT only"},
32 -       {test_plaintext_lm_only, "Plaintext LM only"}
33 +       {test_plaintext_lm_only, "Plaintext LM only"},
34 +    {NULL, NULL}
35  };
36  
37  BOOL diagnose_ntlm_auth(void)