samba36: disable some unused modules

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30510 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-02-13 20:57:39 +00:00
parent fbf4719065
commit d48382f9de
2 changed files with 14 additions and 1 deletions

View File

@ -90,7 +90,7 @@ CONFIGURE_ARGS += \
--without-libsmbclient \
--without-libsmbsharemodes \
--without-libaddns \
--with-shared-modules=
--with-shared-modules=pdb_wbc_sam,idmap_nss,nss_info_template,auth_winbind,auth_wbc,auth_domain
MAKE_FLAGS += DYNEXP= PICFLAG= MODULES=

View File

@ -170,3 +170,16 @@
+#endif
return NT_STATUS_OK;
}
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2483,8 +2483,10 @@ static bool housekeeping_fn(const struct
/* check if we need to reload services */
check_reload(sconn, time_mono(NULL));
+#ifdef NETLOGON_SUPPORT
/* Change machine password if neccessary. */
attempt_machine_password_change();
+#endif
/*
* Force a log file check.