Commit Graph

261 Commits

Author SHA256 Message Date
Lars Müller
e40719959a - Update to 4.1.0rc2.
+ Add vfs_btrfs module.
  + Add support for server-side copy operations via the
    SMB2 FSCTL_SRV_COPYCHUNK request.
  + Fix replication with --domain-crictical-only to fill in backlinks;
    (bso#9029).
  + Windows 8 Roaming profiles fail; (bso#9678).
  + Fix crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol";
  + Windows error 0x800700FE when copying files with xattr names containing
    ":"; (bso#9992).
  + Do not delete an existing valid credential cache (s3-winbind); (bso#9994).
  + Fix segfault while reading incomplete session info; (bso#10003).
  + Missing integer wrap protection in EA list reading can cause server to
    loop with DOS (CVE-2013-4124); (bso#10010).
  + Fix a 100% loop at shutdown time (smbd); (bso#10013).
  + Rename regedit to samba-regedit; (bso#10040).
  + Remove obsolete swat manpage and references; (bso#10041).
  + Fix crashes in socket_get_local_addr(); (bso#10042).
  + Remove a redundant inlined substitution of ACLs; (bso#10045).
  + nsswitch: Add OPT_KRB5CCNAME to avoid an error message; (bso#10048).
  + dsdb improvements; (bso#10056).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=335
2013-09-03 15:28:04 +00:00
Lars Müller
a8653bd015 Move optinal passdb_backend_defaults_smbpasswd patch to the end of the
series file

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=334
2013-08-31 23:14:24 +00:00
Lars Müller
9a1c69dd35 BuildRequire pyldb-devel.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=333
2013-08-29 12:50:38 +00:00
Lars Müller
9c13bb87ec Add libnetapi0 and samba-libs to baselibs.conf.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=332
2013-08-28 20:11:16 +00:00
Lars Müller
0892897a96 Remove samba-doc to get the 4.0.x sources into openSUSE Factory.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=331
2013-08-28 11:01:02 +00:00
David Disseldorp
bde3cd312b Accepting request 196048 from home:dmdiss:409_factory
- Update to 4.0.9.
  + Fix crash of Winbind after "ls -l /usr/local/samba/var/locks/sysvol";
    (bso#9820).
  + s3-lib: Fix segmentation fault while reading incomplete session info;
    (bso#10003).
  + smbd: Fix a 100% loop at shutdown time; (bso#10013).
  + Windows 8 Roaming profiles fail; (bso#9678).
  + Add UPN enumeration to passdb internal API; (bso#9779).
  + smbd: Cleanup disonnected durable handles; (bso#9930).
  + vfs_streams_xattr: Do not attempt to write empty attribute twice;
    (bso#9970).
  + Fix Windows error 0x800700FE when copying files with xattr names
    containing ":"; (bso#9992).
  + s3-winbind: Do not delete an existing valid credential cache; (bso#9994).
  + Fix excessive RID allocation; (bso#10014).
  + Add debugclass for DNS server; (bso#10015).
  + Fix/improve debug options; (bso#10015).
  + Allow to change the default location for Kerberos credential caches;
    (bso#10043).
  + Linux kernel oplock breaks can miss signals; (bso#10064).
  + net ads join: Fix segmentation fault in
    create_local_private_krb5_conf_for_domain; (bso#10073).

OBS-URL: https://build.opensuse.org/request/show/196048
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=330
2013-08-23 07:59:04 +00:00
Lars Müller
8a2d5c6b32 Remove duplicate CVE-2013-4124 reference from the package change log.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=329
2013-08-05 15:26:18 +00:00
Lars Müller
9cdfae931b Update to 4.0.8.
+ Samba 3.0.x to 4.0.7 are affected by a denial of service attack on
  authenticated or guest connections; CVE-2013-4124; (bnc#829969).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=328
2013-08-05 11:09:19 +00:00
Lars Müller
9bad020dfe Samba 3.0.x to 4.0.7 are affected by a denial of service attack on
authenticated or guest connections; CVE-2013-4124; (bnc#829969).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=327
2013-08-05 10:38:57 +00:00
Lars Müller
3d0091e871 Require krb5 and not the non existing krb5-libs package.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=326
2013-07-22 08:45:18 +00:00
Lars Müller
bd912ad374 - BuildRequire perl ExtUtils::MakeMaker and Parse::Yapp.
- BuildRequire libxslt, libxslt1, or libxslt-tools depending on SUSE version.
- Require perl-base on SUSE systems only.

- Adjust group setting of the test-devel subpackage.
- Require perl-base from the pidl subpackage.

- Remove libdir/samba/ldb after install if we're building Samba without
  Active Directory Domain Controller support.

- Remove unused ccache switch from the spec file.

- BuildRequire docbook-xsl-stylesheets and libxslt-tools to build the
  man pages and add them to the package again.

- Build from the package from the top level directory; (bnc#794744).
- BuildRequire pytalloc-devel, python-tdb, and python-tevent.
- Also use out of tree builds of talloc, tdb, tevent, and ldb for pre-12.1
  SUSE systems.
- Update to 4.0.7.
  + Fix a core dump with invalid lock order while opening/editing
    or copying MS files; (bso#9794).
  + Fix crash bug from search of mail=; (bso#9967).
  + s3-rpc_server: Ensure we are root when starting and using gensec;
    (bso#9465).
  + Add support for MX queries; (bso#9485).
  + dns: Delete dnsNode objects when they are empty; (bso#9559).
  + dns: Support larger queries when asking forwarder; (bso#9632).
  + s3:lib/server_mutex: Open mutex.tdb with CLEAR_IF_FIRST; (bso#9805).
  + Use of wrong RFC2307 primary group field; (bso#9880).

  + Check for system libtevent; (bso#9881).
  + is_printer_published GUID retrieval; (bso#9900).
  + Doc fixes for 4.0; (bso#9906).
  + Build fixes for 4.0 found during autoconf or debian packaging work;
    (bso#9907).
  + build: Add missing new line to replaced python shebang line; (bso#9909).
  + PIE builds not supported; (bso#9910).
  + s4:winbind: Don't leak libnet_context into the main event context;
    (bso#9929).
  + Fix a bug of drvupgrade of smbcontrol; (bso#9941).
  + Check for netbios aliases in ad_get_referrals; (bso#9947).
  + Fix tevent_poll on 32-bit machines (Coverity ID 989236); (bso#9953).
  + docs: Avoid mentioning a possibly misleading option; (bso#9964).
  + Fix build with system Heimdal of samba4kgetcred; (bso#9968).
- Update to 4.0.6.
  + Fix crash during Win8 sync; (bso#9822).
  + Fix segfault when loging in with wrong password from w2k8r2; (bso#9834).
  + Fix the username map optimization; (bso#9139).
  + Add support for PFC_FLAG_OBJECT_UUID when parsing packets; (bso#9382).
  + SMB2 server doesn't support recvfile; (bso#9412).
  + Fix the build of vfs_notify_fam; (bso#9545).
  + Fix adding case sensitive spn; (bso#9699).
  + Properly handle oplock breaks in compound requests; (bso#9722).
  + Properly handle oplock breaks in compound requests; (bso#9722).
  + Cache name_to_sid/sid_to_name correctly; (bso#9766).
  + Fix 'net ads join' when called via stdin; (bso#9767).
  + Fix segfault for "artificial" conn_structs in vfs_fake_perms; (bso#9775).
  + vfs_dirsort uses non-stackable calls, dirfd(), malloc instead of talloc and
    doesn't cope with directories being modified whilst reading; (bso#9777).
  + Fix panic when running 'smbtorture smb.base'; (bso#9782).
  + Use specified python for runtime installation of Samba; (bso#9785).
  + Change '--with-dmapi' to 'default=auto' to match the autoconf build;
    (bso#9803).
  + wafsamba: Display the default value in help for SAMBA3_ADD_OPTION;
    (bso#9804).
  + wbinfo: Fix segfault in wbinfo_pam_logon; (bso#9807).
  + Package new dbwrap_tool man page; (bso#9809).
  + Old DOS SMB CTEMP request uses a non-VFS function to access
    the filesystem; (bso#9811).
  + Fix 'map untrusted to domain' with NTLMv2; (bso#9817).
  + SMB signing and the async echo responder don't work together; (bso#9824).
  + Fix panic in nt_printer_publish_ads; (bso#9830).
  + talloc use after free in winbind4; (bso#9832).
  + Function called in unix_convert() path can overwrite errno; (bso#9833).
  + Fix NULL pointer dereference in Winbind; (bso#9854).
  + Fix making LIBNDR_PREG_OBJ; (bso#9868).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=325
2013-07-17 18:47:19 +00:00
Lars Müller
35417f7d2e - Remove the empty data dir from the doc package filelist.
- Explicitly use samba instead of the name macro to define the docbook dir.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=324
2013-07-05 19:12:59 +00:00
Lars Müller
90b80ac601 Remove references to SWAT.
This is only in the samba-doc package.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=323
2013-07-03 16:06:07 +00:00
David Disseldorp
d13d485b9c - PIDL: fix parsing linemarkers in preprocessor output; (bso#9636).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=322
2013-07-02 13:53:34 +00:00
Lars Müller
069fa9ce4b Use SLE as product prefix for SUSE Linux Enterprise, oS for openSUSE, and
OBS for any other operating system to define the vendor string while build.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=321
2013-07-01 18:00:56 +00:00
Lars Müller
09d62fab58 Remove obsoleted ldapsmb-1.34b tar ball.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=320
2013-07-01 15:34:24 +00:00
Lars Müller
5f1ef52525 Remove ldapsmb from the main spec file.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=319
2013-06-28 17:10:44 +00:00
Lars Müller
75bbf329a6 Remove -u option while calling pod2man as this leads to failing builds
with older products.  This adjusts the revious commit.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=318
2013-06-26 15:45:03 +00:00
Lars Müller
a59f138b10 Adjust ldapsmb and nmbstatus man page syntax required by a newer pod2man.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=317
2013-06-26 15:14:11 +00:00
Lars Müller
1fcb9e404b Don't bzip2 the main tar ball, use the upstream gziped one instead.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=316
2013-06-25 17:34:03 +00:00
Lars Müller
6bb642ad9b Explicitly BuildRequire cyrus-sasl-devel, libattr-devel, and
libopenssl-devel.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=315
2013-06-25 16:28:55 +00:00
Lars Müller
f10d1497b0 Accepting request 180670 from home:jengelh:attr
- Explicitly list BuildRequires previously implicitly sourced

OBS-URL: https://build.opensuse.org/request/show/180670
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=314
2013-06-25 16:27:09 +00:00
Lars Müller
93417315ec - Update to 3.6.16.
+ Fix crash bug during Win8 sync; (bso#9822).
  + Properly handle Oplock breaks in compound requests; (bso#9722).

- Fix crash bug during Win8 sync; (bso#9822).
- Check for system libtevent and link dbwrap_tool and dbwrap_torture against
  it; (bso#9881).
- errno gets overwritten in call to check_parent_exists(); (bso#9927).
- Fix a bug of drvupgrade of smbcontrol; (bso#9941).

- Document idmap_ad rfc2307 attribute requirements; (bso#9880); (bnc#820531).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=313
2013-06-21 14:38:15 +00:00
Lars Müller
b511916294 Don't package the SWAT man page while its build is disabled; (bnc#816647).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=312
2013-06-14 10:22:01 +00:00
Lars Müller
3b01ef5db4 Don't install the tdb utilities man pages on post-12.1 systems; (bnc#823549).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=311
2013-06-06 12:32:42 +00:00
Lars Müller
fc02af5ea1 Remove hunks which are already present upstream from
patches/suse/docs-document-the-publish-smb.conf-parameter.patch

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=310
2013-06-05 17:43:12 +00:00
Lars Müller
2150e561d8 Rearrange the package change log to be in chronological order again.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=309
2013-06-05 15:20:27 +00:00
David Disseldorp
450246b104 - Fix libreplace license ambiguity; (bso#8997); (bnc#765270).
- s3-docs: Remove "experimental" label on "max protocol=SMB2" parameter;
  (bso#9688).
- Remove the compound_related_in_progress state from the smb2 global state;
  (bso#9722).
- Makefile: Don't know how to make LIBNDR_PREG_OBJ; (bso#9868).
- Fix is_printer_published GUID retrieval; (bso#9900); (bnc#798856).
- Don't modify the pidfile name when a custom config file path is used;
  (bnc#812929).
- Fix AD printer publishing; (bso#9378); (bnc#798856).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=308
2013-06-05 13:01:53 +00:00
Lars Müller
c8e186c44f - Update to 3.6.15.
+ Fix crash bug in Winbind; (bso#9854).

- Add support for PFC_FLAG_OBJECT_UUID when parsing packets; (bso#9382).
- Fix "guest ok", "force user" and "force group" for guest users; (bso#9746).
- Fix 'map untrusted to domain' with NTLMv2; (bso#9817).
- Fix crash bug in Winbind; (bso#9854).

- Fix panic in nt_printer_publish_ads; (bso#9830).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=307
2013-05-08 12:43:57 +00:00
Lars Müller
b2a88feb2d Use the correct version number in the package change log too.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=306
2013-04-29 17:46:02 +00:00
Lars Müller
7ba18c1a0c - Update to 3.6.13.
+ Certain xattrs cause Windows error 0x800700FF; (bso#9130).
- Exclude dbwrap_tool man page from the list of packaged files.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=305
2013-04-29 13:01:48 +00:00
Lars Müller
b3f5767936 - Remove disabled and anyhow obsoleted net-report and net_rpc_migrate patches.
- wbinfo: fix segfault in wbinfo_pam_logon; (bso#9807).
- docs: Fix missing entry in specfile; (bso#9809).
- Old DOS SMB CTEMP request uses a non-VFS function to access the filesystem;
  (bso#9811).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=304
2013-04-26 16:26:10 +00:00
Lars Müller
a63056bb19 - Certain xattrs cause Windows error 0x800700FF; (bso#9130).
- Fix the username map optimization; (bso#9139); (bnc#815994).
- Fix adding case sensitive spn; (bso#9699).
- Add a tool to migrate latin1 printing tdb's to registry; (bso#9723).
- is_encrypted_packet() function incorrectly used inside server; (bso#9724).
- wkssvc: Fix NULL pointer dereference; (bso#9727).
- smbcontrol close-share is not working; (bso#9733).
- Fix winbind seperator in upn to username conversion; (bso#9735).
- Change to smbd/dir.c code gives significant performance increases on large directory listings; (bso#9736).
- When creating a directory Samba allows inherited bit to slip through; (bso#9747).
- Remove unneeded fstat system call from hot read path; (bso#9748).
- Cache name_to_sid/sid_to_name correctly; (bso#9766).
- vfs_fake_perms: Fix segfault for "artificial" conn_structs; (bso#9775).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=303
2013-04-18 22:13:06 +00:00
David Disseldorp
0694202ce7 - Fix periodic printcap cache reloads; (bso#9650); (bnc#807334).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=302
2013-04-04 16:59:33 +00:00
Lars Müller
d19c5d7d80 Add installed dbwrap_tool.1 man page to the file list.
This might be a bug.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=301
2013-04-03 22:00:28 +00:00
Lars Müller
9c3c48a6f2 Remove by 3.6.13 obsoleted patches.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=300
2013-04-03 21:09:55 +00:00
Lars Müller
07c48effb2 - Update to 3.6.13.
+ Fix two resource leaks in winbindd; (bso#9684).
  + Unlink after open causes smbd to panic; (bso#9571).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=299
2013-04-03 20:57:20 +00:00
Lars Müller
9e1db13fd3 - Fix GNU ld version detection with old gcc releases; (bso#7825).
- 'map untrusted to domain' treats WORKSTATION as bogus domain; (bso#9039).
- Add extra attributes for AD printer publishing; (bso#9378).
- Downgrade v4 printer driver requests to v3; (bso#9474).
- Samba returns unexpected error on SMB posix open; (bso#9519).
- Add support for posix_openpt; (bso#9541).
- Add dbwrap_tool.1 manual page; (bso#9568).
- Unlink after open causes smbd to panic; (bso#9571).
- Fix a possible null pointer dereference in spoolss; (bso#9574).
- Samba 3.6.x not correctly signing any but the last response in a compound
  request/response; (bso#9585).
- "smbd[pid]: disk_free: sys_popen() failed" message logged in
  /var/log/messages many times; (bso#9586).
- Archive flag is always set on directories; (bso#9587).
- ACLs are not inherited to directories for DFS shares; (bso#9588).
- wbcAuthenticateEx gives unix times; (bso#9625).
- Renaming directories as guest user in security share mode doesn't work;
  (bso#9637).
- Make SMB2_GETINFO multi-volume aware; (bso#9646).
- Fix initial large PAC sess setup response; (bso#9658).
- Fix two resource leaks in winbindd; (bso#9684).
- Fix a possible buffer overrun in pdb_smbpasswd; (bso#9686).
- Fix vfs_catia module; (bso#9701).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=298
2013-04-03 20:41:41 +00:00
Lars Müller
324e80361d - No longer use the cifs- or smbfstab named configuration file on post-12.2
systems; (bnc#804822).

- Shift the smbfs init script nfs dependency from Required to Should.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=297
2013-02-26 13:39:34 +00:00
Lars Müller
34c235a967 Hyphenate the word just-built in the change log.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=296
2013-02-08 22:38:28 +00:00
Lars Müller
67a5cc23ee - Point LD_LIBRARY_PATH to the just built libraries while calling testparm to
generate the default share snippets on pre-12.2 systems.

- Fix smbclient recursive mget EPERM handling; (bso#9633); (bnc#786350).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=295
2013-02-08 22:01:17 +00:00
Lars Müller
723cc279ce Revert to r292 state.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=294
2013-02-07 15:10:28 +00:00
Lars Müller
2d78bd6633 Remove superfluous quotation marks while setting the
SAMBA_VERSION_VENDOR_SUFFIX string.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=293
2013-02-07 12:56:02 +00:00
Lars Müller
dbcf114b68 Do not restart the smbfs service on pre-11.3 systems during dhcp lease
renewal when the IP address remains the same; (bnc#800782).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=292
2013-02-06 15:56:00 +00:00
Lars Müller
85a9746bea - Update to 3.6.12.
+ Address SWAT security issues CVE-2013-0213 and CVE-2013-0214 which both
    don't apply to any SUSE Samba post-3.6.10 as it isn't longer built.
  + Don't build and package static libraries.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=291
2013-01-31 17:41:16 +00:00
Lars Müller
783ad3265e Drop separate build-source-timestamp file as it led to a second, incorrect
Source Timestamp line.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=290
2013-01-31 16:37:04 +00:00
Lars Müller
7727435242 Without SWAT we don't need the translated SWAT messages.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=289
2013-01-23 14:27:24 +00:00
Lars Müller
297f7f7270 Merge of missing package change log hunks.
- defer_open is triggered multiple times on the same request; (bso#9196).
- Fix SEGV when using second vfs module; (bso#9471).
- Correctly detect O_DIRECT; (bso#9548).
- Mask off signals the correct way from the signal handler; (bso#9550).
- ntlm_auth.1: Fix format and make examples visible; (bso#9569).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=288
2013-01-23 13:12:10 +00:00
Lars Müller
d099b20a5b Going back to 3.6.11 to feed openSUSE:Factory/ 12.3.
- Update to 3.6.11.
  + defer_open is triggered multiple times on the same request; (bso#9196).
  + Fix SEGV when using second vfs module; (bso#9471).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=287
2013-01-23 12:33:19 +00:00
Lars Müller
24f980bd63 Add filter against shlib-policy-name-error for /lib*/libnss_wins.so.2.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=286
2013-01-21 22:39:59 +00:00