diff options
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r-- | source3/smbd/server.c | 7 |
1 files changed, 5 insertions, 2 deletions
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); |