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