From 59ac32c2556e970ea1fe171e7b76cfee2142fbf0 Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Mon, 7 Feb 2000 16:22:16 +0000 Subject: Jeremy can you check lib/util_unistr.c for codepages support ? I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage support. J.F. (This used to be commit b81dc7b7f832cae2e66076398a134fbb6c1f78ca) --- source3/smbd/nttrans.c | 1 + source3/smbd/server.c | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 4b344c3318..d9ad16e7d3 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -44,6 +44,7 @@ static char *known_nt_pipes[] = { "\\lsass", "\\lsarpc", "\\winreg", + "\\spoolss", NULL }; diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 44e347b104..d1788678a7 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -468,6 +468,9 @@ static void init_structs(void ) /* for LSA handles */ init_lsa_policy_hnd(); + /* for SPOOLSS handles */ + init_printer_hnd(); + init_dptrs(); } @@ -707,8 +710,8 @@ static void usage(char *pname) DEBUG( 3, ( "Becoming a daemon.\n" ) ); become_daemon(); } - - check_kernel_oplocks(); + + check_kernel_oplocks(); if (!directory_exist(lp_lockdir(), NULL)) { mkdir(lp_lockdir(), 0755); -- cgit