2 Summary(pl): Serwer SMB
3 Summary(cs): Server SMB
4 Summary(da): SMB server
5 Summary(de): SMB-Server
6 Summary(fi): SMB-palvelin
7 Summary(fr): Serveur SMB
8 Summary(it): Server SMB
9 Summary(pl): Serwer SMB
10 Summary(tr): SMB sunucusu
15 Group: Networking/Daemons
16 Group(de): Netzwerkwesen/Server
17 Group(pl): Sieciowe/Serwery
18 URL: http://www.samba.org/
19 Source0: ftp://ftp.samba.org/pub/samba/%{name}-%{version}.tar.gz
23 Source4: %{name}.sysconfig
24 Source5: %{name}.logrotate
26 Patch1: %{name}-config.patch
27 Patch2: %{name}-cap.patch
28 Patch3: %{name}-DESTDIR.patch
29 Patch6: %{name}-manpages_PLD_fixes.patch
30 Patch7: %{name}-smbprint.patch
31 Patch8: %{name}-autoconf.patch
32 Patch9: %{name}-smbadduser.patch
33 Patch10: %{name}-nocups.patch
34 Patch11: %{name}-nmbd_socket.patch
35 Patch12: %{name}-debug-0-suxorz.patch
36 Prereq: /sbin/chkconfig
39 Requires: samba-common = %{version}
40 BuildRequires: autoconf
41 BuildRequires: ncurses-devel >= 5.2
42 BuildRequires: readline-devel >= 4.2
43 BuildRequires: pam-devel > 0.66
44 BuildRequires: openssl-devel >= 0.9.6a
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 %define _sysconfdir /etc/samba
48 %define _libdir %{_sysconfdir}
49 %define _localstatedir %{_var}/log/samba
52 Samba provides an SMB server which can be used to provide network
53 services to SMB (sometimes called "Lan Manager") clients, including
54 various versions of MS Windows, OS/2, and other Linux machines. Samba
55 also provides some SMB clients, which complement the built-in SMB
56 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
57 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
59 This release is known as the "Locking Update" and has full support for
60 Opportunistic File Locking. In addition this update includes native
61 support for Microsoft encrypted passwords, improved browse list and
62 WINS database management.
64 Please refer to the WHATSNEW.txt document for fixup information. This
65 binary release includes encrypted password support. Please read the
66 smb.conf file and ENCRYPTION.txt in the docs directory for
67 implementation details.
70 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
71 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
72 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
73 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
74 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
75 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
76 NetBIOS od spoleènosti Microsoft.
79 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
80 services til SMB (også kaldet "Lan Manager") klienter, incl.
81 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
82 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
83 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
84 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
88 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
89 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
90 verschiedenen Versionen von MS Windows-, OS/2- und anderen
91 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
92 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
93 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
94 (Microsoft Raw NetBIOS frame)-Protokoll.
97 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
98 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
99 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
100 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
101 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
102 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
103 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
107 Samba fornisce un server SMB che puo` essere usato per fornire servizi
108 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
109 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
110 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
113 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
114 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
115 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
116 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
117 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
118 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
119 hase³ w standardzie MS i zarzadzania baz± WINS.
122 Summary: Samba Web Administration Tool
123 Summary(pl): Narzêdzie administracyjne serwisu Samba
124 Group: Networking/Admin
125 Group(de): Netzwerkwesen/Administration
126 Group(pl): Sieciowe/Administacyjne
128 Requires: rc-inetd >= 0.8.2
132 swat allows a Samba administrator to configure the complex smb.conf
133 file via a Web browser. In addition, a swat configuration page has
134 help links to all the configurable options in the smb.conf file
135 allowing an administrator to easily look up the effects of any change.
137 swat is run from inet server.
139 %description -n swat -l pl
140 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
144 Summary: Samba client programs
145 Summary(pl): Klienci serwera Samba
146 Group: Applications/Networking
147 Group(de): Applikationen/Netzwerkwesen
148 Group(pl): Aplikacje/Sieciowe
149 Requires: samba-common = %{version}
153 Samba-client provides some SMB clients, which complement the build-in
154 SMB filesystem in Linux. These allow accessing of SMB shares and
155 printing to SMB printers.
157 %description client -l pl
158 Samba-client dostarcza pewne programy które uzupe³niaj± system plików
159 SMB zawarty w j±drze. Pozwala na wspó³dzielenie i drukowanie w sieci
163 Summary: Files used by both Samba servers and clients
164 Summary(pl): Pliki u¿ywane przez serwer i klientów Samba
165 Group: Networking/Daemons
166 Group(de): Netzwerkwesen/Server
167 Group(pl): Sieciowe/Serwery
170 Samba-common provides files necessary for both the server and client
173 %description common -l pl
174 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
196 --with-privatedir=%{_libdir} \
197 --with-lockdir=%{_var}/lock/samba \
198 --with-swatdir=%{_datadir}/swat \
201 --without-smbwrapper \
211 --with-sslinc=%{_prefix}
216 rm -rf $RPM_BUILD_ROOT
217 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
218 $RPM_BUILD_ROOT/{var/{lock,log,log/archiv,spool},home}/samba \
222 %{__make} install DESTDIR=$RPM_BUILD_ROOT
223 install script/mksmbpasswd.sh /$RPM_BUILD_ROOT%{_sbindir}
226 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
228 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
229 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
230 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
231 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
232 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
233 install %{SOURCE6} $RPM_BUILD_ROOT%{_libdir}/smb.conf
235 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
237 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_libdir}/lmhosts
239 > $RPM_BUILD_ROOT%{_libdir}/smbusers
240 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
242 rm -f docs/faq/*.{sgml,txt}
243 rm -f docs/htmldocs/*.[0-9].html
245 gzip -9nfr Manifest README Roadmap WHATSNEW.txt docs/*.reg docs/{announce,history,THANKS} docs/textdocs/*.txt
248 rm -rf $RPM_BUILD_ROOT
251 /sbin/chkconfig --add smb
252 if [ -r /var/lock/subsys/smb ]; then
253 /etc/rc.d/init.d/smb restart >&2
255 echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
259 if [ "$1" = "0" ]; then
260 if [ -r /var/lock/subsys/smb ]; then
261 /etc/rc.d/init.d/smb stop >&2
263 /sbin/chkconfig --del smb
267 if [ -f /var/lock/subsys/rc-inetd ]; then
268 /etc/rc.d/init.d/rc-inetd reload 1>&2
270 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
274 if [ -f /var/lock/subsys/rc-inetd ]; then
275 /etc/rc.d/init.d/rc-inetd reload
278 %triggerpostun -- samba < 1.9.18p7
279 if [ "$1" != "0" ]; then
280 /sbin/chkconfig --add smb
283 %triggerpostun -- samba < 2.0.5a-3
284 if [ "$1" != "0" ]; then
285 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
286 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_sbindir}/nmbd
292 %attr(755,root,root) %{_sbindir}/smbd
293 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
294 %attr(755,root,root) %{_bindir}/smbstatus
295 %attr(755,root,root) %{_bindir}/smbpasswd
296 %attr(755,root,root) %{_bindir}/make_*
297 %attr(755,root,root) %{_bindir}/smbcontrol
300 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_libdir}/smbusers
301 %attr(754,root,root) /etc/rc.d/init.d/smb
302 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
303 %attr(640,root,root) /etc/logrotate.d/samba
304 %attr(640,root,root) %config %verify(not size mtime md5) /etc/pam.d/samba
305 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
306 %{_mandir}/man1/smbstatus.1*
307 %{_mandir}/man1/smbcontrol.1*
308 %{_mandir}/man5/smbpasswd.5*
309 %{_mandir}/man7/samba.7*
310 %{_mandir}/man8/nmbd.8*
311 %{_mandir}/man8/smbd.8*
312 %{_mandir}/man8/smbpasswd.8*
316 %ghost /var/lock/samba/*
318 %attr(0750,root,root) %dir /var/log/samba
319 %attr(0750,root,root) %dir /var/log/archiv/samba
320 %attr(1777,root,root) %dir /var/spool/samba
323 %defattr(644,root,root,755)
324 %attr(755,root,root) /sbin/mount.smbfs
325 %attr(755,root,root) %{_bindir}/smbmount
326 %attr(755,root,root) %{_bindir}/smbmnt
327 %attr(755,root,root) %{_bindir}/smbumount
328 %{_mandir}/man8/smbmnt.8*
329 %{_mandir}/man8/smbmount.8*
330 %{_mandir}/man8/smbumount.8*
331 %attr(755,root,root) %{_bindir}/nmblookup
332 %attr(755,root,root) %{_bindir}/smbclient
333 %attr(755,root,root) %{_bindir}/smbtar
334 %attr(755,root,root) %{_bindir}/smbspool
335 %attr(755,root,root) %{_bindir}/smbcacls
336 %{_mandir}/man1/smbtar.1*
337 %{_mandir}/man1/smbclient.1*
338 %{_mandir}/man1/nmblookup.1*
339 %{_mandir}/man1/smbcacls.1*
340 %attr(755,root,root) %{_bindir}/rpcclient
341 %{_mandir}/man1/rpcclient.1*
344 %defattr(644,root,root,755)
345 %doc README.gz Manifest.gz WHATSNEW.txt.gz
346 %doc Roadmap.gz docs/faq docs/*.reg.gz
347 %doc docs/textdocs docs/htmldocs/*.* docs/{history,announce,THANKS}.gz
348 %config(noreplace) %verify(not size mtime md5) %{_libdir}/smb.conf
349 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_libdir}/lmhosts
350 %attr(755,root,root) %{_bindir}/make_smbcodepage
351 %attr(755,root,root) %{_bindir}/make_unicodemap
352 %attr(755,root,root) %{_bindir}/testparm
353 %attr(755,root,root) %{_bindir}/testprns
354 %attr(755,root,root) %{_bindir}/make_printerdef
356 %{_mandir}/man1/make_smbcodepage.1*
357 %{_mandir}/man1/make_unicodemap.1*
358 %{_mandir}/man1/testparm.1*
359 %{_mandir}/man1/testprns.1*
360 %{_mandir}/man5/smb.conf.5*
361 %{_mandir}/man5/lmhosts.5*
364 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_sbindir}/swat
368 %{_mandir}/man8/swat.8*
370 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat