r858: - remove unused account policy stuff it's in our sam.ldb now:-)
authorStefan Metzmacher <metze@samba.org>
Mon, 24 May 2004 20:52:03 +0000 (20:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:12 +0000 (12:56 -0500)
- don't link lib/ldap_escape.c it's currently unused

metze
(This used to be commit be472beea3a7ae60cbacada8047b13d4de30643e)

source4/lib/basic.mk
source4/smbd/process.c

index 55254498d9b045c047d4964dc211cbe347bdb82d..698c09a563565b346cad9f0bdcd534a81ece3781 100644 (file)
@@ -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 \
index 7094364bde3e9403e12951bbfa358585f3a3aed1..8a79daeaf8f732616818d23ca9394540fc2586bd 100644 (file)
@@ -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()));