Summary: e-smith specific Samba configuration files and templates %define name e-smith-samba+ldap Name: %{name} %define version 1.15.1 %define release 5 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz Patch1: e-smith-samba-1.15.1-shadowfix.patch Patch2: e-smith-samba-1.15.1-hideprofile.patch Patch3: e-smith-samba-1.15.1-ldap.patch Patch4: e-smith-samba-1.14.1-unix_extensions.patch Patch5: e-smith-samba+ldap-1.15.1-machine_accounts_and_pass_sync.patch Patch6: e-smith-samba+ldap-1.15.1-merge_users_and_people.patch Obsoletes: e-smith-netlogon Obsoletes: e-smith-samba BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools >= 1.13.1-03 Obsoletes: e-smith-regedit Requires: e-smith-lib >= 1.16.0-10 Requires: e-smith-formmagick >= 1.4.0-9 Requires: samba >= 3.0.25b Requires: samba-client >= 3.0.25b Requires: samba-common >= 3.0.25b Obsoletes: e-smith-samba Provides: e-smith-samba = 1.15.1-01 AutoReqProv: no %changelog * Thu Jun 05 2008 Daniel B. 1.15.1-5 - use /etc/cpu-machine.conf to create machine accounts. [SME: 4396] * Tue Apr 22 2008 Daniel B. 1.15.1-4 - allow creation of machine accounts in ldap - sync samba passwords with ldap userPassword (replace unix password sync) * Sat Apr 19 2008 Shad L. Lords 1.15.1-3 - Disable unix extensions. [SME: 4164] * Mon Mar 31 2008 Shad L. Lords 1.15.1-2 - Hide normally hidden profile files [SME: 4082] - Fix shadowcopy with < 2 ibays/users [SME: 3862] * Mon Mar 17 2008 Sebastien F. 1.15.1-01sf01 - Add stuff to use ldap as samba backend. [SME: 1543] - update-domain-group-maps is no longer linked to bootstrap-console-save as ldap service is not yet launched during this event. As a solution, ldap-init-accounts action (from e-smith-base+ldap package) provide group maps initialization. - Add smbd sigusr1 handler to store ldap admin password in /etc/samba/secrets.tdb. * Mon Mar 17 2008 Sebastien F. 1.15.1-01 - Fork from e-smith-samba, as a new development stream. * Wed Feb 13 2008 Stephen Noble 1.14.1-4 - Remove tags now in general [SME: 3925] * Wed Jan 09 2008 Stephen Noble 1.14.1-3 - Allow browsable to be disabled per ibay [SME: 2966] * Sat Dec 15 2007 Shad L. Lords 1.14.1-2 - Only create admin group if Domain Admins exists [SME: 3646] * Sat Dec 15 2007 Shad L. Lords 1.14.1-1 - Roll new tarball and bump version for 3.0.25b version [SME: 3495] * Fri Dec 14 2007 Shad L. Lords 1.14.0-36 - admin user no longer needed in 3.0.25 [SME: 3645] * Fri Dec 14 2007 Shad L. Lords 1.14.0-35 - Expand smb.conf in group events to complete #33 [SME: 3495] - Add rid to groupmap command to fix 3.0.25b groupmap [SME: 3644] - Add pam.d/samba to fix broken upstream package [SME: 3641] * Fri Nov 30 2007 Gavin Weight 1.14.0-34 - Removed printer admin template. [SME: 3605] * Fri Oct 26 2007 Shad L. Lords 1.14.0-33 - Add "Domain Admins" to admin users [SME: 3495] * Thu Oct 11 2007 Charlie Brady 1.14.0-32 - Delete smbpasswd file prior to restore. [SME: 2313] * Wed Oct 10 2007 Charlie Brady 1.14.0-31 - Delete printer tdb file on printer delete. [SME: 3336] * Thu Jun 2 2007 Shad L. Lords 1.14.0-30 - revert last change. Breaks sme8 and is caught by pass check lib. * Sat Jun 2 2007 Shad L. Lords 1.14.0-29 - pam_unix requires passwords >= 6 [SME: 3039] * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Mon Apr 9 2007 Stephen Noble 1.14.0-28 - remove use client driver in smb.conf [SME: 1583] * Fri Feb 16 2007 Shad L. Lords 1.14.0-27 - Change runsvctrl to sv to support runit v1.7.x [SME: 1179] * Tue Jan 30 2007 Charlie Brady 1.14.0-26 - Use full path to 'net' command consistently in update-domain-group-maps. [SME: 2400] * Fri Jan 26 2007 Shad L. Lords 1.14.0-25 - Set ServerName to SystemName after inital configuration [SME: 543] * Thu Jan 25 2007 Shad L. Lords 1.14.0-24 - Allow oplocks to be disabled per ibay [SME: 543] - Allow veto oplock files per ibay [SME: 1784] * Thu Jan 25 2007 Shad L. Lords 1.14.0-23 - Disable csc policy for roaming profiles and make optional for ibays [SME: 1507] * Thu Jan 11 2007 Shad L. Lords 1.14.0-22 - Include admin in user groups. [SME: 1950] * Wed Jan 10 2007 Shad L. Lords 1.14.0-21 - Make smb fragment have same logic as copy script. * Wed Jan 10 2007 Shad L. Lords 1.14.0-20 - Initial attempt at shadow copy script. [SME: 1549] * Wed Jan 10 2007 Shad L. Lords 1.14.0-19 - Add success tick to workgroup panel. [SME: 1565] * Wed Jan 10 2007 Shad L. Lords 1.14.0-18 - Allow workgroup name be begin with numbers. [SME: 1607] * Sat Jan 06 2007 Shad L. Lords 1.14.0-17 - Rework vfs modules to allow more then just recycle bin to work. [SME: 1549] * Thu Jan 04 2007 Shad L. Lords 1.14.0-16 - Backup important tdb files. [SME: 2201] * Wed Jan 03 2007 Shad L. Lords 1.14.0-15 - Add template to specify logon drive. [SME: 1155] * Thu Dec 14 2006 Shad L. Lords 1.14.0-14 - Fix patch to map users to groups * Tue Dec 12 2006 Federico Simoncelli 1.14.0-13 - Modified the samba_check_password script to use the new validatePassword function in esmith::util. [SME: 2100] * Thu Dec 07 2006 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Thu Dec 07 2006 Shad L. Lords 1.14.0-12 - Don't delete samba database. Instead rename them. * Fri Dec 01 2006 Shad L. Lords 1.14.0-11 - Map user groups so roaming profiles work [SME: 1950] * Tue Aug 22 2006 Gordon Rowell 1.14.0-09 * Tue Nov 14 2006 Gordon Rowell 1.14.0-10 - Add Requires: samba{,-client,-common} to complete dependency tree [SME: 2062] * Tue Aug 22 2006 Gordon Rowell 1.14.0-09 - Added templates.metadata/etc/smb.conf so that expand-template /etc/smb.conf generates the file in /etc/samba/ [SME: 87] * Tue Jul 18 2006 Gordon Rowell 1.14.0-08 - Default smb ports to 139 only to reduce log noise [SME: 1562] * Thu Jun 29 2006 Shad L. Lords 1.14.0-07 - Remove samba caches if getlocalsid fails [SME: 1487] * Fri Jun 09 2006 Charlie Brady 1.14.0-06 - Fix case conversion in last change. [SME: 1523] * Fri Jun 09 2006 Charlie Brady 1.14.0-05 - Add password strength checking to password change via samba (thanks Federico Simoncelli and Filippo Carletti. [SME: 1523] * Wed May 31 2006 Gordon Rowell 1.14.0-04 - Remove -S flag from smbd so we get useful logs from Samba [SME: 1521] * Tue Apr 18 2006 Charlie Brady 1.14.0-03 - Clean up log noise from migrate fragment. [SME: 1257] - Clean up prep section of spec file (and renumber patches). * Mon Apr 10 2006 Gordon Rowell 1.14.0-02 - Ensure that Samba notices printer add/delete [SME: 1167] * Thu Mar 16 2006 Gordon Rowell 1.14.0-01 - Roll stable stream version. [SME: 1016] * Wed Mar 1 2006 Gordon Rowell 1.13.2-16 - Revert veto appletalk files change. The patch is still in the SPEC file so we can apply it later. [SME: 668] * Thu Feb 23 2006 Charlie Brady 1.13.2-15 - Fix problem with creating user profile dir. [SME: 761,874] * Tue Feb 21 2006 Gordon Rowell 1.13.2-14 - Relocate netlogon.bat from old location in post, not pre [SME: 768] - Remove empty /home/netlogon directory, if we can [SME: 768] * Fri Feb 17 2006 Gavin Weight 1.13.2-13 - Fix Roaming profiles strange permissions problem. [SME: 761] * Thu Feb 16 2006 Gavin Weight 1.13.2-12 - Added veto files line. [SME: 668] * Sat Feb 4 2006 Gordon Rowell 1.13.2-11 - Adjusted passwd chat [SME: 652] * Wed Jan 25 2006 Gordon Rowell 1.13.2-10 - Add passwd and passwd chat definition so that password sync works [SME: 565] * Wed Jan 25 2006 Gordon Rowell 1.13.2-09 - Fix logic in last change w.r.t. KeepVersions [SME: 429] - Add default smb{KeepVersions} == disabled [SME: 429] * Tue Jan 24 2006 Gordon Rowell 1.13.2-08 - Add fragment to add recycle bin if smb{RecycleBin} == enabled [SME: 429] - Default smb{RecycleBin} == disabled [SME: 429] * Wed Dec 14 2005 Gordon Rowell 1.13.2-07 - Default smb{OpLocks} == enabled. Setting it to disabled will disable oplocks [SME: 318] * Mon Dec 05 2005 Filippo Carletti 1.13.2-06 - Better smb.conf readability [SME067] * Wed Nov 30 2005 Gordon Rowell 1.13.2-05 - Bump release number only * Sun Nov 20 2005 Gordon Rowell - [1.13.2-04] - Correct typo and escape the $ in [print$] in last fix [SF: 1357840] * Tue Nov 15 2005 Gordon Rowell - [1.13.2-03] - Create and use default for smb{UseClientDriver} [SF: 1357840] * Tue Nov 15 2005 Gordon Rowell - [1.13.2-02] - Change browsable -> browseable for consistency [SF: 1357840] * Fri Oct 14 2005 Gordon Rowell - [1.13.2-01] - Remove L10Ns from base packages [SF: 1309520] * Fri Oct 14 2005 Gordon Rowell - [1.13.1-01] - New dev stream before relocating L10Ns * Fri Sep 30 2005 Gordon Rowell - [1.13.0-28] - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] * Mon Sep 26 2005 Gordon Rowell - [1.13.0-27] - Added German L10N - Thanks Dietmar Berteld [SF: 1293325] * Mon Sep 19 2005 Charlie Brady - [1.13.0-26] - Fix hosts allow specification. [SF: 1295752] * Tue Aug 9 2005 Charlie Brady - [1.13.0-25] - Roll in content from e-smith-regedit, and obsolete it. * Tue Aug 2 2005 Charlie Brady - [1.13.0-24] - Remove redundent and deprecated use of esmith::config and esmith::db from action scripts. * Tue Aug 2 2005 Shad Lords - [1.13.0-23] - Add TCPPorts/UDPPorts and access to smbd/nmbd [SF: 1246986] * Tue Jul 19 2005 Charlie Brady - [1.13.0-22] - Fix missing comma [SF: 1216546] * Mon Jul 18 2005 Charlie Brady - [1.13.0-21] - Avoid use of deprecated tie interface to accounts db. Use "config" rather than "db" to fetch status in run script. [SF: 1216546] * Mon Jul 18 2005 Charlie Brady - [1.13.0-20] - Charset changes from Gordon: on new installs, default to UTF8. - Default smb{UnixCharSet} == UTF8 - If smb record exists (i.e. upgrade), but UnixCharSet is not defined, set it to ISO8859-1 to maintain filenames on upgrade [SF: 1204695] * Wed Jun 15 2005 Charlie Brady - [1.13.0-19] - Restart nmbd during workgroup-update event. [SF: 1220928] * Tue Apr 19 2005 Charlie Brady - [1.13.0-18] - Need to open accounts db r/w in create-machine-account script. * Thu Mar 31 2005 Charlie Brady - [1.13.0-17] - Fix missing "use" in create-machine-account script. * Thu Mar 17 2005 Charlie Brady - [1.13.0-16] - Last fix was wrong. Real problem was typo in default property setup. - Remove redundent restart-samba action. * Wed Mar 16 2005 Charlie Brady - [1.13.0-15] - Fix typo in workgroup property lookup in workgroup panel. * Sun Mar 13 2005 Charlie Brady - [1.13.0-14] - Group mapping fix from Shad. [MN00070553] * Fri Mar 11 2005 Charlie Brady - [1.13.0-13] - Add service entries for smbd and nmbd, which slave their own status from the smb entry. This allows the generic service restart stuff to work. [MN00065576] - Fix dangling restart-dhcpd symlink. [MN00064130] * Wed Feb 23 2005 Charlie Brady - [1.13.0-12] - Unify the three group mapping scripts into one. [MN00070553] * Tue Feb 22 2005 Charlie Brady - [1.13.0-11] - Fix template expansion location of smb.conf [MN00063515] * Tue Feb 22 2005 Charlie Brady - [1.13.0-10] - Fix typo in post scriptlet. [MN00063515] * Tue Feb 22 2005 Charlie Brady - [1.13.0-09] - Add domain group mapping, contributed by Shad/Greg. [MN00070553] - Remove anachronisms in create-machine-account script. * Fri Feb 18 2005 Charlie Brady - [1.13.0-08] - Fix small template breakages if $LocalIP is not defined. - Fix warnings from post install script. [MN00070549] - Remove obsolete "domain admin group" entry from /etc/smb.conf template. [MN00063515] - Revert to standard /etc/samba/smb.conf location for config file. [MN00063515] * Fri Feb 18 2005 Charlie Brady - [1.13.0-07] - Fix various smb.conf template expansion probs. [MN00063515] * Fri Feb 18 2005 Charlie Brady - [1.13.0-06] - Fix typo in template fragment. Commit new files omitted from previous checkin in error. [MN00063515] * Thu Feb 17 2005 Charlie Brady - [1.13.0-05] - Update samba configuration to use samba 3 features. Update to current APIs. [MN00063515] - Start nmbd before smbd. [MN00070113] * Thu Feb 17 2005 Charlie Brady - [1.13.0-04] - Use defaults mechanism to initialise database entries, and migrate fragment to convert from deprecated db entries to current style Obsolete conf-netlogon script. [MN00062545] - Use generic_template_expand action where possible, in place of specific actions. Update e-smith-lib dependency. [MN00064130] - Use generic service adjust action for reload/restart. [MN00065576] * Mon Feb 7 2005 Charlie Brady - [1.13.0-03] - Run smbd and nmbd's multilogs as smelog user. [MN00063836] * Thu Feb 5 2004 Michael Soulier - [1.13.0-02] - Updated build dependencies. [msoulier 10992] * Wed Feb 4 2004 Michael Soulier - [1.13.0-01] - rolling to dev - 1.13.0 * Wed Feb 4 2004 Michael Soulier - [1.12.0-01] - rolling to stable - 1.12.0 * Wed Feb 4 2004 Mark Knox - [1.11.0-16] - Include rc1.d/K35smb symlink for proper shutdown in single user mode [markk 10958] * Tue Nov 25 2003 Michael Soulier - [1.11.0-15] - Removing client driver option, to move to [printers] section. [msoulier 10623] * Mon Nov 17 2003 Michael Soulier - [1.11.0-14] - Rolling again to pick up genfilelist change. [msoulier 10648] * Mon Nov 17 2003 Michael Soulier - [1.11.0-13] - Moved the e-smith-smb script to supervise/smb, to plan ahead. [msoulier 6442] * Mon Nov 17 2003 Michael Soulier - [1.11.0-12] - Stopped sourcing /etc/sysconfig/samba, and fixed a syntax error in the initscript. [msoulier 6442] * Mon Nov 17 2003 Michael Soulier - [1.11.0-11] - Rollback on serviceControl-using scripts. They were not broken. [msoulier 6442] * Mon Nov 17 2003 Michael Soulier - [1.11.0-10] - Changed the action script code for the new initscript. [msoulier 6442] * Mon Nov 17 2003 Michael Soulier - [1.11.0-09] - Tweaked the smbd run script, and e-smith-smb. [msoulier 6442] * Mon Nov 17 2003 Michael Soulier - [1.11.0-08] - Added e-smith-smb wrapper to manage both services. [msoulier 6442] * Sun Nov 16 2003 Michael Soulier - [1.11.0-07] - Added run files for multilog. [msoulier 6442] * Sun Nov 16 2003 Michael Soulier - [1.11.0-06] - Fixing broken specfile resulting in near-empty filelist. [msoulier 6442] * Fri Nov 14 2003 Michael Soulier - [1.11.0-05] - Added supervision of smbd and nmbd. First attempt. [msoulier 6442] - Updated createlinks script for new build library. * Fri Nov 14 2003 Michael Soulier - [1.11.0-04] - Added "use client driver" to printer conf. [msoulier 10623] * Fri Nov 7 2003 Michael Soulier - [1.11.0-03] - *sigh* Really added this time. TGIF. [msoulier 10486] * Fri Nov 7 2003 Michael Soulier - [1.11.0-02] - Added a "deadtime" option to kill connections, by default, after one week if they are no longer active. [msoulier 10486] * Fri Nov 7 2003 Michael Soulier - [1.11.0-01] - rolling to dev stream - 1.11.0 * Thu Sep 11 2003 Gordon Rowell - [1.10.0-04] - Relocated /etc/secrets.tdb to /etc/samba [gordonr 9759] * Wed Sep 10 2003 Gordon Rowell - [1.10.0-03] - Always return "logon path" line, so that we return "logon path =" if roaming profiles are off [gordonr 9913] * Wed Jul 2 2003 Gordon Rowell - [1.10.0-02] - Use samba defaults for preferred master and local master [gordonr 9208] - Turn on wins support if we are the domain master [gordonr 9208] * Thu Jun 26 2003 Charlie Brady - [1.10.0-01] - Changing version to stable stream number - 1.10.0 * Wed Jun 18 2003 Gordon Rowell - [1.9.0-32] - Fix confusion in smb{DomainMaster} w.r.t. netlogons [gordonr 9064] * Thu Jun 12 2003 Gordon Rowell - [1.9.0-31] - Added missing 02setupDomainMaster [gordonr 5053] - Corrected 11winsServer to deal with WINSServer == me [gordonr 5053] * Fri May 30 2003 Michael Soulier - [1.9.0-30] - Removed dangling symlink to conf-samba-startup. [msoulier 8808] * Wed May 28 2003 Gordon Rowell - [1.9.0-29] - Move smbpasswd file to /etc/samba/smbpasswd [gordonr 8747] * Mon May 26 2003 Charlie Brady - [1.9.0-28] - Added 'type' default fragment for the smb service. [charlieb 8785] * Wed May 21 2003 Lijie Deng - [1.9.0-27] - fix en-us, fr and es roaming profile text [lijied 5311] * Tue May 20 2003 Gordon Rowell - [1.9.0-26] - Don't worry if the use doesn't have a profile directory [gordonr 6414] * Tue May 20 2003 Michael Soulier - [1.9.0-25] - Added a defaults fragment. [msoulier 8785] - Removed conf-samba-startup. [msoulier 8785] * Thu May 15 2003 Gordon Rowell - [1.9.0-24] - Made use of esmith::ConfigDB::wins_server [gordonr 5053] * Tue May 13 2003 Gordon Rowell - [1.9.0-23] - Rationalised smb{WINSServer} and smb{DomainMaster} handling [gordonr 5053] * Tue May 6 2003 Lijie Deng - [1.9.0-22] - Add Spanish lexicon for workgroup [lijied 3793] * Mon Apr 14 2003 Gordon Rowell - [1.9.0-21] - preferred master should not be set if WINSServer is set [gordonr 6849] * Mon Apr 14 2003 Lijie Deng - [1.9.0-20] - Limited the workgroup name to 15 characters [lijied 4971] * Fri Apr 11 2003 Lijie Deng - [1.9.0-19] - Changed workgroup and servername to lower case again [lijied 7371] * Wed Apr 9 2003 Michael Soulier - [1.9.0-18] - Fixed french lexicon for workgroup question. [msoulier 5311] * Wed Apr 9 2003 Lijie Deng - [1.9.0-17] - Changed workgroup and servername to lower case before validation and storage [lijied 7371] * Mon Apr 7 2003 Gordon Rowell - [1.9.0-16] - Create new netlogon directory before trying to relocate netlogon.bat [gordonr 8060] * Thu Apr 3 2003 Lijie Deng - [1.9.0-15] - Removed Mitel Networks branding [lijied 8016] * Tue Apr 1 2003 Gordon Rowell - [1.9.0-14] - Fix c&p error in %pre [gordonr 5241] * Tue Apr 1 2003 Gordon Rowell - [1.9.0-13] - Do the relocation in the SPEC file so we don't have a stray directory [gordonr 5241] * Tue Apr 1 2003 Gordon Rowell - [1.9.0-12] - Relocate netlogon.bat -> /home/e-smith/files/samba/netlogon/netlogon.bat [gordonr 5241] * Tue Apr 1 2003 Gordon Rowell - [1.9.0-11] - Removed conf-dhcpd symlinks - now done in run script [gordonr 7771] * Fri Mar 28 2003 Michael Soulier - [1.9.0-10] - Re-worded the text in the workgroup panel. [msoulier 5311] - Added french translation of that re-wording. [msoulier 5311] * Fri Mar 28 2003 Lijie Deng - [1.9.0-09] - Modified French lexicon to use lang="fr", rename the lexicon directory to fr [lijied 6787] * Tue Mar 11 2003 Mike Dickson - [1.9.0-08] - restricted length of workgroup entry to 15 characters [miked 4388] * Thu Mar 6 2003 Lijie Deng - [1.9.0-07] - Modified workgroup panel order [lijied 7356] * Wed Mar 5 2003 Lijie Deng - [1.9.0-06] - Split en-us lexicon from workgroup panel [lijied 4030] * Fri Feb 28 2003 Lijie Deng - [1.9.0-05] - Added French lexicon for workgroup. [lijied 5003] * Wed Jan 29 2003 Charlie Brady - [1.9.0-04] - Delete obsolete special case "primary" fragment in smb.conf. [charlieb 5652] * Thu Jan 2 2003 Gordon Rowell - [1.9.0-03] - Split conf-samba-startup from e-smith-base/conf-startup - Relocated reload-samba from e-smith-base [gordonr 5509] * Mon Dec 9 2002 Mike Dickson - [1.9.0-02] - updates for new UI [miked 5494] * Wed Nov 20 2002 Mike Dickson - [1.9.0-01] - Changing to development stream; version upped to 1.9.0 * Fri Oct 11 2002 Charlie Brady - [1.8.0-01] - Roll to maintained version number to 1.8.0 * Tue Oct 8 2002 Mark Knox - [1.7.2-08] - Removed stray DESCRIPTION tag from panel [markk 5135] * Thu Sep 19 2002 Charlie Brady - [1.7.2-07] - Fix i-bay section of smb.conf template [charlieb 4949] * Fri Sep 13 2002 Gordon Rowell - [1.7.2-06] - Allow smb|WINSServerOverride property which is automagically pushed into the smb|WINSServer property before expanding Samba templates [gordonr 4590] * Fri Sep 13 2002 Gordon Rowell - [1.7.2-05] - Allow domain master setting if smb|WINSServer set to this box [gordonr 4840] * Tue Sep 10 2002 Mark Knox - [1.7.2-04] - Minor refactoring of the last change [markk 3786] * Tue Sep 10 2002 Mark Knox - [1.7.2-03] - Remove deprecated split on pipe [markk 3786] * Fri Aug 23 2002 Charlie Brady - [1.7.2-02] - Add -M flag to useradd, to prevent creation of /noexistingpath [charlieb 4660] * Wed Aug 7 2002 Charlie Brady - [1.7.2-01] - Change default for oplocks from false to true, and add enable of kernel oplocks (although it's the default anyway. [charlieb 4520] * Wed Jul 31 2002 Charlie Brady - [1.7.1-01] - Use PAM password change rather than external passwd program and chat script. [charlieb 4433] * Wed Jun 5 2002 Charlie Brady - [1.7.0-01] - Changing version to maintained stream number to 1.7.0 * Mon Jun 3 2002 Charlie Brady - [1.6.2-01] - Add "pid directory" template fragment to smb.conf, to make samba 2.2.4 happy (it otherwise wants to use the non-existent /var/run/samba). [charlie 3685] * Mon Jun 3 2002 Charlie Brady - [1.6.1-01] - Revert the posix locking change to the Profile share. We have rebuilt samba 2.2.4 under the 2.2.19 kernel as a better fix to the locking problem. [charlie 3685] * Mon Jun 3 2002 Charlie Brady - [1.6.0-01] - Changing version to maintained stream number to 1.6.0 * Thu May 30 2002 Charlie Brady - [1.5.11-01] - Disable posix locking for the Profile share, as a workaround for some locking wierdness with Win2K when saving roaming profiles. [charlie 3685] * Tue May 28 2002 Kirrily Robert - [1.5.10-01] - Fixed servername validation so dots are not allowed [skud 3695] * Thu May 23 2002 Gordon Rowell - [1.5.8-01] - RPM rebuild forced by cvsroot2rpm * Thu May 23 2002 Charlie Brady - [1.5.7-01] - Update workgroup panel test code to no longer refer to legacy Samba* config entries. [charlieb 3160] * Wed May 22 2002 Charlie Brady - [1.5.6-01] - Migrate obsolete Samba{DomainMaster,Workgroup,ServerName} settings in conf-samba then delete any of these if found. [charlieb 3160] * Tue May 7 2002 Gordon Rowell - [1.5.5-01] - Further rework of the 11logon{Home,Path} fragments to allow setting of smb|LogonPath and smb|LogonHome without having to choose smb|RoamingProfiles [gordonr 3072] * Mon May 6 2002 Gordon Rowell - [1.5.4-01] - Localise SAVE button [gordonr 3220] - Added nav bar entries [gordonr 3155] * Fri May 3 2002 Charlie Brady - [1.5.3-01] - Woops, create empty /etc/e-smith/tests in %build. [charlieb 3343] * Fri May 3 2002 Charlie Brady - [1.5.2-01] - Remove /etc/e-smith/tests/.dummy, and instead create empty /etc/e-smith/tests in %build. [charlieb 3343] * Wed May 1 2002 Gordon Rowell - [1.5.1-01] - restart-nmbd should exit 0 nicely if smb service is disabled [gordonr 3325] * Mon Apr 29 2002 Gordon Rowell - [1.5.0-01] - Rolling to development stream - Always set up logon home and logon path. The Samba defaults are not particularly useful, and we want them to be defined to empty if not defined in the config db and we are not domain master [gordonr 3072] * Wed Apr 17 2002 Adrian Chung - [1.4.2-01] - Stop workgroup panel from getting and setting old legacy Samba* values. - Panel now gets/sets 'smb' properties. * Mon Apr 15 2002 Gordon Rowell - [1.4.1-01] - Language en->en-us * Wed Apr 10 2002 Adrian Chung - [1.4.0-01] - Remerging text change for domain controller setting into i18n'd panel. [mac #3020] * Wed Apr 10 2002 Kirrily Robert - [1.3.9-01] - Added i18n'd workgroup panel [skud #3032] * Tue Apr 9 2002 Adrian Chung - [1.3.8-01] - Change quoting of %u to use single quotes in addUserScript template for smb.conf. [adrianc #3023] * Wed Apr 3 2002 Adrian Chung - [1.3.7-01] - Quote %u in add user script directive in smb.conf and remove unnecessary first line. [adrianc #3023] * Tue Apr 02 2002 Gordon Rowell - [1.3.6-01] - D'Oh sama -> samba * Tue Apr 02 2002 Gordon Rowell - [1.3.5-01] - Create missing profiles and printer driver directories * Tue Apr 02 2002 Gordon Rowell - [1.3.4-01] - fix restart-nmbd to still start if it can't be stopped [tonyc #2764] * Tue Mar 26 2002 Adrian Chung - [1.3.3-01] - Modify text in web panel to say "leave set to default, or no if another server is already performing this function" with respect to domain master setting. [mac - #3020] * Tue Mar 12 2002 Adrian Chung - [1.3.2-01] - Make WINSServer property override value for DomainMaster, PreferredMaster, and LocalMaster. * Tue Mar 12 2002 Adrian Chung - [1.3.1-01] - rollRPM: Rolled version number to 1.3.1-01. Includes patches up to 1.3.0-02. * Fri Feb 15 2002 Charlie Brady - [1.3.0-02] - Migrate Samba* configuration items to properties of the smb service. * Thu Feb 14 2002 Charlie Brady - [1.3.0-01] - rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-02. * Thu Jan 03 2002 Charlie Brady - [1.2.0-02] - Reconfigure and restart dhcpd in workgroup update event, in case a WINS server has been added. See #2364. - Purge prep section of lots of stuff which is no longer required since the rollRPM. * Tue Dec 11 2001 Jason Miller - [1.2.0-01] - rollRPM: Rolled version number to 1.2.0-01. Includes patches up to 1.1.0-34. * Tue Dec 4 2001 Adrian Chung - [1.1.0-34] - Adding workgroup panel, removed from e-smith-base. - Minor text change, s/a Windows server/another server * Mon Dec 03 2001 Charlie Brady - [1.1.0-33] - Add conf-samba back into post-install event. Required for initial password set. * Fri Nov 30 2001 Gordon Rowell - [1.1.0-32] - Check for user-deleted type in user-delete-profiledir * Fri Nov 30 2001 Gordon Rowell - [1.1.0-31] - Extra slosh required in 11logonPath * Fri Nov 30 2001 Gordon Rowell - [1.1.0-30] - Changed group of profiles parent directory to shared to make it searchable - Replaced %N (NIS server) with %L (Netbios name) in 11logon{Home,Path} - Reinstated [profiles] share and change logon path to use it - Added action to user-{create,delete} to add/remove the profile subdirectory - Added action to post-upgrade to create profiles for existing users - New smb property RoamingProfiles - defaulting to "no" in conf-samba, which disables logon {home,path} and [profiles] share * Wed Nov 28 2001 Gordon Rowell - [1.1.0-29] - Reduced "printer admin" and "domain admin group" to the "admin" user * Tue Nov 27 2001 Charlie Brady - [1.1.0-28] - Undo the "Adminstrator" => "admin" mapping - Remove smb.conf fragment which adds reference to smbusers - Replace smbusers fragment so that the file now says "# this file is not used". * Mon Nov 26 2001 Gordon Rowell - [1.1.0-27] - Remove /etc/smbusers - created empty in init-passwords, but never used until now * Mon Nov 26 2001 Gordon Rowell - [1.1.0-26] - Templated /etc/samba/smbusers - Map "Administrator" for domain logons -> admin - Note: a local (non-domain) logon still gets treated/ignored as guest - The property smb|AdminstratorAccount (default Administrator) can be used to specify an alternate Administrator account when that account is renamed on the Win* clients * Tue Nov 20 2001 Gordon Rowell - [1.1.0-25] - Make printer$ share writable in the normal way, restricted by Unix permissions (admin:admin) * Tue Nov 20 2001 Gordon Rowell - [1.1.0-24] - Make /etc/smbpasswd 0600,admin,root - allows "admin" to join domains - create-machine-account: SUID/SGID root - the script is called as "admin" by Samba, but needs to be "root" to add Unix accounts - create-machine-account: setRealToEffective really become root or locking the Unix account fails with "Only root can do that" - create-machine-account: Auto-create machine account in accounts database. This should be fixed by allowing admin to write to the db fragments * Mon Nov 19 2001 Gordon Rowell - [1.1.0-23] - Added extra slosh to strings in 11logon{Home,Path} and fixed c&p typo * Mon Nov 19 2001 Gordon Rowell - [1.1.0-22] - Check for smb|...|LogonHome and smb|...|LogonPath in those fragments Default to ~/._winprofile as before, but allow overrides, for example set to empty for local profiles. 4.1.2+e-smith-netlogon and 5.0 both defaulted to roaming profiles - Explicitly return an empty string from some fragments if $SambaDomainMaster=no, just to be tidy - Used new e-smith-devtools to set /home/e-smith/files/samba to 02755,admin,admin and removed explicit chmod from prep * Thu Nov 15 2001 Gordon Rowell - [1.1.0-21] - Commented out code in create-machine-account which called smbpasswd. - Samba does this by itself, but we may want to enable it later if this script is ever called outside Samba. * Wed Nov 14 2001 Gordon Rowell - [1.1.0-20] - Moved profiles to ~user/._winprofile - somewhat better that .profile :-) - Commented out [Profiles] share, since we are no longer using it * Wed Nov 14 2001 Gordon Rowell - [1.1.0-19] - Made printer driver directories 0755, per "Samba Unleashed" * Wed Nov 14 2001 Gordon Rowell - [1.1.0-18] - Removed conf-samba from post-install - done in bootstrap-console-save - Moved all profiles (Win9x and WinNT/2K) under ~user/.profile - Rewrote machine-account-create as an event - Note: Unfortunately Samba currently requires the user "root" to create machine accounts (i.e. enter "root" as the user on the client machine) A SUID script allows 'admin' to do all of the tasks, but the client gets: "Unable to add or change accounts on the domain. The account information entered does not grant sufficient privilege to create or change accounts". - Made printer driver directories world-writable * Mon Nov 12 2001 Gordon Rowell - [1.1.0-17] - %L (logon server) -> %N (this server) in 11logonPath (as for 11logonHome) * Mon Nov 12 2001 Gordon Rowell - [1.1.0-16] - Swapped 11logon{Home,Path}, added extra backslashes - thanks Greg Zartman and others * Fri Nov 9 2001 Gordon Rowell - [1.1.0-15] - Left-justified output - Removed some redundant use esmith::db lines and implied "return" statements * Fri Nov 2 2001 Gordon Rowell - [1.1.0-14] - Suppressed more comments from output file - Renamed all [global] fragments to 11* * Fri Nov 2 2001 Gordon Rowell - [1.1.0-13] - Hid all commented-out parameters from output file (remove fragments later) - Removed more comments from output file - Unified indentation * Thu Nov 1 2001 Gordon Rowell - [1.1.0-12] - Added 11level2Oplocks fragment to disable level2 oplocks - Removed "share modes" options from [netlogon] share and cleaned up template * Thu Nov 1 2001 Gordon Rowell - [1.1.0-11] - Added 61Profilesshare fragment * Thu Nov 1 2001 Gordon Rowell - [1.1.0-10] - Removed netlogon comments from output file * Thu Nov 1 2001 Gordon Rowell - [1.1.0-09] - Protect logon {home,path} with hard quotes and indent to match others * Thu Nov 1 2001 Gordon Rowell - [1.1.0-08] - Added printers and profiles directories - Need to verify permissions on these directories, Darrell had 777 for all * Thu Nov 1 2001 Gordon Rowell - [1.1.0-07] - Merged in changes from dmc-mitel-samba-2.2.2-0 - Thanks Darrell May - Moved machine-account-create from e-smith-base * Thu Nov 1 2001 Gordon Rowell - [1.1.0-06] - Merged (and Obsoleted) e-smith-netlogon * Thu Nov 1 2001 Gordon Rowell - [1.1.0-05] - guest ok = no, map to guest = never * Mon Oct 22 2001 Charlie Brady - [1.1.0-04] - Add action scripts and workgroup web panel plus associated symlinks * Thu Oct 4 2001 Gordon Rowell - [1.1.0-03] - Removed comments from output file * Thu Oct 4 2001 Gordon Rowell - [1.1.0-02] - Removed template-{begin,end} * Thu Oct 4 2001 Gordon Rowell - [1.1.0-01] - Split from e-smith-base - This version only contains the smb.conf template fragments %description Configuration files and templates for the Samba daemon. %prep %setup %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build mkdir -p root/etc/e-smith/tests perl createlinks # Manage supervise and multilog for smbd. mkdir -p root/service ln -s ../var/service/smbd root/service/smbd mkdir -p root/var/service/smbd/supervise touch root/var/service/smbd/down mkdir -p root/var/service/smbd/log/supervise mkdir -p root/var/log/smbd # Manage supervise and multilog for nmbd. mkdir -p root/service ln -s ../var/service/nmbd root/service/nmbd mkdir -p root/var/service/nmbd/supervise touch root/var/service/nmbd/down mkdir -p root/var/service/nmbd/log/supervise mkdir -p root/var/log/nmbd # Make storage point for shadowcopies mkdir -p root/home/e-smith/files/.shadow touch root/etc/e-smith/templates/etc/smb.conf/ibays/template-begin %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist \ --dir '/var/service/smbd' 'attr(1755,root,root)' \ --file '/var/service/smbd/down' 'attr(0644,root,root)' \ --file '/var/service/smbd/run' 'attr(0755,root,root)' \ --dir '/var/service/smbd/control' 'attr(0750,root,root)' \ --file '/var/service/smbd/control/1' 'attr(0750,root,root)' \ --dir '/var/service/smbd/supervise' 'attr(0700,root,root)' \ --dir '/var/service/smbd/log' 'attr(1755,root,root)' \ --file '/var/service/smbd/log/run' 'attr(0755,root,root)' \ --dir '/var/log/smbd' 'attr(2750,smelog,smelog)' \ --dir '/var/service/nmbd' 'attr(1755,root,root)' \ --file '/var/service/nmbd/down' 'attr(0644,root,root)' \ --file '/var/service/nmbd/run' 'attr(0755,root,root)' \ --dir '/var/service/nmbd/supervise' 'attr(0700,root,root)' \ --dir '/var/service/nmbd/log' 'attr(1755,root,root)' \ --file '/var/service/nmbd/log/run' 'attr(0755,root,root)' \ --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \ --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \ $RPM_BUILD_ROOT \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %post if [ -f /home/netlogon/netlogon.bat ] then mkdir -p /home/e-smith/files/samba/netlogon mv /home/netlogon/netlogon.bat \ /home/e-smith/files/samba/netlogon/netlogon.bat rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" fi # Revert to canonical place for smb.conf if [ -f /etc/smb.conf ] then rm /etc/smb.conf ln -s /etc/samba/smb.conf /etc/smb.conf fi if [ -L /etc/samba/smb.conf ] then rm /etc/samba/smb.conf fi if [ -f /etc/smbusers ] then rm /etc/smbusers fi if [ -f /etc/samba/smbpasswd ] then /bin/chown admin.root /etc/samba/smbpasswd fi chown -R smelog.smelog /var/log/{smbd,nmbd} %files -f %{name}-%{version}-filelist %defattr(-,root,root)