diff options
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/rewrite.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/source4/smbd/rewrite.c b/source4/smbd/rewrite.c index ac241958c7..53993fce60 100644 --- a/source4/smbd/rewrite.c +++ b/source4/smbd/rewrite.c @@ -6,41 +6,18 @@ This file will need to go away before the rewrite is complete */ -void mangle_reset_cache(void) -{} - -void reset_stat_cache(void) -{} - - BOOL set_current_service(void *conn, BOOL x) { return True; } void change_to_root_user(void) {} -void load_printers(void) -{} - -void file_init(void) -{} - -BOOL init_oplocks(void) -{ return True; } - -BOOL init_change_notify(void) -{ return True; } - - BOOL pcap_printername_ok(const char *service, const char *foo) { return True; } BOOL share_access_check(struct smbsrv_request *req, struct smbsrv_tcon *tcon, int snum, uint32_t desired_access) { return True; } -BOOL init_names(void) -{ return True; } - /* * initialize an smb process */ @@ -62,14 +39,6 @@ void smbd_process_init(void) DEBUG(2,("Changed root to %s\n", lp_rootdir())); } - /* Setup oplocks */ - if (!init_oplocks()) - exit(1); - - /* Setup change notify */ - if (!init_change_notify()) - exit(1); - /* Start old-style secrets subsystem */ /* We must perform secrets_init(), as it sets up important @@ -132,8 +101,6 @@ BOOL reload_services(struct smbsrv_connection *smb, BOOL test) ret = lp_load(dyn_CONFIGFILE, False, False, True); - load_printers(); - /* perhaps the config filename is now set */ if (!test) reload_services(smb, True); @@ -142,9 +109,6 @@ BOOL reload_services(struct smbsrv_connection *smb, BOOL test) load_interfaces(); - mangle_reset_cache(); - reset_stat_cache(); - /* this forces service parameters to be flushed */ set_current_service(NULL,True); |