summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-24 20:52:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:12 -0500
commit2fbe37362f6c5835dc11b1d95b27ced6bfa5a513 (patch)
treecd9619895f40085f9132c831cc090c470c63b335 /source4
parent69e40486f98e49cb9fbfd7d4816c8074ed3f786a (diff)
downloadsamba-2fbe37362f6c5835dc11b1d95b27ced6bfa5a513.tar.gz
samba-2fbe37362f6c5835dc11b1d95b27ced6bfa5a513.tar.bz2
samba-2fbe37362f6c5835dc11b1d95b27ced6bfa5a513.zip
r858: - remove unused account policy stuff it's in our sam.ldb now:-)
- don't link lib/ldap_escape.c it's currently unused metze (This used to be commit be472beea3a7ae60cbacada8047b13d4de30643e)
Diffstat (limited to 'source4')
-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()));