3 %bcond_without ads # without ActiveDirectory support
4 %bcond_without cups # without CUPS support
5 %bcond_without kerberos5 # without Kerberos V support
6 %bcond_without ldap # without LDAP support
8 %bcond_with system_libtalloc
9 %bcond_with system_libtdb
10 # http://wiki.samba.org/index.php/Franky
11 %bcond_with mks # with vfs-mks (mksd dependency not distributale)
13 # ADS requires kerberos5 and LDAP
14 %if %{without kerberos5} || %{without ldap}
18 %if %{with system_libtalloc}
19 %define libtalloc_ver 2.0.7
21 %define libtalloc_ver %{version}-%{release}
24 %if %{with system_libtdb}
25 %define libtdb_ver 2:1.2.10
27 %define libtdb_ver %{version}-%{release}
30 %define virusfilter_version 0.1.3
32 Summary(cs.UTF-8): Server SMB
33 Summary(da.UTF-8): SMB server
34 Summary(de.UTF-8): SMB-Server
35 Summary(es.UTF-8): El servidor SMB
36 Summary(fi.UTF-8): SMB-palvelin
37 Summary(fr.UTF-8): Serveur SMB
38 Summary(it.UTF-8): Server SMB
39 Summary(ja.UTF-8): Samba SMB サーバー
40 Summary(ko.UTF-8): 삼바 SMB 서버
41 Summary(pl.UTF-8): Serwer SMB
42 Summary(pt_BR.UTF-8): Cliente e servidor SMB
43 Summary(ru.UTF-8): SMB клиент и сервер
44 Summary(tr.UTF-8): SMB sunucusu
45 Summary(uk.UTF-8): SMB клієнт та сервер
46 Summary(zh_CN.UTF-8): Samba 客户端和服务器
51 Group: Networking/Daemons
52 Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz
53 # Source0-md5: 93e9aad40893ba48d08e1b28e7efff72
57 Source4: samba.sysconfig
58 Source5: samba.logrotate
61 Source8: winbind.sysconfig
62 Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2
63 # Source10-md5: a3a30d5fbf309d356e8c5833db680c17
64 Patch0: system-heimdal.patch
65 Patch1: samba-c++-nofail.patch
66 Patch3: samba-nscd.patch
67 Patch4: samba-lprng-no-dot-printers.patch
68 Patch5: samba-passdb-smbpasswd.patch
69 URL: http://www.samba.org/
70 BuildRequires: acl-devel
71 BuildRequires: autoconf
72 BuildRequires: automake
73 %{?with_avahi:BuildRequires: avahi-devel}
74 BuildRequires: ctdb-devel
75 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
76 BuildRequires: dmapi-devel
77 BuildRequires: gamin-devel
78 BuildRequires: gdbm-devel
79 BuildRequires: gettext-devel
80 %{?with_kerberos5:BuildRequires: heimdal-devel >= 1.5.3-1}
82 BuildRequires: keyutils-devel
83 BuildRequires: libcom_err-devel
84 BuildRequires: libmagic-devel
85 BuildRequires: libnscd-devel
86 BuildRequires: libtool >= 2:1.4d
87 BuildRequires: make >= 3.81
88 BuildRequires: ncurses-devel >= 5.2
89 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
90 BuildRequires: openssl-devel >= 0.9.7d
91 BuildRequires: pam-devel >= 0.99.8.1
92 BuildRequires: pkgconfig
93 BuildRequires: popt-devel
94 %{?with_pgsql:BuildRequires: postgresql-devel}
95 BuildRequires: python-devel >= 1:2.4.2
96 BuildRequires: python-modules
97 BuildRequires: readline-devel >= 4.2
98 BuildRequires: rpmbuild(macros) >= 1.304
99 BuildRequires: sed >= 4.0
100 %{?with_system_libtevent:BuildRequires: tevent-devel >= %{libtevent_ver}}
101 %{?with_system_libtalloc:BuildRequires: talloc-devel >= %{libtalloc_ver}}
102 %{?with_system_libtdb:BuildRequires: tdb-devel >= %{libtdb_ver}}
103 BuildRequires: xfsprogs-devel
104 BuildConflicts: libbsd-devel
105 Requires(post,preun): /sbin/chkconfig
106 Requires: %{name}-common = %{version}-%{release}
107 Requires: logrotate >= 3.7-4
108 Requires: pam >= 0.99.8.1
109 Requires: rc-scripts >= 0.4.0.12
110 Requires: setup >= 2.4.6-7
111 # smbd links with libcups
112 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
113 Obsoletes: python-samba
114 Obsoletes: samba-pdb-xml
115 Obsoletes: samba-vfs-block
116 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
118 %define _vfsdir %{_libdir}/%{name}/vfs
119 %define _sambahome /home/services/samba
120 %define _sambalibdir %{_libdir}/%{name}
122 %define cups_serverbin %{_prefix}/lib/cups
124 %define schemadir /usr/share/openldap/schema
126 # CFLAGS modified (the second ./configure)
127 %undefine configure_cache
130 Samba provides an SMB server which can be used to provide network
131 services to SMB (sometimes called "Lan Manager") clients, including
132 various versions of MS Windows, OS/2, and other Linux machines. Samba
133 also provides some SMB clients, which complement the built-in SMB
134 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
135 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
137 This release is known as the "Locking Update" and has full support for
138 Opportunistic File Locking. In addition this update includes native
139 support for Microsoft encrypted passwords, improved browse list and
140 WINS database management.
142 Please refer to the WHATSNEW.txt document for fixup information. This
143 binary release includes encrypted password support. Please read the
144 smb.conf file for implementation details.
146 %description -l cs.UTF-8
147 Samba poskytuje server SMB, který lze použít pro poskytování síťových
148 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
149 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
150 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
151 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
152 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
153 NetBIOS od společnosti Microsoft.
155 %description -l da.UTF-8
156 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
157 services til SMB (også kaldet "Lan Manager") klienter, incl.
158 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
159 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
160 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
161 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
164 %description -l de.UTF-8
165 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
166 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
167 verschiedenen Versionen von MS Windows-, OS/2- und anderen
168 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
169 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
170 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
171 (Microsoft Raw NetBIOS frame)-Protokoll.
173 %description -l es.UTF-8
174 Samba provee un servidor SMB que se puede usar para ofrecer servicios
175 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
176 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
177 Linux. Samba también ofrece algunos clientes SMB, que complementan el
178 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
179 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
182 %description -l fi.UTF-8
183 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
184 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
185 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
186 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
187 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
188 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
189 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
192 %description -l it.UTF-8
193 Samba fornisce un server SMB che puo` essere usato per fornire servizi
194 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
195 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
196 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
198 %description -l ja.UTF-8
199 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
200 を含む SMB (たまに "Lan Manager" と呼ばれる)
201 クライアントにネットワーク サービスを提供するために使用される SMB
202 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
203 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
206 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
207 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
208 新しい SWAT (Samba Web Administration Tool) を含みます。
209 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
211 %description -l ko.UTF-8
212 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
213 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
214 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
215 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
218 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
219 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
220 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
223 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
224 릴리즈는 암호화된 패스워드를 제공한다.
226 %description -l pl.UTF-8
227 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
228 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
229 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
230 znajduje się również oprogramowanie klienckie. Samba używa protokołu
231 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
232 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
233 haseł w standardzie MS i zarządzania bazą WINS.
235 %description -l pt_BR.UTF-8
236 O Samba provê um servidor SMB que pode ser usado para oferecer
237 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
238 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
239 máquinas Linux. O Samba também fornece alguns clientes SMB, que
240 complementam o sistema de arquivos SMB do Linux. O Samba usa o
241 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
242 NetBEUI (Microsoft Raw NetBIOS frame).
244 O Samba inclui a maioria das características de um servidor de
245 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
246 permite que o arquivo smb.conf seja gerenciado remotamente através de
247 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
250 %description -l ru.UTF-8
251 Samba предоставляет SMB-сервер, который может быть использован для
252 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
253 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
254 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
255 со встроенной в Linux файловой системой SMB.
257 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
258 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
260 Samba содержит практически работающую реализацию NT Domain Control и
261 включает новый SWAT (Samba Web Administration Tool), который позволяет
262 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
263 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
266 %description -l uk.UTF-8
267 Samba надає SMB-сервер, що може бути використаний для надання
268 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
269 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
270 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
271 файловою системою SMB.
273 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
274 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
276 Samba містить майже працюючу реализацію NT Domain Control та новый
277 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
278 керувати конфігураційним файлом smb.conf за допомогою вашого
279 улюбленого WEB-броузера. Поки що він дозволений через inetd на
283 Summary: Samba Web Administration Tool
284 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
285 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
286 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
287 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
288 Group: Networking/Admin
289 Requires: %{name} = %{version}-%{release}
291 Requires: rc-inetd >= 0.8.2
295 swat allows a Samba administrator to configure the complex smb.conf
296 file via a Web browser. In addition, a swat configuration page has
297 help links to all the configurable options in the smb.conf file
298 allowing an administrator to easily look up the effects of any change.
300 %description swat -l pl.UTF-8
301 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
304 %description swat -l pt_BR.UTF-8
305 SWAT - ferramentada Web de configuração do Samba.
307 %description swat -l ru.UTF-8
308 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
309 для удаленного администрирования файла smb.conf при помощи вашего
310 любимого Web-браузера.
312 %description swat -l uk.UTF-8
313 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
314 для дистанційного адміністрування файлу smb.conf за допомогою вашого
315 улюбленого Web-браузеру.
318 Summary: Samba client programs
319 Summary(es.UTF-8): Cliente SMB de Samba
320 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
321 Summary(pl.UTF-8): Klienci serwera Samba
322 Summary(pt_BR.UTF-8): Cliente SMB do samba
323 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
324 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
325 Group: Applications/Networking
326 Requires: %{name}-common = %{version}-%{release}
327 %{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1}
328 Requires: libsmbclient = %{version}-%{release}
334 Samba-client provides some SMB clients, which complement the build-in
335 SMB filesystem in Linux. These allow accessing of SMB shares and
336 printing to SMB printers.
338 %description client -l es.UTF-8
339 Cliente SMB de Samba.
341 %description client -l ja.UTF-8
342 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
343 クライアントを提供します。これらは SMB 共有のアクセスと SMB
346 %description client -l pl.UTF-8
347 Samba-client dostarcza programy uzupełniające obsługę systemu plików
348 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
349 drukowanie w sieci SMB.
351 %description client -l pt_BR.UTF-8
352 O pacote samba-clientes prove alguns clientes SMB, que complementam o
353 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
354 e também, à impressoras SMB.
356 %description client -l ru.UTF-8
357 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
358 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
359 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
361 %description client -l uk.UTF-8
362 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
363 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
364 до каталогів спільного використання SMB та друк на SMB-прінтери.
367 Summary: Files used by both Samba servers and clients
368 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
369 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby
370 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
371 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
372 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
373 Group: Networking/Daemons
374 Requires: tevent >= %{libtevent_ver}
375 Requires: talloc >= %{libtalloc_ver}
376 Requires: tdb >= %{libtdb_ver}
379 Samba-common provides files necessary for both the server and client
382 %description common -l ja.UTF-8
383 Samba-common は Samba のサーバとクライアントの両方のパッケージで
386 %description common -l pl.UTF-8
387 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
390 %description common -l pt_BR.UTF-8
391 Arquivos em comum entre os pacotes samba e samba-clients.
393 %description common -l ru.UTF-8
394 Samba-common содержит файлы, необходимые для работы как клиента, так и
397 %description common -l uk.UTF-8
398 Samba-common містить файли, необхідні для роботи як клієнта, так і
402 Summary: Samba-winbind daemon, utilities and documentation
403 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
404 Group: Networking/Daemons
405 Requires(post,preun): /sbin/chkconfig
406 Requires: %{name}-common = %{version}-%{release}
409 Provides the winbind daemon and testing tools to allow authentication
410 and group/user enumeration from a Windows or Samba domain controller.
412 %description winbind -l pl.UTF-8
413 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
414 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
418 Summary: Name Service Switch service for WINS
419 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
421 Requires: %{name}-common = %{version}-%{release}
423 %description -n nss_wins
424 Provides the libnss_wins shared library which resolves NetBIOS names
427 %description -n nss_wins -l pl.UTF-8
428 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
431 %package -n pam-pam_smbpass
432 Summary: PAM Samba Password Module
433 Summary(pl.UTF-8): Moduł PAM smbpass
435 Obsoletes: pam_smbpass
437 %description -n pam-pam_smbpass
438 PAM module which can be used on conforming systems to keep the
439 smbpasswd (Samba password) database in sync with the Unix password
442 %description -n pam-pam_smbpass -l pl.UTF-8
443 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
444 Samby) zsynchronizowanego z hasłami uniksowymi.
446 %package -n libsmbclient
447 Summary: libsmbclient - samba client library
448 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
451 %description -n libsmbclient
452 libsmbclient - library that allows to use samba clients functions.
454 %description -n libsmbclient -l pl.UTF-8
455 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
458 %package -n libsmbclient-devel
459 Summary: libsmbclient - samba client library
460 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
461 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
462 Group: Development/Libraries
463 Requires: libsmbclient = %{version}-%{release}
465 %description -n libsmbclient-devel
466 Header files for libsmbclient.
468 %description -n libsmbclient-devel -l pl.UTF-8
469 Pliki nagłówkowe dla libsmbclient.
471 %description -n libsmbclient-devel -l pt_BR.UTF-8
472 Arquivos de inclusão, bibliotecas e documentação necessários para
473 desenvolver aplicativos clientes para o samba.
475 %package -n libsmbclient-static
476 Summary: Static version of libsmbclient - samba client library
477 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
478 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
479 Group: Development/Libraries
480 Requires: libsmbclient = %{version}-%{release}
482 %description -n libsmbclient-static
483 Static libsmbclient library.
485 %description -n libsmbclient-static -l pl.UTF-8
486 Statyczna biblioteka libsmbclient.
488 %package -n libtalloc
489 Summary: The talloc library
492 %description -n libtalloc
493 The talloc library from the Samba suite.
495 %package -n libtalloc-devel
496 Summary: Developer tools for the talloc library
497 Group: Development/Libraries
498 Requires: libtalloc = %{version}-%{release}
500 %description -n libtalloc-devel
501 The libtalloc-devel package contains the header files and libraries
502 needed to develop programs that link against the talloc library in the
506 Summary: TDB - Trivial Database
507 Summary(pl.UTF-8): TDB - prosta baza danych
509 Obsoletes: tdb-extras
512 TDB is a Trivial Database. In concept, it is very much like GDBM, and
513 BSD's DB except that it allows multiple simultaneous writers and uses
514 locking internally to keep writers from trampling on each other. TDB
515 is also extremely small.
517 %description -n tdb -l pl.UTF-8
518 TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
519 bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
520 zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
521 nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
524 %package -n tdb-devel
525 Summary: Header files for TDB library
526 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki TDB
527 Group: Development/Libraries
528 Requires: tdb = %{version}-%{release}
530 %description -n tdb-devel
531 Header files for TDB library.
533 %description -n tdb-devel -l pl.UTF-8
534 Pliki nagłówkowe biblioteki TDB.
537 Summary: Header files for Samba
538 Summary(pl.UTF-8): Pliki nagłówkowe Samby
539 Group: Development/Libraries
542 Header files for Samba.
544 %description devel -l pl.UTF-8
545 Pliki nagłówkowe Samby.
548 Summary: A utility for retrieving files using the SMB protocol
549 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
550 Group: Applications/Networking
552 %description -n smbget
553 wget-like utility for download files over SMB.
555 %description -n smbget -l pl.UTF-8
556 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
557 używanym w sieciach MS Windows.
559 %package -n cups-backend-smb
560 Summary: CUPS backend for printing to SMB printers
561 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
562 Group: Applications/Printing
563 Requires: %{name}-client = %{version}-%{release}
564 Requires: cups >= 1:1.2.0
566 %description -n cups-backend-smb
567 CUPS backend for printing to SMB printers.
569 %description -n cups-backend-smb -l pl.UTF-8
570 Backend CUPS-a drukujący na drukarkach SMB.
573 Summary: VFS modules to audit file access
574 Summary(pl.UTF-8): Moduły VFS do monitorowania operacji na plikach
575 Group: Networking/Daemons
576 Requires: %{name} = %{version}-%{release}
578 %description vfs-audit
579 A simple modules (audit, extd_audit, full_audit) to audit file access
580 to the syslog facility. The following operations are logged:
581 - share connect/disconnect,
582 - directory opens/create/remove,
583 - file open/close/rename/unlink/chmod.
585 %description vfs-audit -l pl.UTF-8
586 Proste moduły (audit, extd_audit, full_audit) do monitorowania dostępu
587 do plików na serwerze samba do sysloga. Monitorowane są następujące
589 - podłączenie do/odłączenie od zasobu,
590 - otwarcie/utworzenie/zmiana nazwy katalogu,
591 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
594 Summary: VFS module for CAP and samba compatibility
595 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
596 Group: Networking/Daemons
597 Requires: %{name} = %{version}-%{release}
600 Convert an incoming Shift-JIS character to the 3 byte hex
601 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
602 This is used for compatibility between Samba and CAP.
604 %description vfs-cap -l pl.UTF-8
605 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
606 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
609 Summary: VFS module to fix Catia CAD filenames
610 Summary(pl.UTF-8): Moduł VFS poprawiający nazwy plików z pakietu CAD Catia
611 Group: Networking/Daemons
612 Requires: %{name} = %{epoch}:%{version}-%{release}
614 %description vfs-catia
615 The Catia CAD package commonly creates filenames that use characters
616 that are illegal in CIFS filenames. The vfs_catia VFS module
617 implements a fixed character mapping so that these files can be shared
620 %description vfs-catia -l pl.UTF-8
621 Pakiet CAD Catia często tworzy nazwy plików, wykorzystujące znaki,
622 które nie są dozwolone w nazwach plików CIFS. Moduł VFS vfs_catia
623 implementuje stałe odwzorowanie znaków, pozwalające na współdzielenie
624 plików z innymi klientami CIFS.
626 %package vfs-default_quota
627 Summary: VFS module to store default quotas in a specified quota record
628 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
629 Group: Networking/Daemons
630 Requires: %{name} = %{version}-%{release}
632 %description vfs-default_quota
633 This VFS modules stores default quotas in a specified quota record.
635 %description vfs-default_quota -l pl.UTF-8
636 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
639 %package vfs-expand_msdfs
640 Summary: VFS module for hosting a Microsoft Distributed File System Tree
641 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
642 Group: Networking/Daemons
643 Requires: %{name} = %{version}-%{release}
645 %description vfs-expand_msdfs
646 A VFS module for hosting a Microsoft Distributed File System Tree.
648 The Distributed File System (DFS) provides a means of separating the
649 logical view of files and directories that users see from the actual
650 physical locations of these resources on the network. It allows for
651 higher availability, smoother storage expansion, load balancing, and
654 %description vfs-expand_msdfs -l pl.UTF-8
655 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
658 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
659 plików i katalogów widocznych przez użytkowników z fizycznego
660 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
661 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
663 %package vfs-fake_perms
664 Summary: VFS module to report read-only fires as writable
665 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
666 Group: Networking/Daemons
667 Requires: %{name} = %{version}-%{release}
669 %description vfs-fake_perms
670 This module allow Roaming Profile files and directories to be set (on
671 the Samba server under UNIX) as read only. This module will, if
672 installed on the Profiles share, report to the client that the Profile
673 files and directories are writeable. This satisfies the client even
674 though the files will never be overwritten as the client logs out or
677 %description vfs-fake_perms -l pl.UTF-8
678 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
679 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
680 przypadku zainstalowania na udziale z profilami będzie zgłaszał
681 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
682 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
683 lub wylogowywaniu klienta.
685 %package vfs-notify_fam
686 Summary: VFS module to implement file change notifications
687 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
688 Group: Networking/Daemons
689 Requires: %{name} = %{version}-%{release}
691 %description vfs-notify_fam
692 The vfs_notify_fam module makes use of the system FAM (File Alteration
693 Monitor) daemon to implement file change notifications for Windows
696 %description vfs-notify_fam -l pl.UTF-8
697 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
698 informowania o zmianach w plikach dla klientów Windows.
700 %package vfs-netatalk
701 Summary: VFS module for ease co-existence of Samba and netatalk
702 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę usług Samba i netatalk
703 Group: Networking/Daemons
704 Requires: %{name} = %{version}-%{release}
706 %description vfs-netatalk
707 Package contains a netatalk VFS module for ease co-existence of Samba
708 and netatalk file sharing services.
710 %description vfs-netatalk -l pl.UTF-8
711 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług Samba
712 i netatalk przy udostępnianiu zasobów.
715 Summary: VFS module to add recycle bin facility to a samba share
716 Summary(pl.UTF-8): Moduł VFS dodający funkcję kosza do zasobu Samby
717 Group: Networking/Daemons
718 Requires: %{name} = %{version}-%{release}
720 %description vfs-recycle
721 VFS module to add recycle bin facility to a samba share.
723 %description vfs-recycle -l pl.UTF-8
724 Moduł VFS dodający funkcję kosza do zasobu Samby.
726 %package vfs-readahead
727 Summary: VFS module for pre-loading the kernel buffer cache
728 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
729 Group: Networking/Daemons
730 Requires: %{name} = %{version}-%{release}
732 %description vfs-readahead
733 This VFS module detects read requests at multiples of a given offset
734 (hex 0x80000 by default) and then tells the kernel via either the
735 readahead system call (on Linux) or the posix_fadvise system call to
736 pre-fetch this data into the buffer cache.
738 This module is useful for Windows Vista clients reading data using the
739 Windows Explorer program, which asynchronously does multiple file read
740 requests at offset boundaries of 0x80000 bytes.
742 %description vfs-readahead -l pl.UTF-8
743 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
744 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
745 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
746 wczesnego odczytu tych danych do bufora cache.
748 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
749 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
750 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
753 %package vfs-readonly
754 Summary: VFS module for read-only limitation for specified share
755 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
756 Group: Networking/Daemons
757 Requires: %{name} = %{version}-%{release}
759 %description vfs-readonly
760 This module performs a read-only limitation for specified share (or
761 all of them if it is loaded in a [global] section) based on period
762 definition in smb.conf.
764 %description vfs-readonly -l pl.UTF-8
765 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
766 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
767 oparciu o definicje okresów w smb.conf.
769 %package vfs-shadow_copy
770 Summary: VFS module to make automatic copy of data in samba share
771 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
772 Group: Networking/Daemons
773 Requires: %{name} = %{version}-%{release}
775 %description vfs-shadow_copy
776 VFS module to make automatic copy of data in samba share.
778 %description vfs-shadow_copy -l pl.UTF-8
779 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
782 Summary: VFS module to fix Catia CAD filenames
783 Group: Networking/Daemons
784 Requires: %{name} = %{version}-%{release}
786 %description vfs-catia
787 The Catia CAD package commonly creates filenames that use characters
788 that are illegal in CIFS filenames. The vfs_catia VFS module
789 implements a fixed character mapping so that these files can be shared
792 %package vfs-scannedonly
793 Summary: Anti-virus solution as VFS module
794 Summary(pl.UTF-8): Rozwiązanie antywirusowe jako moduł VFS
795 Group: Networking/Daemons
796 Requires: %{name} = %{version}-%{release}
798 %description vfs-scannedonly
799 The vfs_scannedonly VFS module ensures that only files that have been
800 scanned for viruses are visible and accessible to the end user. If
801 non-scanned files are found an anti-virus scanning daemon is notified.
803 %description vfs-scannedonly -l pl.UTF-8
804 Moduł VFS vfs_scannedonly zapewnia, że tylko pliki, które zostały
805 wcześniej przeskanowane pod kątem wirusów, są widoczne i dostępne dla
806 użytkownika końcowego. Jeśli zostaną znalezione pliki nie
807 przeskanowane, powiadamiany jest antywirusowy demon skanujący.
809 %package vfs-shadow_copy
810 Summary: VFS module to make automatic copy of data in Samba share
811 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby
812 Group: Networking/Daemons
813 Requires: %{name} = %{epoch}:%{version}-%{release}
815 %description vfs-shadow_copy
816 VFS module to make automatic copy of data in Samba share.
818 %description vfs-shadow_copy -l pl.UTF-8
819 Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby.
821 %package -n openldap-schema-samba
822 Summary: Samba LDAP schema
823 Summary(pl.UTF-8): Schemat LDAP dla samby
824 Group: Networking/Daemons
825 Requires(post,postun): sed >= 4.0
826 Requires: openldap-servers
827 %if "%{_rpmversion}" >= "5"
831 %description -n openldap-schema-samba
832 This package contains samba.schema for OpenLDAP.
834 %description -n openldap-schema-samba -l pl.UTF-8
835 Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a.
838 Summary: Samba HTML documentation
839 Summary(pl.UTF-8): Documentacja samby w formacie HTML
842 %description doc-html
843 Samba HTML documentation.
845 %description doc-html -l pl.UTF-8
846 Documentacja samby w formacie HTML.
849 Summary: Samba documentation - PDF format
850 Summary(pl.UTF-8): Documentacja samby w formacie PDF
854 Samba PDF documentation.
856 %description doc-pdf -l pl.UTF-8
857 Documentacja samby w formacie PDF.
859 %package -n python-samba
860 Summary: Samba modules for Python
861 Summary(pl.UTF-8): Moduły Samby dla Pythona
862 Group: Development/Languages/Python
863 %pyrequires_eq python
864 Requires: %{name}-common = %{version}-%{release}
866 %description -n python-samba
867 Samba modules for Python.
869 %description -n python-samba -l pl.UTF-8
870 Moduły Samby dla Pythona.
873 %setup -q -n samba-%{version}
880 LDFLAGS="${LDFLAGS:-%rpmldflags}" \
881 CFLAGS="${CFLAGS:-%rpmcflags}" \
882 CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \
883 FFLAGS="${FFLAGS:-%rpmcflags}" \
884 FCFLAGS="${FCFLAGS:-%rpmcflags}" \
885 CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \
886 %{?__cc:CC="%{__cc}"} \
887 %{?__cxx:CXX="%{__cxx}"} \
890 --prefix=%{_prefix} \
891 --exec-prefix=%{_exec_prefix} \
892 --bindir=%{_bindir} \
893 --sbindir=%{_sbindir} \
894 --sysconfdir=%{_sysconfdir} \
895 --datadir=%{_datadir} \
896 --includedir=%{_includedir} \
897 --libdir=%{_libdir} \
898 --libexecdir=%{_libexecdir} \
899 --localstatedir=%{_localstatedir} \
900 --sharedstatedir=%{_sharedstatedir} \
901 --mandir=%{_mandir} \
902 --infodir=%{_infodir} \
903 --with-modulesdir=%{_sambalibdir} \
904 --with-pammodulesdir=/%{_lib}/security \
905 --with-lockdir=/var/lib/samba \
906 --with-privatedir=%{_sysconfdir}/samba \
908 --disable-rpath-install \
909 --builtin-libraries=ccan \
910 --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libtalloc:talloc},pytalloc,pytalloc-util,%{!?with_system_libtdb:tdb},pytdb,tevent,pytevent,ldb,pyldb,pyldb-util \
911 --private-libraries=smbclient,smbsharemodes,wbclient \
912 --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 \
914 --with%{!?with_ads:out}-ads \
920 --with%{!?with_ldap:out}-ldap \
924 --with-sendfile-support \
929 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
936 rm -rf $RPM_BUILD_ROOT
937 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
938 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
939 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
940 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir},%{_pkgconfigdir}}
943 DESTDIR=$RPM_BUILD_ROOT \
944 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
946 install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
948 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
949 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
950 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
951 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
952 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
953 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
954 install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
955 cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind
957 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib}
958 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib}
959 install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir}
961 # these are needed to build samba-pdbsql
962 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
963 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
964 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
965 %if %{without system_libtdb}
966 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
967 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
970 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
972 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
975 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
976 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
979 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
980 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
983 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
986 %if %{with system_libtdb}
987 # remove manuals of tdb if system lib used
988 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8*
989 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8*
990 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8*
993 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
994 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
995 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
998 rm -rf $RPM_BUILD_ROOT
1001 /sbin/chkconfig --add smb
1002 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1003 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1004 /sbin/service smb stop >&2
1005 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1006 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1007 if [ -d /var/lock/samba/printing ]; then
1008 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1010 /sbin/service smb start >&2
1012 %service smb restart "Samba daemons"
1016 if [ "$1" = "0" ]; then
1018 /sbin/chkconfig --del smb
1022 /sbin/chkconfig --add winbind
1023 %service winbind restart "Winbind daemon"
1026 if [ "$1" = "0" ]; then
1027 %service winbind stop
1028 /sbin/chkconfig --del winbind
1032 %service -q rc-inetd reload
1035 if [ "$1" = 0 ]; then
1036 %service -q rc-inetd reload
1039 %post -n openldap-schema-samba
1040 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1041 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1042 %service -q ldap restart
1044 %postun -n openldap-schema-samba
1045 if [ "$1" = "0" ]; then
1046 %openldap_schema_unregister %{schemadir}/samba.schema
1047 %service -q ldap restart
1051 %defattr(644,root,root,755)
1052 %attr(755,root,root) %{_sbindir}/nmbd
1053 %attr(755,root,root) %{_sbindir}/smbd
1054 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1055 #%attr(755,root,root) %{_bindir}/ad2oLschema4
1056 %attr(755,root,root) %{_bindir}/oLschema2ldif4
1057 %attr(755,root,root) %{_bindir}/reg*
1058 # "This utility disabled until rewritten"
1059 #%attr(755,root,root) %{_bindir}/setnttoken4
1060 %attr(755,root,root) %{_bindir}/smbstatus
1061 %attr(755,root,root) %{_bindir}/smbpasswd
1062 %attr(755,root,root) %{_bindir}/smbta-util
1063 %attr(755,root,root) %{_bindir}/smbcontrol
1065 %dir %{_libdir}/%{name}/idmap
1066 %attr(755,root,root) %{_libdir}/%{name}/idmap/autorid.so
1067 %{_mandir}/man8/idmap_autorid.8*
1068 %dir %{_libdir}/%{name}/pdb
1070 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1071 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1072 %attr(755,root,root) %{_vfsdir}/aio_fork.so
1073 %attr(755,root,root) %{_vfsdir}/crossrename.so
1074 %attr(755,root,root) %{_vfsdir}/dirsort.so
1075 %attr(755,root,root) %{_vfsdir}/fileid.so
1076 %attr(755,root,root) %{_vfsdir}/linux_xfs_sgid.so
1077 %attr(755,root,root) %{_vfsdir}/preopen.so
1078 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1079 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1080 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1081 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1082 %attr(755,root,root) %{_vfsdir}/syncops.so
1083 %attr(755,root,root) %{_vfsdir}/time_audit.so
1084 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1085 %{_mandir}/man8/vfs_acl_tdb.8*
1086 %{_mandir}/man8/vfs_acl_xattr.8*
1087 %{_mandir}/man8/vfs_crossrename.8*
1088 %{_mandir}/man8/vfs_dirsort.8*
1089 %{_mandir}/man8/vfs_fileid.8*
1090 %{_mandir}/man8/vfs_preopen.8*
1091 %{_mandir}/man8/vfs_shadow_copy2.8*
1092 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1093 %{_mandir}/man8/vfs_streams_xattr.8*
1094 %{_mandir}/man8/vfs_streams_depot.8*
1095 %{_mandir}/man8/vfs_time_audit.8*
1096 %{_mandir}/man8/vfs_xattr_tdb.8*
1099 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1100 %attr(754,root,root) /etc/rc.d/init.d/smb
1101 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1102 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1103 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1104 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1105 %{_mandir}/man1/log2pcap.1*
1106 %{_mandir}/man1/smbstatus.1*
1107 %{_mandir}/man1/smbcontrol.1*
1108 %{_mandir}/man5/smbpasswd.5*
1109 %{_mandir}/man7/samba.7*
1110 %{_mandir}/man8/nmbd.8*
1111 %{_mandir}/man8/smbd.8*
1112 %{_mandir}/man8/smbpasswd.8*
1113 %{_mandir}/man8/smbta-util.8*
1117 %ghost /var/lib/samba/*.dat
1118 %dir /var/lib/samba/printing
1120 %attr(750,root,root) %dir /var/log/samba
1121 %attr(750,root,root) %dir /var/log/samba/cores
1122 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1123 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1124 %attr(750,root,root) %dir /var/log/archive/samba
1125 %attr(1777,root,root) %dir /var/spool/samba
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) %{_sbindir}/winbindd
1133 %attr(755,root,root) %{_bindir}/wbinfo
1134 #%attr(755,root,root) %{_bindir}/wbinfo4
1135 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1136 %attr(755,root,root) /%{_lib}/libnss_winbind*
1137 %attr(754,root,root) /etc/rc.d/init.d/winbind
1138 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1139 %{_mandir}/man1/wbinfo*.1*
1140 %{_mandir}/man5/pam_winbind.conf.5*
1141 %{_mandir}/man8/pam_winbind.8*
1142 %{_mandir}/man8/winbindd*.8*
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) /%{_lib}/libnss_wins*
1149 %defattr(644,root,root,755)
1150 %attr(755,root,root) %{_bindir}/cifsdd4
1151 %attr(755,root,root) %{_bindir}/net4
1152 %attr(755,root,root) %{_bindir}/nmblookup4
1153 %attr(755,root,root) %{_bindir}/smbclient4
1154 %attr(755,root,root) %{_bindir}/setnttoken4
1155 %attr(755,root,root) %{_bindir}/smbtorture4
1156 %attr(755,root,root) %{_bindir}/findsmb
1157 %attr(755,root,root) %{_bindir}/net
1158 %attr(755,root,root) %{_bindir}/nmblookup
1159 %attr(755,root,root) %{_bindir}/rpcclient
1160 %attr(755,root,root) %{_bindir}/sharesec
1161 %attr(755,root,root) %{_bindir}/smbcacls
1162 %attr(755,root,root) %{_bindir}/smbclient
1163 %attr(755,root,root) %{_bindir}/smbsh
1164 %attr(755,root,root) %{_bindir}/smbtar
1165 %attr(755,root,root) %{_bindir}/smbtree
1166 %{_mandir}/man1/findsmb.1*
1167 %{_mandir}/man1/nmblookup.1*
1168 %{_mandir}/man1/rpcclient.1*
1169 %{_mandir}/man1/sharesec.1*
1170 %{_mandir}/man1/smbcacls.1*
1171 %{_mandir}/man1/smbclient.1*
1172 %{_mandir}/man1/smbsh.1*
1173 %{_mandir}/man1/smbtar.1*
1174 %{_mandir}/man1/smbtree.1*
1175 %{_mandir}/man8/net.8*
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_bindir}/getntacl4
1180 %attr(755,root,root) %{_bindir}/ndrdump4
1181 %attr(755,root,root) %{_bindir}/ntlm_auth4
1182 %attr(755,root,root) %{_bindir}/testparm4
1183 %doc README Manifest WHATSNEW.txt
1184 %doc Roadmap docs/registry/*
1185 %doc docs/{history,THANKS}
1186 %dir %{_sysconfdir}/samba
1187 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1188 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1189 %attr(755,root,root) %{_bindir}/eventlogadm
1190 %attr(755,root,root) %{_bindir}/ntlm_auth
1191 %attr(755,root,root) %{_bindir}/pdbedit
1192 %attr(755,root,root) %{_bindir}/profiles
1193 %attr(755,root,root) %{_bindir}/smbcquotas
1194 %attr(755,root,root) %{_bindir}/testparm
1195 %attr(755,root,root) %{_bindir}/vfstest
1196 %dir %{_libdir}/%{name}
1197 %{_libdir}/%{name}/*.dat
1198 %dir %{_libdir}/%{name}/auth
1199 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1200 %dir %{_libdir}/%{name}/charset
1201 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1202 %{_mandir}/man1/ntlm_auth.1*
1203 %{_mandir}/man1/profiles.1*
1204 %{_mandir}/man1/smbcquotas.1*
1205 %{_mandir}/man1/testparm.1*
1206 %{_mandir}/man1/vfstest.1*
1207 #%{_mandir}/man1/log2pcap.1*
1208 %{_mandir}/man5/lmhosts.5*
1209 %{_mandir}/man5/smb.conf.5*
1210 %{_mandir}/man8/pdbedit.8*
1211 %{_mandir}/man8/eventlogadm.8*
1212 %{_mandir}/man8/idmap_ad.8*
1213 %{_mandir}/man8/idmap_adex.8*
1214 %{_mandir}/man8/idmap_hash.8*
1215 %{_mandir}/man8/idmap_ldap.8*
1216 %{_mandir}/man8/idmap_nss.8*
1217 %{_mandir}/man8/idmap_rid.8*
1218 %{_mandir}/man8/idmap_tdb.8*
1219 %{_mandir}/man8/idmap_tdb2.8*
1222 %defattr(644,root,root,755)
1223 #%doc swat/README* swat/help/*
1225 %attr(755,root,root) %{_sbindir}/swat
1226 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1227 %dir %{_datadir}/swat
1228 %{_datadir}/swat/help
1229 %{_datadir}/swat/images
1230 %{_datadir}/swat/include
1231 %dir %{_datadir}/swat/lang
1232 %lang(ja) %{_datadir}/swat/lang/ja
1233 %lang(tr) %{_datadir}/swat/lang/tr
1234 %lang(de) %{_libdir}/%{name}/de.msg
1235 %{_libdir}/%{name}/en.msg
1236 %lang(fi) %{_libdir}/%{name}/fi.msg
1237 %lang(fr) %{_libdir}/%{name}/fr.msg
1238 %lang(it) %{_libdir}/%{name}/it.msg
1239 %lang(ja) %{_libdir}/%{name}/ja.msg
1240 %lang(nl) %{_libdir}/%{name}/nl.msg
1241 %lang(pl) %{_libdir}/%{name}/pl.msg
1242 %lang(ru) %{_libdir}/%{name}/ru.msg
1243 %lang(tr) %{_libdir}/%{name}/tr.msg
1244 %{_mandir}/man8/swat.8*
1246 %files -n pam-pam_smbpass
1247 %defattr(644,root,root,755)
1248 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1249 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1251 %files -n libsmbclient
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1254 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1255 %{_mandir}/man7/libsmbclient.7*
1257 %files -n libsmbclient-devel
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/libsmbclient.so
1260 %attr(755,root,root) %{_libdir}/libwbclient.so
1261 %{_includedir}/libsmbclient.h
1262 %{_includedir}/wbclient.h
1263 %{_pkgconfigdir}/smbclient.pc
1264 %{_pkgconfigdir}/wbclient.pc
1266 %if %{without system_libtalloc}
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1271 %files -n libtalloc-devel
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_libdir}/libtalloc.so
1274 %{_includedir}/talloc.h
1277 %if %{without system_libtdb}
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_bindir}/tdbbackup
1281 %attr(755,root,root) %{_bindir}/tdbdump
1282 %attr(755,root,root) %{_bindir}/tdbtool
1283 %attr(755,root,root) %{_bindir}/tdbbackup4
1284 %attr(755,root,root) %{_bindir}/tdbdump4
1285 %attr(755,root,root) %{_bindir}/tdbtool4
1286 %attr(755,root,root) %{_bindir}/tdbtorture4
1287 %attr(755,root,root) %{_libdir}/libtdb.so.*
1288 %{_mandir}/man8/tdbbackup.8*
1289 %{_mandir}/man8/tdbdump.8*
1290 %{_mandir}/man8/tdbtool.8*
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/libtdb.so
1295 %{_includedir}/tdb.h
1299 %defattr(644,root,root,755)
1300 %{_includedir}/%{name}
1302 %files -n libsmbclient-static
1303 %defattr(644,root,root,755)
1304 %{_libdir}/libsmbclient.a
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_bindir}/smbget
1309 %{_mandir}/man1/smbget.1*
1310 %{_mandir}/man5/smbgetrc.5*
1313 %files -n cups-backend-smb
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_bindir}/smbspool
1316 %attr(755,root,root) %{cups_serverbin}/backend/smb
1317 %{_mandir}/man8/smbspool.8*
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_vfsdir}/audit.so
1323 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1324 %attr(755,root,root) %{_vfsdir}/full_audit.so
1325 %{_mandir}/man8/vfs_audit.8*
1326 %{_mandir}/man8/vfs_extd_audit.8*
1327 %{_mandir}/man8/vfs_full_audit.8*
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_vfsdir}/cap.so
1332 %{_mandir}/man8/vfs_cap.8*
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_vfsdir}/catia.so
1337 %{_mandir}/man8/vfs_catia.8*
1339 %files vfs-default_quota
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_vfsdir}/default_quota.so
1342 %{_mandir}/man8/vfs_default_quota.8*
1344 %files vfs-expand_msdfs
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1348 %files vfs-fake_perms
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1351 %{_mandir}/man8/vfs_fake_perms.8*
1353 %files vfs-notify_fam
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1356 %{_mandir}/man8/vfs_notify_fam.8*
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_vfsdir}/netatalk.so
1361 %{_mandir}/man8/vfs_netatalk.8*
1363 %files vfs-readahead
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_vfsdir}/readahead.so
1366 %{_mandir}/man8/vfs_readahead.8*
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_vfsdir}/readonly.so
1371 %{_mandir}/man8/vfs_readonly.8*
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_vfsdir}/recycle.so
1376 %{_mandir}/man8/vfs_recycle.8*
1378 %files vfs-scannedonly
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_vfsdir}/scannedonly.so
1381 %{_mandir}/man8/vfs_scannedonly.8*
1383 %files vfs-shadow_copy
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1386 %{_mandir}/man8/vfs_shadow_copy.8*
1389 %files -n openldap-schema-samba
1390 %defattr(644,root,root,755)
1391 %{schemadir}/samba.schema
1395 %defattr(644,root,root,755)
1396 %doc docs/htmldocs/*
1399 %defattr(644,root,root,755)
1403 %files -n python-samba
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{py_sitedir}/*.so
1406 %dir %{py_sitedir}/samba
1407 %attr(755,root,root) %{py_sitedir}/samba/*.so
1408 %{py_sitedir}/samba/*.py[co]
1409 %dir %{py_sitedir}/samba/dcerpc
1410 %{py_sitedir}/samba/dcerpc/*.py[co]
1411 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1412 %dir %{py_sitedir}/samba/tests
1413 %{py_sitedir}/samba/tests/*.py[co]
1414 %dir %{py_sitedir}/samba/tests/dcerpc
1415 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1416 %dir %{py_sitedir}/samba/torture
1417 %{py_sitedir}/samba/torture/*.py[co]