Commit Graph

575 Commits

Author SHA256 Message Date
David Disseldorp
782d94ce56 - Check for NULL gensec_security in gensec_security_by_auth_type();
(bnc#860809).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=379
2014-01-28 14:42:43 +00:00
David Disseldorp
d72154b4b6 - Ensure ndr table initialization; (bnc#860648).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=378
2014-01-28 02:08:23 +00:00
David Disseldorp
abb9e149a4 - Add File Server Remote VSS Protocol (FSRVP) server for SMB share
shadow-copies; (fate#313346).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=377
2014-01-24 20:52:15 +00:00
Lars Müller
02a72d49c7 - s3-dir: Fix the DOS clients against 64-bit smbd's; (bso#2662).
- shadow_copy2: module "Previous Version" not working in Windows 7;
  (bso#10259).
- s3-passdb: Fix string duplication to pointers; (bso#10367).
- vfs/glusterfs: in case atime is not passed, set it to the current atime;
  (bso#10384)

- s3: winbindd: Move calling setup_domain_child() into add_trusted_domain();
  (bso#10358); (bnc#786677).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=376
2014-01-24 15:41:11 +00:00
Lars Müller
e914f958b1 Make winbindd print the interface version when it gets an INTERFACE_VERSION
request; (bnc#726937).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=375
2014-01-22 21:51:51 +00:00
Lars Müller
7d91470d10 Remove trailing whitespace.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=374
2014-01-22 13:40:50 +00:00
Lars Müller
57b22ce7e9 - Allow smbcacls to take a '--propagate-inheritance' flag to indicate that
the add, delete, modify and set operations now support automatic
  propagation of inheritable ACE(s); (FATE#316474).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=373
2014-01-22 13:38:32 +00:00
Lars Müller
1b850caca9 Add reference to upstream bug ID of bnc#857454, bso#10388 too.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=372
2014-01-20 14:16:06 +00:00
Lars Müller
786059c188 Default sysconfig daemon options to -D; (bnc#857454).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=371
2014-01-20 11:14:25 +00:00
Stephan Kulow
ade2c75680 Accepting request 214148 from network:samba:STABLE
Add /var/cache/samba to the client file list; (bnc#846586).

OBS-URL: https://build.opensuse.org/request/show/214148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=152
2014-01-17 10:16:34 +00:00
Lars Müller
f7c09598cc Add /var/cache/samba to the client file list; (bnc#846586).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=370
2014-01-16 19:56:19 +00:00
Stephan Kulow
6409f3c747 Accepting request 213925 from network:samba:STABLE
- Really add the WINBINDDOPTIONS sysconfig variable on install; (bnc#857454).

- Correct sysconfig variable names by adding the missing D char; (bnc#857454).

- Update to 4.1.4.
  + Fix segfault in smbd; (bso#10284).
  + Fix SMB2 server panic when a smb2 brlock times out; (bso#10311).

OBS-URL: https://build.opensuse.org/request/show/213925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=151
2014-01-15 18:36:17 +00:00
Lars Müller
930725ece3 Really add the WINBINDDOPTIONS sysconfig variable on install; (bnc#857454).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=369
2014-01-14 22:13:47 +00:00
Lars Müller
9ee43dc393 Fix typo in the previous commit.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=368
2014-01-13 13:45:33 +00:00
Lars Müller
9f7b22931c Correct sysconfig varibale names by adding the missing D char; (bnc#857454).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=367
2014-01-13 13:12:27 +00:00
Lars Müller
3115950c12 - Update to 4.1.4.
+ Fix segfault in smbd; (bso#10284).
  + Fix SMB2 server panic when a smb2 brlock times out; (bso#10311).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=366
2014-01-10 17:37:33 +00:00
Stephan Kulow
925cd2c8f8 Accepting request 213213 from network:samba:STABLE
- Call stop_on_removal from preun and restart_on_update and insserv_cleanup
  from postun on pre-12.3 systems only; (bnc#857454).

- BuildRequire gamin-devel instead of unmaintained fam-devel package on
  post-12.1 systems.

- smbd: allow updates on directory write times on open handles; (bso#9870).
- lib/util: use proper include for struct stat; (bso#10276).
- s3:winbindd fix use of uninitialized variables; (bso#10280).
- s3-winbindd: Fix DEBUG statement in winbind_msg_offline(); (bso#10285).
- s3-lib: Fix %G substitution for domain users in smbd; (bso#10286).
- smbd: Always use UCF_PREP_CREATEFILE for filename_convert calls to resolve a
  path for open; (bso#10297).
- smb2_server processing overhead; (bso#10298).
- ldb: bad if test in ldb_comparison_fold(); (bso#10305).
- Fix AIO with SMB2 and locks; (bso#10310).
- smbd: Fix a panic when a smb2 brlock times out; (bso#10311).
- vfs_glusterfs: Enable per client log file; (bso#10337).

- Add /etc/sysconfig/samba to the main and winbind package; (bnc#857454).

- Create /var/run/samba with systemd-tmpfiles on post-12.2 systems;
  (bnc#856759).

- Fix broken rc{nmb,smb,winbind} sym links which should point to the service
  binary on post-12.2 systems; (bnc#856759).

- Add Snapper VFS module for snapshot manipulation; (fate#313347).
  + dbus-1-devel required at build time.

- Add File Server Remote VSS Protocol (FSRVP) client for SMB share
  shadow-copies; (fate#313345).

OBS-URL: https://build.opensuse.org/request/show/213213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=150
2014-01-09 16:25:54 +00:00
Lars Müller
7979dc5ba1 Use the correct bnc ID in the package change log.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=365
2014-01-08 16:59:14 +00:00
Lars Müller
7c0d8db6ec BuildRequire gamin-devel instead of unmaintained fam-devel package on
post-12.1 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=364
2014-01-08 16:22:32 +00:00
Lars Müller
90ad8c4216 Call stop_on_removal from preun and restart_on_update and insserv_cleanup
from postun on pre-12.3 systems only; (bnc#856759).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=363
2014-01-08 15:57:34 +00:00
Lars Müller
0b95018e19 - smbd: allow updates on directory write times on open handles; (bso#9870).
- lib/util: use proper include for struct stat; (bso#10276).
- s3:winbindd fix use of uninitialized variables; (bso#10280).
- s3-winbindd: Fix DEBUG statement in winbind_msg_offline(); (bso#10285).
- s3-lib: Fix %G substitution for domain users in smbd; (bso#10286).
- smbd: Always use UCF_PREP_CREATEFILE for filename_convert calls to resolve a
  path for open; (bso#10297).
- smb2_server processing overhead; (bso#10298).
- ldb: bad if test in ldb_comparison_fold(); (bso#10305).
- Fix AIO with SMB2 and locks; (bso#10310).
- smbd: Fix a panic when a smb2 brlock times out; (bso#10311).
- vfs_glusterfs: Enable per client log file; (bso#10337).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=362
2014-01-06 22:04:42 +00:00
Lars Müller
680d08abe3 PreReq fillup_prereq on post-12.2 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=361
2014-01-06 18:04:45 +00:00
Lars Müller
fdb5c2c2f1 Add /etc/sysconfig/samba to the main and winbind package; (bnc#857454).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=360
2014-01-06 17:19:21 +00:00
Lars Müller
3e4c02b2ab Create /var/run/samba with systemd-tmpfiles on post-12.2 systems;
(bnc#856759).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=359
2014-01-06 14:26:34 +00:00
Lars Müller
86d14d5f08 Add the vfs_snapper to the %files of the main package.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=358
2014-01-06 11:19:11 +00:00
Lars Müller
d3bdfbc7aa - Fix broken rc{nmb,smb,winbind} sym links which should point to the service
binary on post-12.2 systems.

- Add Snapper VFS module for snapshot manipulation; (fate#313347).
  + dbus-1-devel required at build time.

- Add File Server Remote VSS Protocol (FSRVP) client for SMB share
  shadow-copies; (fate#313345).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=357
2014-01-06 10:47:04 +00:00
Stephan Kulow
ca35700542 Accepting request 211377 from network:samba:STABLE
Do not BuildRequire perl ExtUtils::MakeMaker and Parse::Yapp as they're part
of the minimum build environment.

OBS-URL: https://build.opensuse.org/request/show/211377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=149
2013-12-19 11:51:20 +00:00
Lars Müller
6641135147 Do not BuildRequire perl ExtUtils::MakeMaker and Parse::Yapp as they're part
of the minimum build environment.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=356
2013-12-11 12:35:20 +00:00
Stephan Kulow
410e3453af Accepting request 210027 from network:samba:STABLE
- Update to 4.1.3.
  + DCE-RPC fragment length field is incorrectly checked; CVE-2013-4408;
    (bnc#844720).
  + pam_winbind login without require_membership_of restrictions;
    CVE-2012-6150; (bnc#853347).

- Make use of the full gpg pub key file name including the key ID.

- Add transparent file compression support; (fate#316266).
  + Implement FSCTL_GET_COMPRESSION and FSCTL_SET_COMPRESSION handlers.
  + Add FILE_ATTRIBUTE_COMPRESSED and FILE_NO_COMPRESSION support.
  + Extend vfs_btrfs VFS module to utilize get/set compression hooks.

- Add support for FSCTL_SRV_COPYCHUNK_WRITE; (fate#314770).

OBS-URL: https://build.opensuse.org/request/show/210027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=148
2013-12-09 18:18:15 +00:00
Lars Müller
041bcb9fef Update source timestamp.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=355
2013-12-09 13:30:20 +00:00
Lars Müller
e8e4f9aa26 - Update to 4.1.3.
+ DCE-RPC fragment length field is incorrectly checked; CVE-2013-4408;
    (bnc#844720).
  + pam_winbind login without require_membership_of restrictions;
    CVE-2012-6150; (bnc#853347).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=354
2013-12-09 13:14:51 +00:00
Lars Müller
b94dd03db3 Make use of the full gpg pub key file name including the key ID.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=353
2013-12-06 16:41:22 +00:00
David Disseldorp
15cae8dc50 - Add transparent file compression support; (fate#316266).
+ Implement FSCTL_GET_COMPRESSION and FSCTL_SET_COMPRESSION handlers.
  + Add FILE_ATTRIBUTE_COMPRESSED and FILE_NO_COMPRESSION support.
  + Extend vfs_btrfs VFS module to utilize get/set compression hooks.
- Add support for FSCTL_SRV_COPYCHUNK_WRITE; (fate#314770).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=352
2013-12-06 14:10:17 +00:00
Stephan Kulow
66ec6c4d52 Accepting request 209189 from network:samba:STABLE
Remove bogus libsmbclient0 package description and cleanup the libsmbclient
line from baselibs.conf; (bnc#853021).

OBS-URL: https://build.opensuse.org/request/show/209189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=147
2013-12-03 13:27:42 +00:00
Lars Müller
d39e3e36bf Remove bogus libsmbclient0 package description and cleanup the libsmbclient
line from baselibs.conf; (bnc#853021).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=351
2013-12-02 17:16:28 +00:00
Stephan Kulow
e7a57e0155 Accepting request 207997 from network:samba:STABLE
- BuildRequire systemd on post-12.2 systems.

- Update to 4.1.2.
  + s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled; (bso#9091).
  + dfs_server: Use dsdb_search_one to catch 0 results as well as
    NO_SUCH_OBJECT errors; (bso#10052).
  + Missing talloc_free can leak stackframe in error path; (bso#10187).
  + Fix memset used with constant zero length parameter; (bso#10190).
  + s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName';
    (bso#10193).
  + Make offline logon cache updating for cross child domain group membership;
    (bso#10194).
  + nsswitch: Fix short writes in winbind_write_sock; (bso#10195).
  + RW Deny for a specific user is not overriding RW Allow for a group;
    (bso#10196).
  + vfs_glusterfs: Fix excessive debug output from vfs_gluster_open();
    (bso#10224).
  + vfs_glusterfs: Implement proper mashalling/unmarshalling of ACLs;
    (bso#10224).
  + VFS plugin was sending the actual size of the volume instead of the total
    number of block units because of which windows was getting the wrong
	 volume capacity; (bso#10224).
  + libcli/smb: Fix smb2cli_ioctl*() against Windows 2008; (bso#10232).
  + xattr: Fix listing EAs on *BSD for non-root users; (bso#10247).
  + Fix the build of vfs_glusterfs; (bso#10253).
  + s3-winbindd: Fix cache_traverse_validate_fn failure for NDR cache entries;
    (bso#10264).
  + util: Remove 32bit macros breaking strict aliasing; (bso#10269).

- Let gpg verify execution condition not fail on non SUSE systems.

- Add systemd support for post-12.2 systems.

OBS-URL: https://build.opensuse.org/request/show/207997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=146
2013-11-23 07:18:02 +00:00
Lars Müller
a91717b7f7 BuildRequire systemd on post-12.2 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=350
2013-11-22 11:18:46 +00:00
Lars Müller
27ee0f2ccd - Update to 4.1.2.
See WHATSNEW.txt from the main tar ball or the samba.changes file for
  more details.

- Let gpg verify execution condition not fail on non SUSE systems.

- Add systemd support for post-12.2 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=349
2013-11-22 10:54:01 +00:00
Stephan Kulow
29908e5d3b Accepting request 207066 from network:samba:STABLE
Unconditionally create the CUPS smb backend sym link pointing to smbspool;
(bnc#850656).

OBS-URL: https://build.opensuse.org/request/show/207066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=145
2013-11-17 20:02:25 +00:00
Lars Müller
b67cc8116c Unconditionally create the CUPS smb backend sym link pointing to smbspool;
(bnc#850656).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=348
2013-11-15 18:13:13 +00:00
Stephan Kulow
27ac46526c Accepting request 206855 from network:samba:STABLE
- Update to 4.1.1.
  + ACLs are not checked on opening an alternate data stream on a file or
    directory; CVE-2013-4475; (bso#10229); (bnc#848101).
  + Private key in key.pem world readable; CVE-2013-4476; (bnc#848103).

OBS-URL: https://build.opensuse.org/request/show/206855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=144
2013-11-15 12:38:48 +00:00
Lars Müller
8ed14c4655 - Update to 4.1.1.
+ ACLs are not checked on opening an alternate data stream on a file or
    directory; CVE-2013-4475; (bso#10229); (bnc#848101).
  + Private key in key.pem world readable; CVE-2013-4476; (bnc#848103).

- Private key in key.pem world readable; CVE-2013-4476; (bnc#848103).

- ACLs are not checked on opening an alternate data stream on a file or
  directory; CVE-2013-4475; (bso#10229); (bnc#848101).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=347
2013-11-13 15:49:07 +00:00
Tomáš Chvátal
e3d6d7ce81 Accepting request 203491 from network:samba:STABLE
Native systemd service files are on our todo list.

- Update to 4.1.0.
  + pam_winbindd: Support the KEYRING ccache type; (bso#10132).
  + Fix PAC parsing failure; (bso#10178).

OBS-URL: https://build.opensuse.org/request/show/203491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=143
2013-10-17 12:27:27 +00:00
Lars Müller
e62d5ba698 - Update to 4.1.0.
+ pam_winbindd: Support the KEYRING ccache type; (bso#10132).
  + Fix PAC parsing failure; (bso#10178).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=346
2013-10-11 09:21:30 +00:00
Tomáš Chvátal
6861557bf4 Accepting request 202797 from network:samba:STABLE
Please forward to openSUSE 13.1 too.

- Unify the defattr lines in the pidl, python, test and test-devel files
  section by removing the optional directory mode.

- Verify source tar ball gpg signature.

OBS-URL: https://build.opensuse.org/request/show/202797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=142
2013-10-11 07:03:43 +00:00
Lars Müller
20d4c4ee42 Unify the defattr lines in the pidl, python, test and test-devel files
section by removing the optional directory mode.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=345
2013-10-09 21:08:20 +00:00
Lars Müller
4b59ae986e Add missing signatures.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=344
2013-10-09 20:21:32 +00:00
Lars Müller
3288460abf Verify source tar ball gpg signature.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=343
2013-10-09 16:30:48 +00:00
Stephan Kulow
bd228984ba Accepting request 201529 from network:samba:STABLE
The final 4.1.0 is scheduled for Friday, October 11.

The goal is to have native systemd files tested and added too.

- Update to 4.1.0rc4.
  + dsdb: Convert the full string from UTF16 to UTF8, including embedded
    NULLs; (bso#8077).
  + python-samba-tool fsmo: Do not give an error on a successful role
    transfer; (bso#9461).
  + dbwrap_ctdb: Treat empty records as non-existing; (bso#10008).
  + Raise the level of a debug when unable to open a printer; (bso#10118).
  + Add "acl allow execute always" parameter; (bso#10134).
  + vfs_shadow_copy2: Display previous versions correctly over SMB2;
    (bso#10137).
  + smbd: Always clean up share modes after hard crash; (bso#10138).
  + Valid utf8 filenames cause "invalid conversion error" messages;
    (bso#10139).
  + libcli/smb: Use SMB1 MID=0 for the initial Negprot; (bso#10144).
  + Samba SMB2 client code reads the wrong short name length in a directory
    listing reply; (bso#10145).
  + libcli/smb: Only check the SMB2 session setup signature if required and
    valid; (bso#10146).
  + Better document potential implications of a globally used "valid users";
    (bso#10147).
  + cli_smb2_get_ea_list_path() failed to close file on exit; (bso#10149).
  + Not all OEM servers support the ALTNAME info level; (bso#10150).
  + Regression causes replication failure with Windows 2008R2 and deletes
    Deleted Objects; (bso#10157).
  + Netbios related samba process consumes 100% CPU; (bso#10158).
  + Fix POSIX ACL mapping when setting DENY ACE's from Windows; (bso#10162).

- Add or polish the shared library package summaries and descriptions.

OBS-URL: https://build.opensuse.org/request/show/201529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=141
2013-10-02 11:33:44 +00:00
Lars Müller
f72c720223 Add or polish the shared library package summaries and descriptions.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=342
2013-09-30 18:38:05 +00:00