From d48382f9de8f780a4ae6b1fd0b32e3d46785f05b Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 13 Feb 2012 20:57:39 +0000 Subject: [PATCH] samba36: disable some unused modules git-svn-id: svn://svn.openwrt.org/openwrt/packages@30510 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/samba36/Makefile | 2 +- net/samba36/patches/250-remove_domain_logon.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/net/samba36/Makefile b/net/samba36/Makefile index edeb5fbba..2dacb318d 100644 --- a/net/samba36/Makefile +++ b/net/samba36/Makefile @@ -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= diff --git a/net/samba36/patches/250-remove_domain_logon.patch b/net/samba36/patches/250-remove_domain_logon.patch index 4a726ce7c..2db6524f6 100644 --- a/net/samba36/patches/250-remove_domain_logon.patch +++ b/net/samba36/patches/250-remove_domain_logon.patch @@ -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.