Commit Graph

230 Commits

Author SHA256 Message Date
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
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