1 %define initdir %{_sysconfdir}/rc.d/init.d
2 %define auth %(test -f /etc/pam.d/system-auth && echo /etc/pam.d/system-auth || echo)
4 Summary: The Samba SMB server.
8 License: GNU GPL Version 2
9 Group: System Environment/Daemons
10 URL: http://www.samba.org/
12 Source: ftp://www.samba.org/pub/samba/%{name}-%{version}.tar.bz2
14 # Red Hat specific replacement-files
18 Source4: samba.sysconfig
24 # Don't depend on Net::LDAP
25 Source999: filter-requires-samba.sh
29 Requires: pam >= 0.64 %{auth} samba-common = %{version}
30 Requires: logrotate >= 3.4 initscripts >= 5.54-1
31 BuildRoot: %{_tmppath}/%{name}-%{version}-root
32 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
33 Prereq: fileutils sed /etc/init.d
34 BuildRequires: pam-devel, readline-devel, ncurses-devel, fileutils, libacl-devel, openldap-devel, krb5-devel
37 # Working around perl dependency problem from docs
38 %define __perl_requires %{SOURCE999}
41 Samba is the protocol by which a lot of PC-related machines share
42 files, printers, and other information (such as lists of available
43 files and printers). The Windows NT, OS/2, and Linux operating systems
44 support this natively, and add-on packages can enable the same thing
45 for DOS, Windows, VMS, UNIX of all kinds, MVS, and more. This package
46 provides an SMB server that can be used to provide network services to
47 SMB (sometimes called "Lan Manager") clients. Samba uses NetBIOS over
48 TCP/IP (NetBT) protocols and does NOT need the NetBEUI (Microsoft Raw
49 NetBIOS frame) protocol.
52 Summary: Samba (SMB) client programs.
53 Group: Applications/System
54 Requires: samba-common = %{version}
58 The samba-client package provides some SMB clients to compliment the
59 built-in SMB filesystem in Linux. These clients allow access of SMB
60 shares and printing to SMB printers.
63 Summary: Files used by both Samba servers and clients.
64 Group: Applications/System
67 Samba-common provides files necessary for both the server and client
71 Summary: The Samba SMB server configuration program.
72 Group: Applications/System
73 Requires: samba = %{version} xinetd
76 The samba-swat package includes the new SWAT (Samba Web Administration
77 Tool), for remotely managing Samba's smb.conf file using your favorite
83 # copy Red Hat specific scripts
84 cp %{SOURCE5} packaging/Fedora/
85 cp %{SOURCE6} packaging/Fedora/
86 cp %{SOURCE7} packaging/Fedora/
87 cp %{SOURCE8} packaging/Fedora/winbind.init
93 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
96 libtoolize --copy --force # get it to recognize IA-64
99 EXTRA="-D_LARGEFILE64_SOURCE"
102 ## run autogen if missing the configure script
103 if [ ! -f "configure" ]; then
107 CFLAGS="$RPM_OPT_FLAGS" ./configure \
108 --prefix=%{_prefix} \
109 --localstatedir=/var \
111 --with-privatedir=%{_sysconfdir}/samba \
119 --with-sambabook=%{_datadir}/swat/using_samba \
120 --with-swatdir=%{_datadir}/swat \
121 --with-libsmbclient \
125 make %{?_smp_mflags} all nsswitch/libnss_wins.so debug2html
129 rm -rf $RPM_BUILD_ROOT
131 mkdir -p $RPM_BUILD_ROOT/sbin
132 mkdir -p $RPM_BUILD_ROOT/usr/{sbin,bin}
133 mkdir -p $RPM_BUILD_ROOT/%{initdir}
134 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/{pam.d,logrotate.d}
135 mkdir -p $RPM_BUILD_ROOT/var/{log,spool,lib}/samba
136 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/swat/using_samba
137 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/samba/codepages
141 make DESTDIR=$RPM_BUILD_ROOT \
146 # Install other stuff
147 install -m644 packaging/RedHat/smb.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
148 install -m755 source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
149 install -m644 packaging/RedHat/smbusers $RPM_BUILD_ROOT/etc/samba/smbusers
150 install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT%{_bindir}
151 install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT%{initdir}/smb
152 install -m755 packaging/RedHat/winbind.init $RPM_BUILD_ROOT%{initdir}/winbind
153 ln -s ../..%{initdir}/smb $RPM_BUILD_ROOT%{_sbindir}/samba
154 install -m644 packaging/RedHat/samba.pamd.stack $RPM_BUILD_ROOT/etc/pam.d/samba
155 install -m644 $RPM_SOURCE_DIR/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba
156 ln -s ../usr/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smb
157 ## mount.smbfs is installed by Samba's Makefile
158 ## ln -s ../usr/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
159 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
162 mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
163 mv source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security/pam_smbpass.so
166 mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
167 install -m 755 source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security/pam_winbind.so
168 mkdir -p $RPM_BUILD_ROOT%{_libdir}
169 install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
170 ln -sf /%{_lib}/libnss_winbind.so $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so.2
171 install -m 755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
172 ln -sf /%{_lib}/libnss_wins.so $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so.2
176 # make install puts libsmbclient.so in the wrong place on x86_64
177 rm -f $RPM_BUILD_ROOT/usr/lib || true
178 mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir}
179 install -m 644 source/bin/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
180 install -m 644 source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
181 install -m 644 source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
183 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
184 install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
186 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
187 install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
190 ## Clean out man pages for tools not installed here
192 rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/editreg.1*
193 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
194 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
195 rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/mount.cifs.8*
198 rm -rf $RPM_BUILD_ROOT
201 /sbin/chkconfig --add smb
205 /sbin/chkconfig --del smb
206 rm -rf /var/log/samba/* /var/cache/samba/*
207 /sbin/service smb stop >/dev/null 2>&1
212 if [ "$1" -ge "1" ]; then
213 %{initdir}/smb condrestart >/dev/null 2>&1
217 /sbin/chkconfig --add winbind
222 /sbin/chkconfig --del winbind
223 /sbin/service winbind stop >/dev/null 2>&1
227 %postun common -p /sbin/ldconfig
229 %triggerpostun -- samba < 1.9.18p7
231 /sbin/chkconfig --add smb
234 %triggerpostun -- samba < 2.0.5a-3
236 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
237 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
238 chmod 644 /etc/services
239 [ -f /etc/inetd.conf ] && chmod 644 /etc/inetd.conf
243 %defattr(-,root,root)
244 %doc README COPYING Manifest
245 %doc WHATSNEW.txt Roadmap
247 %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
248 %doc examples/printing
250 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
253 # %{_bindir}/make_unicodemap
254 %{_bindir}/mksmbpasswd.sh
255 %{_bindir}/smbcontrol
257 # %{_bindir}/smbadduser
259 %config(noreplace) %{_sysconfdir}/sysconfig/samba
260 %config(noreplace) %{_sysconfdir}/samba/smbusers
261 %attr(755,root,root) %config %{initdir}/smb
262 %config(noreplace) %{_sysconfdir}/logrotate.d/samba
263 %config(noreplace) %{_sysconfdir}/pam.d/samba
264 # %{_mandir}/man1/make_unicodemap.1*
265 %{_mandir}/man1/smbcontrol.1*
266 %{_mandir}/man1/smbstatus.1*
267 %{_mandir}/man5/smbpasswd.5*
268 %{_mandir}/man7/samba.7*
269 %{_mandir}/man7/Samba.7*
270 %{_mandir}/man8/nmbd.8*
271 %{_mandir}/man8/pdbedit.8*
272 %{_mandir}/man8/smbd.8*
273 %{_mandir}/man8/tdbbackup.8*
274 #%{_mandir}/ja/man1/smbstatus.1*
275 #%{_mandir}/ja/man5/smbpasswd.5*
276 #%{_mandir}/ja/man7/samba.7*
277 #%{_mandir}/ja/man8/smbd.8*
278 #%{_mandir}/ja/man8/nmbd.8*
281 %attr(0700,root,root) %dir /var/log/samba
282 %attr(1777,root,root) %dir /var/spool/samba
285 %defattr(-,root,root)
286 %config(noreplace) %{_sysconfdir}/xinetd.d/swat
289 %{_mandir}/man8/swat.8*
290 #%{_mandir}/ja/man8/swat.8*
291 %attr(755,root,root) %{_libdir}/samba/*.msg
294 %defattr(-,root,root)
297 %{_libdir}/samba/lowcase.dat
298 %{_libdir}/samba/upcase.dat
299 %{_libdir}/samba/valid.dat
306 %{_mandir}/man8/smbmnt.8*
307 %{_mandir}/man8/smbmount.8*
308 %{_mandir}/man8/smbumount.8*
309 %{_mandir}/man8/smbspool.8*
317 %{_mandir}/man1/findsmb.1*
318 %{_mandir}/man1/nmblookup.1*
319 %{_mandir}/man1/rpcclient.1*
320 %{_mandir}/man1/smbcacls.1*
321 %{_mandir}/man1/smbclient.1*
322 %{_mandir}/man1/smbtar.1*
323 %{_mandir}/man1/smbtree.1*
324 %{_mandir}/man8/net.8*
325 #%{_mandir}/ja/man1/smbtar.1*
326 #%{_mandir}/ja/man1/smbclient.1*
327 #%{_mandir}/ja/man1/nmblookup.1*
330 %defattr(-,root,root)
331 /%{_lib}/libnss_wins.so.*
332 /%{_lib}/libnss_winbind.so.*
333 /%{_lib}/security/pam_winbind.so
334 %{_libdir}/libsmbclient.a
335 %{_libdir}/libsmbclient.so
336 %{_libdir}/samba/charset/CP*.so
337 %{_includedir}/libsmbclient.h
341 # %{_bindir}/make_printerdef
347 %{_bindir}/smbcquotas
350 %dir /var/cache/samba
351 %attr(750,root,root) %dir /var/cache/samba/winbindd_privileged
352 %config(noreplace) %{_sysconfdir}/samba/smb.conf
353 %config(noreplace) %{_sysconfdir}/samba/lmhosts
354 %dir %{_datadir}/samba
355 %dir %{_datadir}/samba/codepages
356 %dir %{_sysconfdir}/samba
358 # %{_datadir}/samba/codepages/*
359 # %{_mandir}/man1/make_smbcodepage.1*
360 %{_mandir}/man1/ntlm_auth.1*
361 %{_mandir}/man1/profiles.1*
362 %{_mandir}/man1/smbcquotas.1*
363 %{_mandir}/man1/testparm.1*
364 %{_mandir}/man1/testprns.1*
365 %{_mandir}/man5/smb.conf.5*
366 %{_mandir}/man5/lmhosts.5*
367 %{_mandir}/man8/smbpasswd.8*
368 %{_mandir}/man1/wbinfo.1*
369 %{_mandir}/man8/winbindd.8*
370 %{_mandir}/man1/vfstest.1*
372 # #%lang(ja) %{_mandir}/ja/man1/make_smbcodepage.1*
373 #%lang(ja) %{_mandir}/ja/man1/testparm.1*
374 #%lang(ja) %{_mandir}/ja/man1/testprns.1*
375 #%lang(ja) %{_mandir}/ja/man5/smb.conf.5*
376 #%lang(ja) %{_mandir}/ja/man5/lmhosts.5*
377 #%lang(ja) %{_mandir}/ja/man8/smbpasswd.8*
380 * Thu Sep 25 2003 Jay Fenlason <fenlason@redhat.com> 3.0.0-15
381 - New 3.0.0 final release
382 - merge nmbd-netbiosname and testparm patches from 3E branch
383 - updated the -logfiles patch to work against 3.0.0
384 - updated the pie patch
385 - update the VERSION file during build
386 - use make -j if avaliable
387 - merge the winbindd_privileged change from 3E
388 - merge the "rm /usr/lib" patch that allows Samba to build on 64-bit
389 platforms despite the broken Makefile
391 * Mon Aug 18 2003 Jay Fenlason <fenlason@redhat.com>
392 - Merge from samba-3E-branch after samba-3.0.0rc1 was released
394 * Wed Jul 23 2003 Jay Fenlason <fenlason@redhat.com> 3.0.0-3beta3
395 - Merge from 3.0.0-2beta3.3E
396 - (Correct log file names (#100981).)
397 - (Fix pidfile directory in samab.log)
398 - (Remove obsolete samba-3.0.0beta2.tar.bz2.md5 file)
399 - (Move libsmbclient to the -common package (#99449))
401 * Tue Jun 22 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.8a-4
404 * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
407 * Wed May 28 2003 Jay Fenlason <fenlason@redhat.com> 2.2.8a-2
408 - add libsmbclient.so for gnome-vfs-extras
409 - Edit specfile to specify /var/run for pid files
410 - Move /tmp/.winbindd/socket to /var/run/winbindd/socket
412 * Wed May 14 2003 Florian La Roche <Florian.LaRoche@redhat.de>
413 - add proper ldconfig calls
415 * Thu Apr 24 2003 Jay Fenlason <fenlason@redhat.com> 2.2.8a-1
417 - remove old .md5 files
418 - add "pid directory = /var/run" to the smb.conf file. Fixes #88495
419 - Patch from jra@dp.samba.org to fix a delete-on-close regression
421 * Mon Mar 24 2003 Jay Fenlason <fenlason@redhat.com> 2.2.8-0
423 - removed commented out patches.
424 - removed old patches and .md5 files from the repository.
425 - remove duplicate /sbin/chkconfig --del winbind which causes
426 warnings when removing samba.
427 - Fixed minor bug in smbprint that causes it to fail when called with
428 more than 10 parameters: the accounting file (and spool directory
429 derived from it) were being set wrong due to missing {}. This closes
431 - updated smb.conf patch, includes new defaults to close bug #84822.
433 * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
436 * Thu Feb 20 2003 Jonathan Blandford <jrb@redhat.com> 2.2.7a-5
437 - remove swat.desktop file
439 * Thu Feb 20 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.7a-4
440 - relink libnss_wins.so with SHLD="%{__cc} -lnsl" to force libnss_wins.so to
441 link with libnsl, avoiding unresolved symbol errors on functions in libnsl
443 * Mon Feb 10 2003 Jay Fenlason <fenlason@redhat.com> 2.2.7a-3
444 - edited spec file to put .so files in the correct directories
445 on 64-bit platforms that have 32-bit compatability issues
446 (sparc64, x86_64, etc). This fixes bugzilla #83782.
447 - Added samba-2.2.7a-error.patch from twaugh. This fixes
450 * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
453 * Thu Jan 9 2003 Jay Fenlason <fenlason@redhat.com> 2.2.7a-1
455 - Change default printing system to CUPS
456 - Turn on pam_smbpass
459 * Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 2.2.7-5
460 - use internal dep generator.
462 * Sat Dec 14 2002 Tim Powers <timp@redhat.com> 2.2.7-4
463 - don't use rpms internal dep generator
465 * Mon Dec 02 2002 Elliot Lee <sopwith@redhat.com> 2.2.7-3
466 - Fix missing doc files.
467 - Fix multilib issues
469 * Wed Nov 20 2002 Bill Nottingham <notting@redhat.com> 2.2.7-2
471 - add patch for LFS in smbclient (<tcallawa@redhat.com>)
473 * Wed Aug 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-10
474 - logrotate fixes (#65007)
476 * Mon Aug 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-9
477 - /usr/lib was used in place of %%{_libdir} in three locations (#72554)
479 * Mon Aug 5 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-8
480 - Initscript fix (#70720)
482 * Fri Jul 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-7
483 - Enable VFS support and compile the "recycling" module (#69796)
484 - more selective includes of the examples dir
486 * Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-6
487 - Fix the lpq parser for better handling of LPRng systems (#69352)
489 * Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-5
490 - desktop file fixes (#69505)
492 * Wed Jun 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-4
495 * Tue Jun 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-3
496 - Make it not depend on Net::LDAP - those are doc files and examples
498 * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
501 * Thu Jun 20 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.5-1
504 * Fri Jun 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-5
505 - Move the post/preun of winbind into the -common subpackage,
506 where the script is (#66128)
508 * Tue Jun 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-4
509 - Fix pidfile locations so it runs properly again (2.2.4
510 added a new directtive - #65007)
512 * Thu May 23 2002 Tim Powers <timp@redhat.com>
515 * Tue May 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-2
518 * Thu May 9 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.4-1
520 - Removed some zero-length and CVS internal files
523 * Wed Apr 10 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-6
524 - Don't use /etc/samba.d in smbadduser, it should be /etc/samba
526 * Thu Apr 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-5
527 - Add libsmbclient.a w/headerfile for KDE (#62202)
529 * Tue Mar 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-4
530 - Make the logrotate script look the correct place for the pid files
532 * Thu Mar 14 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2.3a-3
533 - include interfaces.o in pam_smbpass.so, which needs symbols from interfaces.o
534 (patch posted to samba-list by Ilia Chipitsine)
536 * Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-2
539 * Thu Feb 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3a-1
542 * Mon Feb 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.3-1
545 * Thu Nov 29 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-8
546 - New pam configuration file for samba
548 * Tue Nov 27 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-7
549 - Enable PAM session controll and password sync
551 * Tue Nov 13 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-6
552 - Move winbind files to samba-common. Add separate initscript for
554 - Fixes for winbind - protect global variables with mutex, use
557 * Thu Nov 8 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-5
558 - Teach smbadduser about "getent passwd"
559 - Fix more pid-file references
560 - Add (conditional) winbindd startup to the initscript, configured in
563 * Wed Nov 7 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-4
564 - Fix pid-file reference in logrotate script
565 - include pam and nss modules for winbind
567 * Mon Nov 5 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-3
568 - Add "--with-utmp" to configure options (#55372)
569 - Include winbind, pam_smbpass.so, rpcclient and smbcacls
570 - start using /var/cache/samba, we need to keep state and there is
571 more than just locks involved
573 * Sat Nov 03 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.2.2-2
574 - add "reload" to the usage string in the startup script
576 * Mon Oct 15 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.2-1
579 * Tue Sep 18 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1a-5
580 - Add patch from Jeremy Allison to fix IA64 alignment problems (#51497)
582 * Mon Aug 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
583 - Don't include smbpasswd in samba, it's in samba-common (#51598)
584 - Add a disabled "obey pam restrictions" statement - it's not
585 active, as we use encrypted passwords, but if the admin turns
586 encrypted passwords off the choice is available. (#31351)
588 * Wed Aug 8 2001 Trond Eivind Glomsrød <teg@redhat.com>
589 - Use /var/cache/samba instead of /var/lock/samba
590 - Remove "domain controller" keyword from smb.conf, it's
591 deprecated (from #13704)
592 - Sync some examples with smb.conf.default
593 - Fix password synchronization (#16987)
595 * Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
596 - Tweaks of BuildRequires (#49581)
598 * Wed Jul 11 2001 Trond Eivind Glomsrød <teg@redhat.com>
599 - 2.2.1a bugfix release
601 * Tue Jul 10 2001 Trond Eivind Glomsrød <teg@redhat.com>
602 - 2.2.1, which should work better for XP
604 * Sat Jun 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
605 - 2.2.0a security fix
606 - Mark lograte and pam configuration files as noreplace
608 * Fri Jun 22 2001 Trond Eivind Glomsrød <teg@redhat.com>
609 - Add the /etc/samba directory to samba-common
611 * Thu Jun 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
612 - Add improvements to the smb.conf as suggested in #16931
614 * Tue Jun 19 2001 Trond Eivind Glomsrød <teg@redhat.com>
615 (these changes are from the non-head version)
616 - Don't include /usr/sbin/samba, it's the same as the initscript
617 - unset TMPDIR, as samba can't write into a TMPDIR owned
619 - Add pidfile: lines for smbd and nmbd and a config: line
620 in the initscript (#15343)
622 - explicitly include /usr/share/samba, not just the files in it
624 * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
625 - mount.smb/mount.smbfs go in /sbin, *not* %%{_sbindir}
627 * Fri Jun 8 2001 Preston Brown <pbrown@redhat.com>
628 - enable encypted passwords by default
630 * Thu Jun 7 2001 Helge Deller <hdeller@redhat.de>
631 - build as 2.2.0-1 release
632 - skip the documentation-directories docbook, manpages and yodldocs
633 - don't include *.sgml documentation in package
634 - moved codepage-directory to /usr/share/samba/codepages
635 - make it compile with glibc-2.2.3-10 and kernel-headers-2.4.2-2
637 * Mon May 21 2001 Helge Deller <hdeller@redhat.de>
638 - updated to samba 2.2.0
639 - moved codepages to %{_datadir}/samba/codepages
640 - use all available CPUs for building rpm packages
641 - use %{_xxx} defines at most places in spec-file
642 - "License:" replaces "Copyright:"
643 - dropped excludearch sparc
644 - de-activated japanese patches 100 and 200 for now
645 (they need to be fixed and tested wth 2.2.0)
646 - separated swat.desktop file from spec-file and added
648 - moved /etc/sysconfig/samba to a separate source-file
649 - use htmlview instead of direct call to netscape in
652 * Mon May 7 2001 Bill Nottingham <notting@redhat.com>
653 - device-remove security fix again (<tridge@samba.org>)
655 * Fri Apr 20 2001 Bill Nottingham <notting@redhat.com>
656 - fix tempfile security problems, officially (<tridge@samba.org>)
659 * Sun Apr 8 2001 Bill Nottingham <notting@redhat.com>
660 - turn of SSL, kerberos
662 * Thu Apr 5 2001 Bill Nottingham <notting@redhat.com>
663 - fix tempfile security problems (patch from <Marcus.Meissner@caldera.de>)
665 * Thu Mar 29 2001 Bill Nottingham <notting@redhat.com>
666 - fix quota support, and quotas with the 2.4 kernel (#31362, #33915)
668 * Mon Mar 26 2001 Nalin Dahyabhai <nalin@redhat.com>
669 - tweak the PAM code some more to try to do a setcred() after initgroups()
670 - pull in all of the optflags on i386 and sparc
671 - don't explicitly enable Kerberos support -- it's only used for password
672 checking, and if PAM is enabled it's a no-op anyway
674 * Mon Mar 5 2001 Tim Waugh <twaugh@redhat.com>
675 - exit successfully from preun script (bug #30644).
677 * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
678 - rebuild in new environment
680 * Wed Feb 14 2001 Bill Nottingham <notting@redhat.com>
681 - updated japanese stuff (#27683)
683 * Fri Feb 9 2001 Bill Nottingham <notting@redhat.com>
684 - fix trigger (#26859)
686 * Wed Feb 7 2001 Bill Nottingham <notting@redhat.com>
687 - add i18n support, japanese patch (#26253)
689 * Wed Feb 7 2001 Trond Eivind Glomsrød <teg@redhat.com>
690 - i18n improvements in initscript (#26537)
692 * Wed Jan 31 2001 Bill Nottingham <notting@redhat.com>
693 - put smbpasswd in samba-common (#25429)
695 * Wed Jan 24 2001 Bill Nottingham <notting@redhat.com>
698 * Sun Jan 21 2001 Bill Nottingham <notting@redhat.com>
701 * Thu Jan 18 2001 Bill Nottingham <notting@redhat.com>
702 - i18n-ize initscript
703 - add a sysconfig file for daemon options (#23550)
704 - clarify smbpasswd man page (#23370)
705 - build with LFS support (#22388)
706 - avoid extraneous pam error messages (#10666)
707 - add Urban Widmark's bug fixes for smbmount (#19623)
708 - fix setgid directory modes (#11911)
709 - split swat into subpackage (#19706)
711 * Wed Oct 25 2000 Nalin Dahyabhai <nalin@redhat.com>
712 - set a default CA certificate path in smb.conf (#19010)
713 - require openssl >= 0.9.5a-20 to make sure we have a ca-bundle.crt file
715 * Mon Oct 16 2000 Bill Nottingham <notting@redhat.com>
716 - fix swat only_from line (#18726, others)
717 - fix attempt to write outside buildroot on install (#17943)
719 * Mon Aug 14 2000 Bill Nottingham <notting@redhat.com>
720 - add smbspool back in (#15827)
721 - fix absolute symlinks (#16125)
723 * Sun Aug 6 2000 Philipp Knirsch <pknirsch@redhat.com>
724 - bugfix for smbadduser script (#15148)
726 * Mon Jul 31 2000 Matt Wilson <msw@redhat.com>
727 - patch configure.ing (patch11) to disable cups test
728 - turn off swat by default
730 * Fri Jul 28 2000 Bill Nottingham <notting@redhat.com>
731 - fix condrestart stuff
733 * Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
734 - add copytruncate to logrotate file (#14360)
735 - fix init script (#13708)
737 * Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
738 - move initscript back
739 - remove 'Using Samba' book from %%doc
740 - move stuff to /etc/samba (#13708)
741 - default configuration tweaks (#13704)
742 - some logrotate tweaks
744 * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
747 * Tue Jul 11 2000 Bill Nottingham <notting@redhat.com>
748 - fix logrotate script (#13698)
750 * Thu Jul 6 2000 Bill Nottingham <notting@redhat.com>
751 - fix initscripts req (prereq /etc/init.d)
753 * Wed Jul 5 2000 Than Ngo <than@redhat.de>
754 - add initdir macro to handle the initscript directory
755 - add a new macro to handle /etc/pam.d/system-auth
757 * Thu Jun 29 2000 Nalin Dahyabhai <nalin@redhat.com>
758 - enable Kerberos 5 and SSL support
759 - patch for duplicate profile.h headers
761 * Thu Jun 29 2000 Bill Nottingham <notting@redhat.com>
764 * Tue Jun 27 2000 Bill Nottingham <notting@redhat.com>
765 - rename samba logs (#11606)
767 * Mon Jun 26 2000 Bill Nottingham <notting@redhat.com>
770 * Fri Jun 16 2000 Bill Nottingham <notting@redhat.com>
771 - configure the swat stuff usefully
772 - re-integrate some specfile tweaks that got lost somewhere
774 * Thu Jun 15 2000 Bill Nottingham <notting@redhat.com>
775 - rebuild to get rid of cups dependency
777 * Wed Jun 14 2000 Nalin Dahyabhai <nalin@redhat.com>
778 - tweak logrotate configurations to use the PID file in /var/lock/samba
780 * Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
781 - rebuild in new environment
783 * Thu Jun 1 2000 Nalin Dahyabhai <nalin@redhat.com>
784 - change PAM setup to use system-auth
786 * Mon May 8 2000 Bill Nottingham <notting@redhat.com>
789 * Sat May 6 2000 Bill Nottingham <notting@redhat.com>
790 - switch to %%configure
792 * Wed Apr 26 2000 Nils Philippsen <nils@redhat.de>
795 * Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
798 * Thu Mar 16 2000 Bill Nottingham <notting@redhat.com>
799 - fix yp_get_default_domain in autoconf
800 - only link against readline for smbclient
801 - fix log rotation (#9909)
803 * Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
804 - fix trigger, again.
806 * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
809 * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
810 - turn on quota support
812 * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
813 - rebuild to fox dependencies
814 - man pages are compressed
816 * Fri Jan 21 2000 Bill Nottingham <notting@redhat.com>
817 - munge post scripts slightly
819 * Wed Jan 19 2000 Bill Nottingham <notting@redhat.com>
820 - turn on mmap again. Wheee.
821 - ship smbmount on alpha
823 * Mon Dec 6 1999 Bill Nottingham <notting@redhat.com>
826 * Wed Dec 1 1999 Bill Nottingham <notting@redhat.com>
827 - change /var/log/samba to 0700
828 - turn on mmap support
830 * Thu Nov 11 1999 Bill Nottingham <notting@redhat.com>
833 * Fri Oct 29 1999 Bill Nottingham <notting@redhat.com>
834 - add a %defattr for -common
836 * Tue Oct 5 1999 Bill Nottingham <notting@redhat.com>
837 - shift some files into -client
838 - remove /home/samba from package.
840 * Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
841 - initscript oopsie. killproc <name> -HUP, not other way around.
843 * Sat Sep 26 1999 Bill Nottingham <notting@redhat.com>
844 - script cleanups. Again.
846 * Wed Sep 22 1999 Bill Nottingham <notting@redhat.com>
847 - add a patch to fix dropped reconnection attempts
849 * Mon Sep 6 1999 Jeff Johnson <jbj@redhat.com>
850 - use cp rather than mv to preserve /etc/services perms (#4938 et al).
851 - use mktemp to generate /etc/tmp.XXXXXX file name.
852 - add prereqs on sed/mktemp/killall (need to move killall to /bin).
853 - fix trigger syntax (i.e. "samba < 1.9.18p7" not "samba < samba-1.9.18p7")
855 * Mon Aug 30 1999 Bill Nottingham <notting@redhat.com>
856 - sed "s|nawk|gawk|" /usr/bin/convert_smbpasswd
858 * Sat Aug 21 1999 Bill Nottingham <notting@redhat.com>
859 - fix typo in mount.smb
861 * Fri Aug 20 1999 Bill Nottingham <notting@redhat.com>
862 - add a %trigger to work around (sort of) broken scripts in
865 * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
868 * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
869 - add domain parsing to mount.smb
871 * Fri Aug 6 1999 Bill Nottingham <notting@redhat.com>
872 - add a -common package, shuffle files around.
874 * Fri Jul 23 1999 Bill Nottingham <notting@redhat.com>
875 - add a chmod in %postun so /etc/services & inetd.conf don't become unreadable
877 * Wed Jul 21 1999 Bill Nottingham <notting@redhat.com>
879 - fix mount.smb - smbmount options changed again.........
881 - update some stuff from the samba team's spec file.
883 * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
884 - split off clients into separate package
885 - don't run samba by default
887 * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
888 - fix one problem with mount.smb script
889 - fix smbpasswd on sparc with a really ugly kludge
891 * Thu Jun 10 1999 Dale Lovelace <dale@redhat.com>
892 - fixed logrotate script
894 * Tue May 25 1999 Bill Nottingham <notting@redhat.com>
895 - turn of 64-bit locking on 32-bit platforms
897 * Thu May 20 1999 Bill Nottingham <notting@redhat.com>
898 - so many releases, so little time
899 - explicitly uncomment 'printing = bsd' in sample config
901 * Tue May 18 1999 Bill Nottingham <notting@redhat.com>
903 - fix mount.smb arg ordering
905 * Fri Apr 16 1999 Bill Nottingham <notting@redhat.com>
906 - go back to stop/start for restart (-HUP didn't work in testing)
908 * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
909 - add a mount.smb to make smb mounting a little easier.
910 - smb filesystems apparently don't work on alpha. Oops.
912 * Thu Mar 25 1999 Bill Nottingham <notting@redhat.com>
913 - always create codepages
915 * Tue Mar 23 1999 Bill Nottingham <notting@redhat.com>
918 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
919 - auto rebuild in the new build environment (release 3)
921 * Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
922 - updated init script to use graceful restart (not stop/start)
924 * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
927 * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
930 * Mon Feb 15 1999 Bill Nottingham <notting@redhat.com>
933 * Tue Feb 9 1999 Bill Nottingham <notting@redhat.com>
934 - fix bash2 breakage in post script
936 * Fri Feb 5 1999 Bill Nottingham <notting@redhat.com>
939 * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
940 - make sure all binaries are stripped
942 * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
943 - update to 1.9.18p10.
944 - fix %triggerpostun.
946 * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
947 - updated postun triggerscript to check $0
948 - clear /etc/codepages from %preun instead of %postun
950 * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
951 - made the %postun script a tad less agressive; no reason to remove
952 the logs or lock file (after all, if the lock file is still there,
953 samba is still running)
954 - the %postun and %preun should only exectute if this is the final
956 - migrated %triggerpostun from Red Hat's samba package to work around
957 packaging problems in some Red Hat samba releases
959 * Sun Apr 26 1998 John H Terpstra <jht@samba.anu.edu.au>
960 - minor tidy up in preparation for release of 1.9.18p5
961 - added findsmb utility from SGI package
963 * Wed Mar 18 1998 John H Terpstra <jht@samba.anu.edu.au>
964 - Updated version and codepage info.
965 - Release to test name resolve order
967 * Sat Jan 24 1998 John H Terpstra <jht@samba.anu.edu.au>
968 - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
969 - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
970 - Compounded make line
971 - Updated smb.init restart mechanism
972 - Use compound mkdir -p line instead of individual calls to mkdir
973 - Fixed smb.conf file path for log files
974 - Fixed smb.conf file path for incoming smb print spool directory
975 - Added a number of options to smb.conf file
976 - Added smbadduser command (missed from all previous RPMs) - Doooh!
977 - Added smbuser file and smb.conf file updates for username map