From: Felix Fietkau Date: Mon, 13 Feb 2012 20:57:39 +0000 (+0000) Subject: samba36: disable some unused modules X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=201c2e14d126acecf6436e37e8697f3dee00f4d8;p=openwrt%2Fsvn-archive%2Farchive.git samba36: disable some unused modules SVN-Revision: 30510 --- diff --git a/net/samba36/Makefile b/net/samba36/Makefile index edeb5fbba7..2dacb318d0 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 4a726ce7cd..2db6524f6b 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.