Commit Graph

225 Commits

Author SHA256 Message Date
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
Lars Müller
622a44dace - Disable SWAT during configure and don't package it any longer.
- Remove dangling references to Heimdal from the spec file.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=285
2013-01-21 11:39:03 +00:00
Lars Müller
e8d8409982 - Remove /lib/samba prefix from the localstatedir configure option.
- Update to 4.0.1.
  + Samba 4.0.0 as an AD DC may provide authenticated users with write access
    to LDAP directory objects; CVE-2013-0172; (bnc#798364).

- Remove references to no longer used devel macros.

- Update to 4.0.0.
  + Honor password complexity settings; (bso#9414).
  + Install SWAT *.msg files with waf; (bso#9415).
  + Fix netr_ServerPasswordSet2, netr_LogonSamLogon with netlogon AES;
    (bso#9438).
  + developer-build: Fix panic when acl_xattr fails with access denied;
    (bso#9456).
  + Fix "map username script" with "security=ads" and Winbind; (bso#9457).
  + Install manpages only if we install the target; (bso#9459).
  + Respond correctly to FILE_STREAM_INFO requests; (bso#9460).
  + Users can not be given write permissions any more by default; (bso#9462).
  + Fix MMC crashes; (bso#9470).
  + Fix SEGV when using second vfs module; (bso#9471).
  + Support FIPS mode when building Samba; (bso#9479).
  + Fix ACL on "cn=partitions,cn=configuration"; (bso#9481).

- Update to 4.0.0rc6.
  See WHATSNEW.txt from the samba-doc package.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=284
2013-01-18 17:07:45 +00:00
Lars Müller
6bb39e19ee Add the missing get_printing_ticket binary path while calling the
set_permissions macro; (bnc#783375).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=283
2013-01-09 22:15:41 +00:00
Lars Müller
a201af31f7 Use the version macro while definition of the branch macro.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=282
2012-12-23 16:03:05 +00:00
Lars Müller
365e6a296a Use correct branch name. This needs further attention/ enhancement.
We better might use %{version} plus the PTF or LTSS suffix if required.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=281
2012-12-22 23:40:34 +00:00
Lars Müller
3b155431c0 SEGV when using second vfs module; (bso#9471).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=280
2012-12-10 22:35:46 +00:00
Lars Müller
a94824ca8e - Update to 3.6.10.
+ Respond correctly to FILE_STREAM_INFO requests; (bso#9460).
  + Fix segfault when "default devmode" is disabled; (bso#9433).
  + Fix segfaults in "log level = 10" on Solaris; (bso#9390).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=279
2012-12-10 11:40:59 +00:00
Lars Müller
57ca2815bc Remove duplicat changelog line for (bso#9436); (bnc#786677).
Package change log comment:
Fix fd leak causing 100% CPU in winbind on certain dc connection 
failures; (bso#9436); (bnc#786677).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=278
2012-12-08 22:47:43 +00:00
Lars Müller
23b4019fb4 - Fix MD5 detection in the autoconf build; (bso#9037); (bso#9086); (bso#9094);
(bso#9418).
- Use work around for 'winbind use default domain' only if it is set;
  (bso#9367).
- Allow smb2.acls torture test to pass against smbd with a POSIX ACLs backend;
  (bso#9374).
- large read requests cause server to issue malformed reply; (bso#9422).
- s3-rpc_client: lookup nametype 0x20 in rpc_pipe_open_tcp_port(); (bso#9426).
- Fix leaking sockets of SMB connections to a DC; (bso#9436).
- Fix ncacn_ip_tcp reconnection code for lsa lookups; (bso#9439).
- Allow to force DNS updates using net; (bso#9451).
- Respond correctly to FILE_STREAM_INFO requests; (bso#9460).

- Fix spoolss segfault when default devmode is disabled; (bso#9433);
  (bnc#791183).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=277
2012-12-08 19:22:39 +00:00
Lars Müller
e7ce52cb96 Recommends is limited to SUSE based systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=276
2012-12-04 21:25:35 +00:00
Lars Müller
39a84b9c71 On uninstall remove winbind from the pam configuration, invalidate the nscd
passwd and group cache and only recommend the install of nscd; (bnc#792340).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=275
2012-12-04 21:12:47 +00:00
Lars Müller
13328d4aa3 BuildRequire libnscd-devel once.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=274
2012-12-03 18:11:44 +00:00
Lars Müller
3eab906995 Add missing %endif
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=273
2012-12-02 22:18:30 +00:00
Lars Müller
daf782f4b6 - Remove obsoleted references to pre-9.4 SUSE systems; (bnc#792294).
- Add SUSE version depending pkg-config requires macro; (bnc#792294).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=272
2012-12-02 22:09:01 +00:00
Lars Müller
4f0d87b6be Add missing reference to bnc#792294 in the package change log
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=271
2012-12-02 19:18:36 +00:00
Lars Müller
4d24eeb8bb - Define library names and use it instead of libldb1, libnetapi0,
libsmbclient0, libsmbsharemodes0, libtalloc2, libtdb1, libtevent0, and
  libwbclient0.
- Provide and obsolete libsmbsharemodes for post-10.3 SUSE systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=270
2012-12-02 16:24:49 +00:00
Lars Müller
ded32954f6 Shift 'Source timestamp' and 'Branch' line in the spec file back to the
old position.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=269
2012-12-01 20:05:19 +00:00
Lars Müller
89ce03c8c7 Don't clutter the spec file diff view; (bnc#783384).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=268
2012-11-30 20:34:48 +00:00
David Disseldorp
4ec00e0e1f Add bnc#790741 reference for bso#8769: Fix RAW printing for normal users.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=267
2012-11-22 18:44:20 +00:00
Lars Müller
c9634f7853 Add reference to bnc 779269, 787983, and 788159 to the package change log.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=266
2012-11-22 17:29:54 +00:00
Lars Müller
d7f7767b74 - ACL masks incorrectly applied when setting ACLs; (bso#9236).
- s3-kerberos: also try with AES keys, when decrypting tickets; (bso#9272).
- lib/replace: replace all *printf function if we replace snprintf; (bso#9390).
- lib/addns: don't depend on the order in resp->answers[]; (bso#9402).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=265
2012-11-16 19:12:09 +00:00
Lars Müller
10ae381be8 - s4:torture/smb2: improve the smb2.create.blob tes; (bso#9209).
- lib/krb5_wrap: request enc_types in the correct order; (bso#9272).
- Fix net ads join message for the dns domain; (bso#9326).
- docs-xml: fix use of <smbconfoption> tag; (bso#9345).
- s3-aio_pthread: Optimize aio_pthread_handle_completion; (bso#9359).
- s3:winbind: Failover if netlogon pipe is not available; (bso#9386).
- Execute the run_permissions macro on pre-11.4 systems and else the
  set_permission one if available.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=264
2012-11-13 18:20:36 +00:00
Lars Müller
f8e2f1e500 Only execute the run_permissions macro on pre-12.3 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=263
2012-10-31 17:02:04 +00:00
Lars Müller
dde8165540 Bump build source time stamp to satisfy the broken factory-auto check.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=262
2012-10-31 14:29:06 +00:00
Lars Müller
d7a45950ee Remove obsoleted 3.6.8 tar ball.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=261
2012-10-29 22:02:24 +00:00
Lars Müller
df7833d392 Ensure adding the winbind group never can fail.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=260
2012-10-29 19:53:57 +00:00
Lars Müller
348fac2d7c Create ntadmin group only if it doesn't yet exist.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=259
2012-10-29 17:13:29 +00:00
Lars Müller
3929065d7e - Update to 3.6.9.
+ When setting a non-default ACL, don't forget to apply masks to
    SMB_ACL_USER and SMB_ACL_GROUP entries; (bso#9236).
  + Winbind can't fetch user or group info from AD via LDAP; (bso#9147).
  + Fix segfault in smbd if user specified ports out for range; (bso#9218).
- quota: Don't force the block size to 512; (bso#3272).
- Fix poll replacement to become a msleep replacement; (bso#8107).
- Fix wrong test == syntax in configure; (bso#8146).
- Fix --with(out)-sendfile-support option handling in autoconf; (bso#8344).
- Fix builtin forms order to match Windows again; (bso#8632).
- Fix RAW printing for normal users; (bso#8769).
- Initialise ticket to ensure we do not invalid memory; (bso#8788).
- Fix 'net rpc share allowedusers' to work with 2008r2; (bso#8966).
- Fix crash on null pam change pw response; (bso#9013).
- Connection to outbound trusted domain goes offline; (bso#9016).
- Increase debug level for info that the db is empty; (bso#9112).
- 'smbclient' can't connect to a Windows 7 server using NTLMv2; (bso#9117).
- Winbind can't fetch user or group info from AD via LDAP; (bso#9147).
- Open printers with the right access mask; (bso#9154).
- Fix makerpms.sh on RHEL; (bso#9165).
- Remove non-existent option '-Y' from winbindd manpage; (bso#9171).
- Add quota support for gfs2; (bso#9172).
- Make SMB2 compound request create/delete_on_close/close work as Windows;
  (bso#9173).
- Empty SPNEGO packet can cause smbd to crash; (bso#9174).
- pam_winbind: Match more return codes when wbcGetPwnam has failed;
  (bso#9177).
- Fix crash bug in idmap_hash; (bso#9188).
- SMB2 Create doesn't return correct MAX ACCESS access mask in blob;
  (bso#9189).
- Fix service control for non-internal services; (bso#9192).
- Don't take 'state->te' as indication for "was_deferred"; (bso#9196).
- Parse of invalid SMB2 create blob can cause smbd crash; (bso#9209).
- Bad ASN.1 NegTokenInit packet can cause invalid free; (bso#9213).
- Fix segfault in smbd if user specified ports out for range; (bso#9218).
- Signing cannot be disabled for SMB2 by design, so fix the documentation
  instead; (bso#9222).
- Fix NT_STATUS_IO_TIMEOUT during slow import of printers into registry;
  (bso#9231).
- When setting a non-default ACL, don't forget to apply masks to SMB_ACL_USER
  and SMB_ACL_GROUP entries; (bso#9236).
- lib-addns: ensure that allocated buffer are pre set to 0; (bso#9259).
- Make tdb robust against shrinking tdbs and improper CLEAR_IF_FIRST restart;
  (bso#9268).
- Add support for reloading systemd services; (bso#9280).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=258
2012-10-29 13:38:14 +00:00
Lars Müller
d11e916363 Warn via the smbd log if AppArmor and "wide links" are in use; (bnc#783719).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=257
2012-10-26 18:07:36 +00:00
Lars Müller
3437a3c974 Do not write the build date into the header of the default smb.conf as this
causses superfluous rebuilds of packages depending on samba; (bnc#781601).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=256
2012-09-26 18:18:47 +00:00
Lars Müller
0aa18c0397 Do not prerequire SuSEconfig.permissions as it's already enough and more
generic to depend on the permissions package; (bnc#782293).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=255
2012-09-26 16:48:17 +00:00
Lars Müller
21b4421179 Prerequire SuSEconfig.permissions on post-10.1 and pre-12.3 SUSE systems
only; (bnc#782293).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=254
2012-09-26 14:57:26 +00:00
Lars Müller
117395b230 - Update to 3.6.8.
+ Fix crash bug in smbd caused by a blocking lock followed by close;
    (bso#9084).
  + Fix Winbind panic if we couldn't find the domain; (bso#9135).
- Backport FSCTL codes and fix segfault in smbstatus from master; (bso#9058).
- Fix bad call to memcpy source3/registry/regfio.c; (bso#9065).
- "Domain Users" incorrectly added as additional group on domain members;
  (bso#9066).
- Use correct RID for "Domain Guests" primary group; (bso#9067).
- Fix crash bug in smbd caused by a blocking lock followed by close;
  (bso#9084).
- Fix smbclient/tarmode panic when connecting to Windows 2000 clients;
  (bso#9088).
- Fix refreshing of Kerberos tickets in Winbind; (bso#9098).
- Fix identification of idle clients in Winbind to avoid crashes and NDR
  parsing errors; (bso#9104).
- Fix compilation with newer MIT Kerberos which hides internal symbols;
  (bso#9111).
- Fix flooding the logs with records we don't find in pcap; (bso#9112).
- Initialize the print backend after we setup winreg; (bso#9122).
- Fix lprng job tracking errors; (bso#9123).
- Fix setting of "inherited" bit on inherited ACE's; (bso#9124).
- Fix Winbind panic if we couldn't find the domain; (bso#9135).
- Make 'smbclient allinfo' show the snapshot list; (bso#9137).
- Fix nfs quota support with Linux nfs4 mounts; (bso#9144).
- Valid open requests can cause smbd assert due to incorrect oplock handling
  on delete requests; (bso#9150).
- NMB registration for a duplicate workstation fails with registration
  refuse; (bso#9085); (bnc#770056).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=253
2012-09-17 12:24:54 +00:00
Lars Müller
035eb2e48d Remove backup files caused by running configure in examples/VFS.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=252
2012-08-16 15:02:49 +00:00
Lars Müller
eb0057d8e6 Fix line wrapping of change log file.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=251
2012-08-07 09:05:31 +00:00
Lars Müller
1272e7063e - Update to 3.6.7.
+ Fix resolving our own "Domain Local" groups; (bso#9052).
  + Fix migrating printers while upgrading from 3.5.x; (bso#9026).
- Correct documentation of "case sensitive"; (bso#8552).
- Printing fails in function cups_job_submit; (bso#8719).
- Fix kernel oplocks when uid(file) != uid(process); (bso#8974).
- Send correct responses to NT Transact Secondary when no data and no params for the Trans2 calls are set; (bso#8989).
- Fix build without ads support; (bso#8996).
- Don't turn negative cache entries into valid idmappings; (bso#9002).
- Fix posix acl on gpfs; (bso#9003).
- Make vfs_gpfs less verbose in get/set_xattr functions; (bso#9022).
- Fix migrating printers while upgrading from 3.5.x; (bso#9026).
- Fix typo in set_re_uid() call when USE_SETRESUID selected in configure; (bso#9034).
- Using asynchronous IO with SMB2 can return NT_STATUS_FILE_CLOSED in error instead ofNT_STATUS_FILE_LOCK_CONFLICT; (bso#9040).
- Fix resolving our own "Domain Local" groups; (bso#9052).
- Fix build against CUPS 1.6; (bso#9055).
- Fix bugs in SMB2 credit handling code; (bso#9057).
- rpcclient: Fix bad call to data_blob_const; (bso#9062).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=250
2012-08-06 21:17:00 +00:00