summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-02-07 16:22:16 +0000
committerJean-François Micouleau <jfm@samba.org>2000-02-07 16:22:16 +0000
commit59ac32c2556e970ea1fe171e7b76cfee2142fbf0 (patch)
tree9af57449a0e2b38f82d46f16f6c00e2effb6f3e8 /source3/smbd
parent6a6749d81e892bb06bfdc0fefdc428e5e6599f71 (diff)
downloadsamba-59ac32c2556e970ea1fe171e7b76cfee2142fbf0.tar.gz
samba-59ac32c2556e970ea1fe171e7b76cfee2142fbf0.tar.bz2
samba-59ac32c2556e970ea1fe171e7b76cfee2142fbf0.zip
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)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c1
-rw-r--r--source3/smbd/server.c7
2 files changed, 6 insertions, 2 deletions
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);