summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/basic.mk2
-rw-r--r--source4/smbd/process.c5
2 files changed, 0 insertions, 7 deletions
diff --git a/source4/lib/basic.mk b/source4/lib/basic.mk
index 55254498d9..698c09a563 100644
--- a/source4/lib/basic.mk
+++ b/source4/lib/basic.mk
@@ -45,11 +45,9 @@ ADD_OBJ_FILES = \
lib/smbpasswd.o \
lib/pam_errors.o \
intl/lang_tdb.o \
- lib/account_pol.o \
lib/gencache.o \
lib/module.o \
lib/mutex.o \
- lib/ldap_escape.o \
lib/events.o \
lib/crypto/crc32.o \
lib/crypto/md5.o \
diff --git a/source4/smbd/process.c b/source4/smbd/process.c
index 7094364bde..8a79daeaf8 100644
--- a/source4/smbd/process.c
+++ b/source4/smbd/process.c
@@ -46,11 +46,6 @@ void smbd_process_init(void)
/* possibly reload the services file. */
reload_services(NULL, True);
- if (!init_account_policy()) {
- DEBUG(0,("Could not open account policy tdb.\n"));
- exit(1);
- }
-
if (*lp_rootdir()) {
if (sys_chroot(lp_rootdir()) == 0)
DEBUG(2,("Changed root to %s\n", lp_rootdir()));