1 Summary: SMB client and server
2 Summary(pl): Klient i serwer SMB
3 Summary(cs): Klient a server SMB
4 Summary(da): SMB klient og server
5 Summary(de): SMB-Client und -Server
6 Summary(fi): SMB-asiakasohjelma ja palvelin
7 Summary(fr): Client et serveur SMB
8 Summary(it): Client e server SMB
9 Summary(tr): SMB istemci ve sunucusu
14 Group: Networking/Daemons
15 Group(pl): Sieciowe/Serwery
16 Source0: ftp://samba.anu.edu.au/pub/samba/%{name}-%{version}.tar.gz
20 Source4: samba.sysconfig
21 Source5: samba.logrotate
23 Patch1: samba-config.patch
24 Patch2: samba-cap.patch
25 Patch3: samba-DESTDIR.patch
26 Patch4: samba-fix_link_libs.patch
27 Prereq: /sbin/chkconfig
30 BuildRequires: ncurses-devel >= 5.0
31 BuildRequires: readline-devel
32 BuildRequires: pam-devel > 0.66
33 BuildRoot: /tmp/%{name}-%{version}-root
35 %define _sysconfdir /etc/samba
36 %define _libdir %{_sysconfdir}
37 %define _localstatedir /var/log/samba
40 Samba provides an SMB server which can be used to provide network services
41 to SMB (sometimes called "Lan Manager") clients, including various versions
42 of MS Windows, OS/2, and other Linux machines. Samba also provides some SMB
43 clients, which complement the built-in SMB filesystem in Linux. Samba uses
44 NetBIOS over TCP/IP (NetBT) protocols and does NOT need NetBEUI (Microsoft
45 Raw NetBIOS frame) protocol.
47 This release is known as the "Locking Update" and has full support for
48 Opportunistic File Locking. In addition this update includes native support
49 for Microsoft encrypted passwords, improved browse list and WINS database
52 Please refer to the WHATSNEW.txt document for fixup information. This binary
53 release includes encrypted password support. Please read the smb.conf file
54 and ENCRYPTION.txt in the docs directory for implementation details.
57 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových slu¾eb
58 klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì klientù rùzných
59 verzí MS Windows, OS/2 a dal¹ích linuxových strojù. Samba té¾ poskytuje
60 nìkteré klienty SMB, kteøí komplementují vestavìný souborový systém SMB v
61 Linuxu. Samba pou¾ívá protokoly NetBIOS pøes TCP/IP (NetBT) a NEpotøebuje
62 protokol NetBEUI (neformátovaný rámec NetBIOS od spoleènosti Microsoft.
65 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk services
66 til SMB (også kaldet "Lan Manager") klienter, incl. forskellige versioner af
67 MS Windows, OS/2, og andre Linux maskiner. Samba tilbyder også SMB klienter,
68 som udbygger det indbyggede SMB filsystem i Linux. Samba benytter NetBIOS
69 over TCP/IP (NetBT) protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS
73 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
74 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
75 verschiedenen Versionen von MS Windows-, OS/2- und anderen Linux-Rechnern.
76 Samba enthält außerdem einige SMB-Clients, die das in Linux integrierte
77 SMB-Dateisystem ergänzen. Samba benutzt NetBIOS-über-TCP/IP
78 (NetBT)-Protokolle und benötigt KEIN NetBEUI (Microsoft Raw NetBIOS
82 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
83 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan Manager"
84 protokollaksi ja asiakasohjelmat toimivat dosissa, Windowseissa, OS/2:ssa ja
85 toisissa Linux-koneissa. Samban mukana on myös joitakin SMB-asiakasohjelmia,
86 jotka täydentävät Linuxin kernelissä olevaa SMB-tiedostojärjestelmän tukea.
87 Samba vaatii NetBIOS over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty
88 käyttämään NetBEUI-protokollaa.
91 Samba fornisce un server SMB che puo` essere usato per fornire servizi di
92 rete ai client SMB, incluse le versioni MS Windows, OS/2 e per altre
93 macchine Linux. Samba fornisce anche i client SMB. Samba usa NetBIOS sopra
94 TCP/IP e non ha bisogno del protocollo NetBEUI.
97 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia us³ug
98 sieciowych (potocznie zwanych "Lan Manager"), dla klientów takich jak MS
99 Windows, OS/2 a tak¿e maszyn linuxowych. W pakiecie znajduje siê równie¿
100 oprogramowanie klienckie. Samba u¿ywa protoko³u NetBIOS po TCP/IP (NetBT) i
101 nie wymaga protoko³u NetBEUI. Ta wersja ma pe³ne wsparcie dla blokowania
102 plików, a tak¿e wsparcie dla kodowania hase³ w standardzie MS i zarzadzania
106 Summary: Samba Web Administration Tool
107 Summary(pl): Narzêdzie administracyjne serwisu Samba
108 Group: Networking/Admin
109 Group(pl): Sieciowe/Administracja
115 swat allows a Samba administrator to configure the complex smb.conf file via
116 a Web browser. In addition, a swat configuration page has help links to all
117 the configurable options in the smb.conf file allowing an administrator to
118 easily look up the effects of any change.
120 swat is run from inet server.
122 %description -n swat -l pl
123 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy przegl±darki
136 LDFLAGS="-s" export LDFLAGS \
138 --with-privatedir=%{_sysconfdir} \
139 --with-lockdir=/var/lock/samba \
140 --with-swatdir=%{_datadir}/swat \
142 --without-smbwrapper \
152 rm -rf $RPM_BUILD_ROOT
153 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
154 $RPM_BUILD_ROOT/{var/{lock,log,log/archiv,spool},home}/samba \
157 (cd source; make install DESTDIR=$RPM_BUILD_ROOT)
159 ln -sf $RPM_BUILD_ROOT/%{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
161 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
162 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
163 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
164 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
165 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
166 install %{SOURCE6} $RPM_BUILD_ROOT/etc/samba/smb.conf
168 strip $RPM_BUILD_ROOT/{%{_bindir},%{_sbindir}}/* || :
170 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
172 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/lmhosts
174 > $RPM_BUILD_ROOT%{_sysconfdir}/smbusers
175 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
177 strip $RPM_BUILD_ROOT/{%{_bindir},%{_sbindir}}/* || :
179 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man?/* \
180 README Manifest WHATSNEW.txt Roadmap docs/*.reg swat/README \
181 docs/textdocs/* docs/*.txt docs/{history,announce,THANKS}
183 rm -f docs/faq/*.{sgml,txt}
186 /sbin/chkconfig --add smb
188 /etc/rc.d/init.d/smb restart >&2
190 echo "Run \"/etc/rc.d/init.d/smb start\" to start samba daemons."
194 if [ "$1" = "0" ]; then
195 /etc/rc.d/init.d/smb stop >&2
196 /sbin/chkconfig --del smb
200 if [ -f /var/lock/subsys/rc-inetd ]; then
201 /etc/rc.d/init.d/rc-inetd restart 1>&2
203 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
207 if [ -f /var/lock/subsys/rc-inetd ]; then
208 /etc/rc.d/init.d/rc-inetd stop
212 rm -rf $RPM_BUILD_ROOT
215 %defattr(644,root,root,755)
216 %doc README.gz Manifest.gz WHATSNEW.txt.gz
217 %doc Roadmap.gz docs/faq docs/*.reg.gz
218 %doc docs/textdocs docs/*.txt.gz docs/{history,announce,THANKS}.gz
220 %attr(755,root,root) /sbin/mount.smbfs
221 %attr(755,root,root) %{_bindir}/*
222 %attr(755,root,root) %{_sbindir}/nmbd
223 %attr(755,root,root) %{_sbindir}/smbd
226 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smb.conf
227 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/smbusers
228 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/lmhosts
230 %attr(754,root,root) /etc/rc.d/init.d/smb
231 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
232 %attr(640,root,root) /etc/logrotate.d/samba
233 %attr(640,root,root) /etc/pam.d/samba
234 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
236 %{_mandir}/man[157]/*
237 %{_mandir}/man8/nmbd.8*
238 %{_mandir}/man8/smbd.8*
239 %{_mandir}/man8/smbmnt.8*
240 %{_mandir}/man8/smbmount.8*
241 %{_mandir}/man8/smbpasswd.8*
242 %{_mandir}/man8/smbumount.8*
245 %{_sysconfdir}/codepages
248 %ghost /var/lock/samba/*
250 %attr(0750,root,root) %dir /var/log/samba
251 %attr(0750,root,root) %dir /var/log/archiv/samba
253 %attr(1777,root,root) %dir /var/spool/samba
256 %defattr(644,root,root,755)
258 %attr(755,root,root) %{_sbindir}/swat
260 %{_mandir}/man8/swat.8*
262 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat