Commit Graph

522 Commits

Author SHA256 Message Date
Lars Müller
02ff72ef55 Modify samba-regedit so it displays correctly (related to ncurses).
Changed code to use menu sub windows, seems to fix problems with display not
refreshing; explicitly BuildRequire ncurses-devel; (bnc#896536).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=436
2014-09-26 14:09:52 +00:00
Lars Müller
1522d33560 Exclude unwanted libdnsserver_common and libdfs_server_ad shared libs and
the man page of the unused findsmb script.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=435
2014-09-25 14:54:45 +00:00
Lars Müller
90ce0ff54a Skip groups that aren't mapped by idmap_ad; (bso#10824); (bnc#897969).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=434
2014-09-23 17:32:13 +00:00
Lars Müller
6c0ae5070d - Update to 4.1.12.
See WHATSNEW.txt from the main tar ball or the samba.changes file for
  more details.

- Wait for network-online.target to prevent caching of
  pre-network failures; (bnc#889175).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=433
2014-09-23 16:21:09 +00:00
David Disseldorp
e06acf32f5 - fix FSCTL_SET_SPARSE request validation; (bso#10787); (bnc#893774).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=432
2014-08-28 10:13:17 +00:00
Lars Müller
e3dc000626 Remove pre-11.2 patch which by default uses the smbpasswd passdb backend.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=431
2014-08-19 14:35:50 +00:00
Lars Müller
c2eaea58ab build: disable mmap on s390 systems; (bso#10765); (bnc#886193).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=430
2014-08-13 12:08:19 +00:00
David Disseldorp
6910e62c33 - Reduce printer_list.tdb lock contention during printcap update;
(bso#10652); (bnc#883870).
  + Only update the printer share inventory when needed.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=429
2014-08-12 12:51:05 +00:00
Lars Müller
625590cf3f Create the cups smb backend as sym link pointing to smbspool; (bnc#891220).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=428
2014-08-11 17:16:42 +00:00
Lars Müller
013b88368d - Fix winbind service parameter usage; (bnc#890005).
- lib/param: change the default for "winbind expand groups" to "0";
  (bnc#890008).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=426
2014-08-01 16:38:52 +00:00
Lars Müller
2d2bbac979 lib/param: change the default for "winbind expand groups" to "0".
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=425
2014-08-01 16:22:06 +00:00
Lars Müller
f5d33ada5f - Update to 4.1.11.
+ A malicious browser can send packets that may overwrite the heap of the
    target nmbd NetBIOS name services daemon; CVE-2014-3560; (bnc#889429).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=424
2014-08-01 12:28:26 +00:00
David Disseldorp
9c52287cf9 - Fix "net time" segfault; (bso#10728); (bnc#889539).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=423
2014-07-30 12:35:13 +00:00
Lars Müller
1e0d569582 Update to 4.1.10.
See WHATSNEW.txt from the main tar ball or the samba.changes file for
more details.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=422
2014-07-28 11:05:30 +00:00
Lars Müller
e5ad737bad Add missing newline to debug message in daemon_ready(); (bnc#865627).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=421
2014-07-08 12:54:03 +00:00
Lars Müller
8a82019dfc Mention the modified service files too.
BuildRequire systemd-devel, configure --with-systemd, and modify the service
files accordingly on post-12.2 systems; (bso#10517); (bnc#865627).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=420
2014-07-07 14:56:12 +00:00
Lars Müller
50bc1040b4 Add bso#10517 along with bnc#865627 too.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=419
2014-07-07 14:27:59 +00:00
Lars Müller
9a6fad02f0 BuildRequire systemd-devel and configure --with-systemd on post-12.2
systems; (bnc#865627).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=418
2014-07-07 14:15:20 +00:00
David Disseldorp
6181b885c1 - Prevent file truncation on an open that fails with share mode violation;
(bso#10671); (bnc#884056).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=417
2014-06-25 12:07:17 +00:00
Lars Müller
a5cd1e3ae6 - Update to 4.1.9.
+ Fix nmbd denial of service; CVE-2014-0244; (bnc#880962).
  + Fix segmentation fault in smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX
    handler; CVE-2014-3493; (bnc#883758).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=416
2014-06-23 12:48:18 +00:00
Lars Müller
d6bffe8b4a BuildRequire krb5-devel, libiniparser-devel, and python-devel in any case.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=415
2014-06-12 18:44:19 +00:00
Lars Müller
6e3c53ae7f BuildRequire libxslt and perl-ExtUtils-MakeMaker and BuildIgnore libtevent
on CentOS, Fedora, and RHEL systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=414
2014-06-12 17:37:49 +00:00
Lars Müller
5a5eca3088 Update to 4.1.8.
See WHATSNEW.txt from the main tar ball or the samba.changes file for
more details.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=413
2014-06-03 19:43:23 +00:00
Lars Müller
b4f19102aa examples/libsmbclient: avoid some compiler warnings; (bso#10624).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=412
2014-05-23 11:53:37 +00:00
David Disseldorp
ea4075d300 - Fix printer job purging; (bso#10612); (bnc#879390).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=411
2014-05-22 16:00:31 +00:00
Lars Müller
7a25bb7227 Update samba-pubkey_6568B7EA.asc which will expire 2016-01-17.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=410
2014-05-18 12:15:25 +00:00
David Disseldorp
902b5f46e2 - Fix byte-order macros on little endian Power8; (bso#10590); (bnc#871701).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=408
2014-05-05 15:02:52 +00:00
David Disseldorp
9d16e67d7c - Pass through vfs_btrfs snapshot manipulation requests when
"btrfs: manipulate snapshots = no" is configured; (bnc#874180).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=407
2014-05-02 16:34:55 +00:00
David Disseldorp
1c9e737101 - Clone the base share security descriptor when exposing a snapshot share;
(bnc#874656).
- Use appropriate HRESULT return codes; (bnc#875046).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=406
2014-04-25 09:54:19 +00:00
Lars Müller
62f6ec65de Update to 4.1.7.
See WHATSNEW.txt from the main tar ball or the samba.changes file for
more details.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=404
2014-04-17 15:56:07 +00:00
David Disseldorp
48ea985eff - Create a new DBus connection for every vfs_snapper request, to ensure
correct snapper UID detection; (bnc#866354).
- Fix "Invalid read" in method reply_writeclose; (bnc#873658).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=403
2014-04-16 15:05:36 +00:00
Lars Müller
a51d63175d Remove references to the obsolete samba-krb-printing package and
get_printing_ticket binary.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=400
2014-04-11 13:53:11 +00:00
David Disseldorp
04b7a2fef7 - Fix minor compiler warnings in snapshot code-path; (bnc#873177).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=399
2014-04-11 13:03:14 +00:00
Lars Müller
15ca46bd71 - Fix malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response; (bnc#872396).
- User error strings instead of hex codes where possible for FSRVP
  errors; (bnc#866927).

- Fix remote share shadow copy request UNCs; (bso#10521); (bnc#870957).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=398
2014-04-11 12:21:33 +00:00
Lars Müller
48cbe4ed6f - Add krb5rcache directory to the winbind package; (bnc#870607).
- Cleanup and consolidate the sysconfig and systemd service files.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=396
2014-04-01 16:31:01 +00:00
David Disseldorp
a9de609af9 - Extend vfs_snapper man page to cover permissions; (bnc#870570).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=395
2014-03-28 12:23:08 +00:00
David Disseldorp
c2912973ff - Fix RPC server handling of fragmented requests; (bso#10481); (bnc#869707).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=394
2014-03-27 12:45:10 +00:00
Lars Müller
8f9b21cdf0 Default with the cache and lock directory to the same path to have both
non-persistent and persistent data at one location; (bnc#846586).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=393
2014-03-21 19:48:32 +00:00
Lars Müller
507561ca29 Depend only on %version with all manual Provides and Requires; (bnc#844307).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=392
2014-03-12 14:06:12 +00:00
Lars Müller
9ec2a5755d - Update to 4.1.6.
+ Password lockout not enforced for SAMR password changes; CVE-2013-4496;
    (bnc#849224).
  + smbcacls can remove a file or directory ACL by mistake; CVE-2013-6442;
    (bnc#855866).

- Password lockout not enforced for SAMR password changes;
  CVE-2013-4496; (bnc#849224).

- Call update-apparmor-samba-profile via ExecStartPre too; (bnc#867665).

- samba4 smbcalcs --chown | --chgrp dacl regression; CVE-2013-6442;
  (bnc#855866).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=391
2014-03-11 18:36:52 +00:00
David Disseldorp
3699ac9aab - Retry named pipe open requests on STATUS_PIPE_NOT_AVAILABLE; (bso#10484);
(bnc#865095).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=390
2014-03-04 18:38:01 +00:00
Lars Müller
9ec817340d - Propagate snapshot enumeration permissions errors to SMB clients;
(bnc#865641).

- Properly handle empty 'requires_membership_of' entries in
  /etc/security/pam_winbind.conf; (bnc#865771).

- Fix problem with server taking too long to respond to a
  MSG_PRINTER_DRVUPGRADE message; (bso#9942); (bnc#863748).
- Fix memory leak in printer_list_get_printer(); (bso#9993); (bnc#865561).

- Fix stream_depot VFS module on Btrfs; (bso#10467); (bnc#865397).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=389
2014-02-27 16:02:29 +00:00
Lars Müller
ca813d4800 Use libarchive to provide improved smbclient tarmode functionality;
(bso#9667); (bnc#861135).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=388
2014-02-22 14:33:35 +00:00
Lars Müller
7684b4f238 Depend on %version-%release with all manual Provides and Requires;
(bnc#844307).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=387
2014-02-21 16:47:16 +00:00
Lars Müller
3814a3b1b1 - Update to 4.1.5.
+ Fix 100% CPU utilization in winbindd when trying to free memory in
    winbindd_reinit_after_fork; (bso#10358); (bnc#786677).
  + smbd: Fix memory overwrites; (bso#10415).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=386
2014-02-21 14:30:23 +00:00
Lars Müller
864f8e3eaf Remove superfluous obsoletes *-64bit in the ifarch ppc64 case; (bnc#437293).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=385
2014-02-18 13:34:08 +00:00
David Disseldorp
302d41fe88 - Migrate @GMT token parsing functionality into vfs_snapper; (bnc#863079).
+ Improve vfs_snapper documentation.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=384
2014-02-14 00:42:14 +00:00
David Disseldorp
b7a23241d1 - Fix memory overwrite in FSCTL_VALIDATE_NEGOTIATE_INFO handler; (bso#10415);
(bnc#862370).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=383
2014-02-08 10:50:51 +00:00
Lars Müller
eed44281af - Streamline the vendor suffix handling and add support for SLE 12.
- Fix zero length server-side copy request handling; (bso#10424);
  (bnc#862558).
  + Refresh context in remaining patch stack.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=382
2014-02-07 17:18:53 +00:00
Lars Müller
83453d57a5 - Set the PID directory to /run/samba on post-12.2 systems.
- Make use of the tmpfilesdir macro while calling systemd-tmpfiles.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=381
2014-02-04 17:45:37 +00:00
David Disseldorp
68568bc354 - Fix vfs_btrfs build on older platforms with duplicate WRITE_FLUSH
definitions; (bnc#860832).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=380
2014-01-28 15:24:56 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Lars Müller
ee4581c04a - 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).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=341
2013-09-27 13:09:40 +00:00
Lars Müller
a85393d8b9 Require libndr-standard-devel due to gen_ndr/lsa.h from libpdb-devel.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=340
2013-09-19 22:19:42 +00:00
Lars Müller
610d32bf3e - Add libdcerpc0, libdcerpc-atsvc0, libdcerpc-binding0, libdcerpc-samr0,
libgensec0, libndr0, libndr-krb5pac0, libndr-nbt0, libndr-standard0,
  libpdb0, libregistry0, libsamba-credentials0, libsamba-hostconfig0,
  libsamba-policy0, libsamba-util0, libsamdb0, libsmbclient-raw0, libsmbconf0,
  libsmbldap0, and libtevent-util0 to baselibs.conf.
- Implement shared library packaging guidelines.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=339
2013-09-16 14:06:15 +00:00
Lars Müller
5fb45b2d0e - Update to 4.1.0rc3.
+ Fix working on site with Read Only Domain Controller; (bso#5917).
  + Add man page for vfs_syncops; (bso#7364).
  + Add man page for vfs_linux_xfs_sgid; (bso#7490).
  + When replicating DNS for bind9_dlz we need to create the server-DNS
    account remotely; (bso#9091).
  + Winbind unable to retrieve user information from AD; (bso#9615).
  + winbind_lookup_names() fails because of NT_STATUS_CANT_ACCESS_DOMAIN_INFO;
    (bso#9899).
  + Build Samba 4.0.x on AIX with IBM XL C/C++; (bso#9911).
  + Add SMB2 and SMB3 support for smbclient; (bso#9974).
  + Add man pages for ntdb tools; (bso#10000).
  + Add man page for samba-regedit tool; (bso#10001).
  + ::1 added to nameserver on join; (bso#10030).
  + Fix memory leak in source3/lib/util.c:1493; (bso#10063).
  + Fix segmentation fault in 'net ads join'; (bso#10073).
  + Fix variable list in vfs_crossrename man page; (bso#10076).
  + s3-winbind: Fix a segfault passing NULL to a fstring argument; (bso#10082).
  + smbd: Fix async echo handler forking; (bso#10086).
  + MacOSX 10.9 will not follow path-based DFS referrals handed out by Samba;
    (bso#10097).
  + Honour output buffer length set by the client for SMB2 GetInfo requests;
    (bso#10106).
  + Fix Winbind crashes on DC with trusted AD domains; (bso#10107).
  + Handle Dropbox (write-only-directory) case correctly in pathname lookup;
    (bso#10114).
  + Masks incorrectly applied to UNIX extension permission changes;
    (bso#10121).

- Correct interpackage dependencies; (bso#10129).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=338
2013-09-13 10:44:19 +00:00
Lars Müller
0c35275074 Define the source URL differently in the case of a release candidate.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=337
2013-09-03 17:42:52 +00:00
Lars Müller
597cdb3a52 Megre missing 4.0.9 package change log hunk and align the CVE-2013-4124 date.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=336
2013-09-03 16:16:49 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Lars Müller
29ad237e46 BuildRequire gcc, make, and patch; (bnc#771516).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=249
2012-07-16 15:28:30 +00:00
Lars Müller
be075de50f ndr: fix push/pull DATA_BLOB with NDR_NOALIGN; (bso#9026); (bnc#770262).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=248
2012-07-11 18:22:42 +00:00
Lars Müller
b52981da5a - Fix shell syntax in dhcpcd hook script; (bnc#769957).
- Call autogen.sh even on post-12.1 SUSE systems.
- Don't call autogen.sh on post-12.1 SUSE and post-14 Fedora systems.
- Include the reviewed french translation for pam_winbind; (bnc#499233).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=247
2012-07-11 14:47:21 +00:00
Lars Müller
94a14265b1 - Update to 3.6.6.
+ Fix possible memory leaks in the Samba master process; (bso#8970).
  + Fix uninitialized memory read in talloc_free(); (bnc#764577).
  + Fix joining of XP Pro workstations to 3.6 DCs; (bso#8373).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=246
2012-06-25 20:29:59 +00:00
Lars Müller
ac784653c5 - resolve_ads() code can return zero addresses and miss valid DC IP addresses;
(bso#8910).
- Can't join XP Pro workstations to 3.6.1 DC; (bso#8373).
- winbind can hang as nbt_getdc() has no timeout; (bso#8953).
- Fix crash bug in dns_create_probe when dns_create_update fails; (bso#8627)
- s3-pid: Catch with pid filename's change when config file is not smb.conf;
  (bso#8714).
- Possible memory leaks in the main Samba process; (bso#8970).
- s3: Fix uninitialized memory read in talloc_free(); (bnc#764577).
- Treat exit_server_cleanly() as a "clean" shutdown; (bso#8971).
- Avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute(); (bso#8988).
- Winzip occasionally can not read files out of an open winzip dialog;
  (bso#8311).
- s3-winbindd: call dump_core_setup after command line option has been parsed;
  (bso#8975).
- Directory group write permission bit is set if unix extensions are enabled;
  (bso#8972).
- s3: remove dependency on automake for "make everything"; (bso#8978).
- sd_has_inheritable_components segfaults on an SD that se_access_check
  accepts; (bso#8811).
- smbclient's tarmode insists on listing excluded directories; (bso#8922).
- Notify code can miss a ChDir; (bso#8998).
- s3:smbd: add a fsp_persistent_id() function; (bso#8995).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=245
2012-06-25 18:20:43 +00:00
Lars Müller
1718307db0 - Don't call autogen.sh on post-12.1 SUSE and post-14 Fedora systems.
- Recompile all IDL in any case.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=244
2012-06-01 23:27:03 +00:00
Lars Müller
60a9aaab13 BuildIgnore libtalloc and libtdb to prevent a package conflict on Fedora
systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=243
2012-06-01 14:25:36 +00:00
Lars Müller
42b39e42bb Install talloc.pc only on pre-12.2 and non SUSE systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=242
2012-05-31 16:01:36 +00:00
Lars Müller
ced19a5871 BuildRequire libldb-devel, libtalloc-devel, libtdb-devel, and
libtevent-devel on post-12.1 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=241
2012-05-31 14:28:27 +00:00
Lars Müller
8fad521ca4 - s3: Fix a segfault with debug level 3 on Solaris; (bso#8861).
- s3: wbinfo --lookup-sids "" crashes winbind; (bso#8904).
- smbd crashes when deleting directory and veto files are enabled; (bso#8837).
- winbind_krb5_locator only returns one IP address; (bso#8897).
- Wrong assertion/comparison: Compare value not pointer; (bso#8859).
- Inconsistent (with manpage) command-line switch for "help" in smbtree;
  (bso#8831).
- Fix incorrect debug statement.
- Setting traverse rights fails to enable directory traversal when acl_xattr
  in use; (bso#8857).
- Syslog broken owing to mistyping of debug_settings.syslog; (bso#8877).
- s3/ldap: remove outdated netscape ds 5 schema file; (bso#8869).
- s3-docs: fixes several typos; (bso#7938).
- s3-VFS: Fix building out-of-tree modules; (bso#8822).
- s3-docs: Add hint that setting "profile acls = yes" on normal shares can
  cause trouble; (bso#7930).
- s3-pam_winbind: Fix the build with a newer iniparser library; (bso#8915).
- Avoid null dereference in initialize_password_db(); (bso#8920).
- s3:registry: implement values_need_update and subkeys_need_update in the
  smbconf backend.
- s3:registry:reg_api: fix reg_queryvalue to not fail when values are
  modified while it runs.
- s4:torture:rpc:spoolss: also initialize driverName before checking it in
  test_PrinterData_DsSpooler().
- s3:registry: multiple cleanups, fixes, and optimisations.
- s3:auth/server_info: the primary rid should be in the groups rid array;
  (bso#8798).
- s3-printing: Add new printers to registry; (bso#8554); (baso#8612);
  (bso#8748).
- Fix the overwriting of errno before use in a DEBUG statement and use the
  return value from store_acl_blob_fsp rather than ignoring it; (bso#8945).
- s3-auth: Don't lookup the system user in pdb; (bso#8944).
- s3-passdb: Fix negative SID->uid/gid cache handling; (bso#8952).
- Fix typo in pam_winbindd code; (bso#8957).
- Fix remove_duplicate_addrs2 previously it could leave zero addresses in the
  list; (bso#8910).
- Slow but responsive DC can lock up winbindd; (bso#8943).
- Broken processing of %U with vfs_full_audit when force user is set;
  (bso#8882).
- s3-smbd: move print_backend_init() behind init_system_info(); (bso#8845);
  (bnc#730769).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=240
2012-05-30 13:39:20 +00:00
Lars Müller
0a484ce829 - Disable included build of ldb, talloc, tdb, and tevent on post-12.1 systems.
- BuildRequire libldb1-devel, libtalloc2-devel, libtdb1-devel, and
  libtevent0-devel on post-12.1 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=239
2012-05-15 10:58:22 +00:00
Lars Müller
682bd9e573 Revert to accidently overwritten state.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=238
2012-05-14 15:38:15 +00:00
Lars Müller
5799e66cc1 Remove accidently created package. The real name is libldb1.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=237
2012-05-14 13:36:55 +00:00
Lars Müller
9b50e61a05 Add PreReq /etc/init.d/nscd to the winbind package; (bnc#759731).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=236
2012-05-02 14:36:13 +00:00
Lars Müller
7b5e51c68d Update to 3.6.5.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=235
2012-04-30 16:56:10 +00:00
Lars Müller
3e415af71b Restrict self granting privileges where security=ads for Samba post-3.3.16;
CVE-2012-2111; (bnc#757576).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=234
2012-04-30 14:33:51 +00:00
Lars Müller
0ed0338b69 - docs-xml: fix default name resolve order; (bso#7564).
- s3-aio-fork: Fix a segfault in vfs_aio_fork; (bso#8836).
- docs: remove whitespace in example samba.ldif; (bso#8789).
- s3-smbd: move print_backend_init() behind init_system_info(); (bso#8845).
- s3-docs: Prepend '/' to filename argument; (bso#8826).
- Remove all precompiled idl output to ensure any pidl changes take effect;
  (bnc#757080).
- Do not map POSIX execute permission to Windows FILE_READ_ATTRIBUTES;
  (bso#8631); (bnc#732572).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=233
2012-04-21 23:32:25 +00:00
Lars Müller
4ace2e4521 Update to 3.6.4.
See WHATSNEW.txt from the main tar ball or the samba.changes file for more
details.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=232
2012-04-11 14:01:03 +00:00
Lars Müller
1267c2009c Samba pre-3.6.4 are affected by a vulnerability that allows remote code exe-
cution as the "root" user; PIDL based autogenerated code allows overwriting
beyond of allocated array; CVE-2012-1182; (bso#8815); (bnc#752797).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=231
2012-04-10 16:26:27 +00:00
Lars Müller
8b9a692f5f - s3-winbindd: Only use SamLogonEx when we can get unencrypted session keys;
(bso#8599).
- Correctly handle DENY ACEs when privileges apply; (bso#8797).
- dcerpc_lsa_lookup_sids_noalloc() crashes when groups has more than 1000
  groups; (bso#8807).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=230
2012-03-25 21:21:39 +00:00
Lars Müller
3217febe92 - s3:smb2_server: fix a logic error, we should sign non guest sessions;
(bso8749)
- Allow vfs_aio_pthread to build as a static module; (bso#8723).
- s3:dbwrap_ctdb: return the number of records in db_ctdb_traverse() for
  persistent dbs; (#bso8527).
- s3: segfault in dom_sid_compare(bso#8567).
- Honor SeTakeOwnershiPrivilege when client asks for SEC_STD_WRITE_OWNER;
  (bso#8768).
- s3-winbindd: Close netlogon connection if the status returned by the
  NetrSamLogonEx call is timeout in the pam_auth_crap path; (bso#8771).
- s3-winbindd: set the can_do_validation6 also for trusted domain; (bso#8599).
- Fix problem when calculating the share security mask, take priviliges into
  account for the connecting user; (bso#8784).
- Fix crash in dcerpc_lsa_lookup_sids_noalloc() with over 1000 groups;
  (bso#8807); (bnc#751454).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=229
2012-03-16 20:52:29 +00:00
Lars Müller
33639c16fb Be consitent with the previous commits and use the suse.de doamin in
the package change log.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=228
2012-03-14 23:26:20 +00:00
Lars Müller
f62f6188cd Remove obsoleted Authors lines from spec file for post-11.2 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=227
2012-03-14 20:22:40 +00:00
Lars Müller
c8e843ea3a Adjust BuildRequire libuuid-devel for Mandriva post-2010 too.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=225
2012-02-27 23:22:41 +00:00
Lars Müller
45788ee752 - Make ldapsmb build with Fedora 15 and 16; (bso#8783).
- BuildRequire libuuid-devel for post-11.0 and other systems.
- Define missing python macros for non SUSE systems.
- PreReq of fillup_prereq and insserv_prereq on SUSE systems.
- Always use cifstab instead of smbfstab on non SUSE systems.
- Ensure AndX offsets are increasing strictly monotonically in pre-3.4
  versions; CVE-2012-0870; (bnc#747934).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=224
2012-02-27 18:58:29 +00:00
David Disseldorp
86667d66e0 Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY; (bso#8760); (bnc#741854).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=223
2012-02-17 14:55:19 +00:00
David Disseldorp
c0c791a4f5 - s3-printing: fix crash in printer_list_set_printer(); (bso#8762);
(bnc#746825).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=222
2012-02-16 10:08:59 +00:00
Lars Müller
07fe6fc054 - s3:winbindd fix a return code check; (bso#8406).
- s3: Add rmdir operation to streams_depot; (bso#8733).
- s3:smbd:smb2: fix an assignment-instead-of-check bug conn_snum_used();
  (bso#8738).
- s3:auth: fill the sids array of the info3 in
  wbcAuthUserInfo_to_netr_SamInfo3(); (bso#8739).
- s3:client: ignore SMBecho errors (the server may not support it);
  (bso#8139).
- Be more strict when using PAM_AUTH API from winbind if Kerberos auth is
  enabled and don't unintentionally use a bogus domain name; (bso#8734).
- smbclient fails with posix large reads; (bso#8727).
- Fixes various deadlocks in if-up.d / if-down.d when running under
  systemd; (bnc#732395).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=221
2012-02-09 13:15:53 +00:00
Lars Müller
98ae601d34 - Use the smbfs init script on versions pre-11.3, or cifs in later versions;
(bnc#744614).
- s3: Compile IDL files in autogen, some configure tests need this.
- Fix incorrect types in the full_audit VFS module. Add null terminators to
  audit log enums; (bnc#742885).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=220
2012-02-02 21:37:34 +00:00
Lars Müller
d7fa2bed2c - Fix memory leak in parent smbd on connection; CVE-2012-0817; (bso#8724);
(bnc#743986).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=219
2012-01-29 21:17:08 +00:00
Lars Müller
2387c1cd9e Use spdx.org compliant license names for all packages.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=218
2012-01-26 14:22:21 +00:00
Lars Müller
1d8c31853b - Update to 3.6.2.
See WHATSNEW.txt from the main tar ball or the samba.changes file for more
details.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=217
2012-01-25 21:46:18 +00:00
Lars Müller
71ff5a8cb9 - s3-spoolss: Pass the right pointer type; (bso#4942); (bnc#742504).
- Use correct license, LGPLv3+ for libwbclient packages.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=216
2012-01-25 20:07:36 +00:00
Lars Müller
9461feb99c - When returning an ACL without SECINFO_DACL requested, we still set
SEC_DESC_DACL_PRESENT in the type field; (bso#8636).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=215
2012-01-24 20:13:03 +00:00
David Disseldorp
ccc9c1d64a - Prefix print$ path on driver file deletion; (bso#8697); (bnc#740810).
- Fix printer_driver_files_in_use() call ordering; (bso#4942); (bnc#742504).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=214
2012-01-22 02:47:37 +00:00
Lars Müller
40771c7504 - Buffer overflow issue with AES encryption in samba traffic analyzer;
(bso#8674).
- NT ACL issue; (bso#8673).
- Deleting a symlink fails if the symlink target is outside of the share;
  (bso#8663).
- connections.tdb - major leak with SMB2; (bso#8710).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=213
2012-01-21 21:59:48 +00:00
Lars Müller
697fd7896d - Renaming a symlink fails if the symlink target is outside of the share;
(bso#8664).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=212
2012-01-18 21:00:14 +00:00
Lars Müller
9f8776e95d - Intermittent print job failures caused by character conversion errors;
(bso#8606).
- ads_keytab_verify_ticket mixes talloc allocation with malloc free;
  (bso#8692).
- libcli/cldap: fix a crash bug in cldap_socket_recv_dgram(); (bso#8593).
- s3:lib/ctdbd_conn: try ctdbd_init_connection() as root; (bso#8684).
- s3-printing: fix migrate printer code; (bso#8618).
- Packet validation checks can be done before length validation causing
  uninitialized memory read; (bso#8686).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=211
2012-01-17 12:14:22 +00:00
Lars Müller
46d4e573cd - net memberships usage info was wrong; (bso#8687).
- s3-libsmb: Don't duplicate kerberos service tickets; (bso#8628).
- Recvfile code path using splice() on Linux leaves data in the pipe on short
  write; (bso#8679).
- s3-winbind: Fix segfault if we can't map the last user; (bso#8678).
- vfs_acl_xattr and vfs_acl_tdb modules can fail to add inheritable entries on
  a directory with no stored ACL; (bso#8644).
- s3/doc: document the ignore system acls option of vfs_acl_xattr and
  vfs_acl_tdb; (bso#8652).
- Winbind can't receive any user/group information; (bso#8371).
- s3-winbind: Add an update function for winbind cache; (bso#8643).
- s3: Attempt to fix the vfs_commit module.
- POSIX ACE x permission becomes rx following mapping to and from a DACL;
  (#bso#8631).
- s3:libsmb: only align unicode pipe_name; (bso#8586).
- s3-winbind: Don't fail on users without a uid; (bso#8608).
- Crash when trying to browse samba printers; (bso#8623).
- talloc: double free error; (bso#8562).
- cldap doesn't work over ipv6; (bso#8600).
- s3:libsmb: fix cli_write_and_x() against OS/2 print shares; (bso#5326).
- SMB2: not granting credits for all requests in a compound request;
  (bso#8614).
- smb2_flush sends uninitialized memory; (bso#8579).
- Password change settings not fully observed; (bso#8561).
- s3:smb2_server: grant credits in async interim responses; (bso#8357).
- s3:smbd: don't limit the number of open dptrs for smb2; (bso#8592).
- samr_ChangePasswordUser3 IDL incorrect; (bso#8591).
- idmap_autorid does not have allocation pool; (bso#8444).
- Add systemd service files.
- s3:libsmb: the workgroup in the non-extended-security negprot is not
  aligned; (bso#8573).
- s3-build: Fix inotify detection; (bso#8580).
- SMB2 doesn't handle compound request headers in the same way as Windows;
  (#bso8560).
- Disconnecting clients swamp the logs; (bso#8585).
- s3-netlogon: Fix setting the machinge account password; (bso#8550).
- winbind_samlogon_retry_loop ignores logon_parameters flags; (#bso8548). 
- smbclient posix_open command fails to return correct info on open file;
  (bso#8542).
- readlink() on Linux clients fails if the symlink target is outside of the
  share; (bso#8541).
- s3-netapi: remove pointless use_memory_krb5_ccache; (bso#7465).
- s3:Makefile: make DSO_EXPORTS_CMD more portable; (bso#8531).
- s3:registry: fix the test for a REG_SZ blob possibly being a zero terminated
  ucs2 string; (bso#8528).
- Make VFS op "streaminfo" stackable; (bso#8419).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=210
2012-01-16 17:06:33 +00:00
Lars Müller
18d087a7d9 - Fix incorrect perfcount array length calculations; (bnc#739258).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=209
2012-01-04 21:15:03 +00:00
Lars Müller
354d0d7c8b - BuildRequire autoconf to avoid implicit dependency for post-11.4 systems.
- Remove call to suse_update_config macro for post-11.4 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=208
2012-01-02 13:45:41 +00:00
Lars Müller
173b316e95 Make change log linear.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=207
2011-12-20 12:51:06 +00:00
Lars Müller
22812eb19d - Use samba.org for the ldapsmb source location.
- Fixing libsmbsharemode dependency on ldap and krb5 libs in Makefile;
  (bnc #729516).
- Fix printing from Windows 7 clients; (bso#7567); (bnc#687535).
- Update pidl and always compile IDL at build time; (bnc#688810).
- Abide by print$ share 'force user' & 'force group' settings when handling
  AddprinterDriver and DeletePrinterDriver requests; (bso#7921); (bnc#653353).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=205
2011-12-20 00:03:37 +00:00
Lars Müller
215b772441 - Add ldap to Should-Start and Stop of the smb init script; (bnc#730046).
- Fix smbd srv_spoolss_replycloseprinter() segfault; (bso#8384); (bnc#731571).
- Fix pam_winbind.so segfault in pam_sm_authenticate(); (bso#8564).
- Add "ldapsam:login cache" parameter to allow explicit disabling
  of the login cache; (bnc#723261).
- Fix samba duplicates file content on appending. Move posix case semantics
  out from under the VFS; (bso#6898); (bnc#681208).
- Make winbind child reconnect when remote end has closed, fix
  failing sudo; (bso#7295); (bnc#569721).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=204
2011-11-25 15:12:00 +00:00
David Disseldorp
fcb5d0112d Accepting request 89931 from home:dmdiss:branches:bso-563
- Fix smbclient >8GB tars on big endian machines; (bso#563); (bnc#726145).
- Fix typo in net ads join output; (bnc#713135).

OBS-URL: https://build.opensuse.org/request/show/89931
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=203
2011-11-03 14:27:42 +00:00
Lars Müller
2a356f06e6 - Ignore a potentially missing AppArmor snippet helper script; (bnc#725256).
- Fixed the DFS referral response for msdfs root; (bnc#703655).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=202
2011-10-27 20:13:24 +00:00
Lars Müller
0a4a036aff - Update to 3.6.1.
+ Fix smbd crashes triggered by Windows XP clients; (bso#8384).
  + Fix a Winbind race leading to 100% CPU load; (bso#8409).
  + Several SMB2 fixes.
  + The VFS ACL modules are no longer experimental but production-ready.
  + Fix 'net ads join -k' when KRB5CCNAME is not set; (bso#7465).
  + smb_acl_to_posix: ACL is invalid for set (Invalid argument); (bso#7509).
  + Return error of cli_push when 'put - /some/file' is used; (bso#7551).
  + Fix usage of cli_errstr(); (bso#7864).
  + Fix 'widelinks' regression; (bso#8229).
  + Empty notify servername; (bso#8236).
  + Add man vfs_aio_fork; (bso#8256).
  + smb2: smbd logs "Invalid SMB packet: first request: 0x0008" and crashes;
    (bso#8334).
  + Add a fallback for missing open&x support in MAC OS/X Lion; (bso#8338).
  + While migrating forms, don't fail if the form already exists; (bso#8351).
  + OS/2 sends an unexpected write&x/read&x chain; (bso#8360).
  + Fix build of vfs_prealloc on SLES8; (bso#8363).
  + Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4; (bso#8364).
  + Fix the fallback to the deprecated spelling idmap:script; (bso#8368).
  + Fix vfs_chown_fsp; (bso#8370).
  + Fix smbd crashes triggered by Windows XP clients; (bso#8384).
  + Fix smbclient access to NT4 shares; (bso#8385).
  + Optimize serverid_exists() for Solaris; (bso#8395).
  + registry/reg_format.c must include includes.h; (bso#8401).
  + SMB2 server can return requests out-of-order when processing a compound
    request; (bso#8407).
  + Fix a Winbind race leading to 100% CPU load; (bso#8409).
  + Fix "saving as" of MS Office 2007 (Word) documents on Samba shares with
    SMB2; (bso#8412).
  + Fix 'getent group' if trusted domains are not reachable; (bso#8420).
  + Fix infinite loop in ACL module code; (bso#8422).
  + Fix wrong reply to DHnC (durable handle reconnect); (bso#8428).
  + Compound SMB2 requests on an IPC connection can corrupt the reply stream;
    (bso#8429).
  + Fix segfault in iconv.c; (bso#8433).
  + NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames;
    (bso#8442).
  + Be smarter about setting default permissions when a ACL_USER_OBJ isn't
    given; (bso#8443).
  + Check the wct of the incoming SMBnegprot responses; (bso#8452).
  + Fix smbclient segfaults when dialect option -m is used for legacy
    dialects; (bso#8453).
  + Fix uninitialized memory problem in group_sids_to_info3; (bso#8455).
  + Samba PDC is looking up only primary user group; (bso#8455).
  + IE9 on Windows 7 cannot download files to samba 3.5.11 share; (bso#8458).
  + smb2_find uses a hard coded max reply size of 0x10000 instead of
    smb2_max_trans; (bso#8473).
  + SMB2 create doesn't cope with an Apple client using NULL blob in create;
    (bso#8474).
  + Don't call smbd_terminate_connection in smb2_validate_message_id();
    (bso#8476).
  + Samba asserts when SMB2 client breaks the crediting rules; (bso#8476).
  + Map to guest can return uninitialized blob of data; (bso#8477).
  + acl_xattr can free an invalid pointer if no blob is loaded; (bso#8480).
  + DFS breaks zip file extracting unless "follow symlinks = no" set;
   (bso#8493).
  + Remove "experimental" label on VFS ACL modules; (bso#8494).
  + SMB2_OP_CANCEL requests don't have to be signed; (bso#8503).
  + smbd doesn't correctly honor the "force create mode" bits from a cifsfs
    create; (bso#8507).
  + Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER;
    (bso#8509).
  + Disallow "." in can_set_delete_on_close(); (bso#8515).
  + SMB2 create call returns incorrect file allocation size; (bso#8518).
  + Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements;
    (bso#8520).
  + Winbind cache timeout expiry test was reversed; (bso#8521).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=199
2011-10-20 21:05:32 +00:00
Lars Müller
a58c903567 - s3/doc: add man page for aio_fork vfs module.
- Fix uninitialized memory problem in group_sids_to_info3; (bso#8455).
- s3: Samba PDC is looking up only primary user group; (bso#8455).
- Add script to create or update an AppArmor sniplet with permissions for all
  Samba shares; (bnc#688040).
- Fix winbind internal error; (bso#7636); (bnc#659424).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=198
2011-10-18 21:41:59 +00:00
Lars Müller
8d69df66f4 Change log cleanup; remove names/ mail addresses of contributers.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=197
2011-10-14 12:59:29 +00:00
Lars Müller
a8a671572e - Retain the smbd startproc return value for correct startup status reporting.
unset was incorrectly being called prior to rc_status, as reported by
  suse-beta@cboltz.de; (bnc#723724).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=196
2011-10-14 12:30:27 +00:00
Lars Müller
f32c07f607 - Prevent deadlock in systemd triggered by if-down.d handler on shutdown.
Patch from fcrozat@suse.com; (bnc#721598).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=195
2011-10-14 11:04:05 +00:00
Lars Müller
d1bba2765a - smb2_find uses a hard coded max reply size of 0x10000 instead of
smb2_max_trans; changed defaults and documentation (bso8473).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=194
2011-10-13 19:56:25 +00:00
Lars Müller
1036d8c0ee - Empty CIFS share can be blocked for other clients by deleting it via empty
path (DELETE_PENDING until the last client); (bso#8515).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=193
2011-10-13 12:20:36 +00:00
Lars Müller
5213b389ff - winbindd cache timeout expiry test was reversed; (bso#8521).
- Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements; (bso#8520).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=192
2011-10-12 19:59:15 +00:00
Lars Müller
741af1a0f4 - s3:smb2_create: fix allocation size return value when opening existing
files; (bso#8518).
- SMB2 create doesn't cope with an Apple client using NULL blob in create;
  (bso#8474).
- NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames;
  (bso#8442).
- s3-docs: Fix bug (bso#7908) and typo.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=191
2011-10-12 16:56:15 +00:00
Lars Müller
23f8e42e60 - Return error of cli_push when 'put - /some/file' is used; (bso#7551).
- Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER; (bso#8509).
- smbd doesn't correctly honor the "force create mode" bits from a cifsfs
  create; (bso#8507).
- Default user entry is set to minimal permissions on incoming ACL change with
  no user specified; (bso#8443).
- smb_acl_to_posix: ACL is invalid for set (Invalid argument); (bso#7509).
- Handle the SECINFO_LABEL flag in the same was as Win2k3; enable Microsoft
  Internet Explorer 9 on Windows 7 to download files; (bso#8458).
- DFS breaks zip file extracting unless "follow symlinks = no" set;
  (bso#8493).
- s3-docs: Fix typos.
- s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signed; (bso#8503).
- Remove "experimental" label on VFS ACL modules; (bso#8494).
- acl_xattr can free an invalid pointer if no blob is loaded; (bso#8480).
- s3-smbd: asserts when SMB2 client breaks the crediting rules; (bso#8476).
- s3-libnet: allow to use default krb5 ccache in libnet_Join/libnet_Unjoin;
  (bso#7465).
- smb2_find uses a hard coded max reply size of 0x10000 instead of
  smb2_max_trans; (bso#8473).
- s3-netapi: allow to use default krb5 credential cache for libnetapi users.
- s3-docs: document -k switch in net manpage. 
- Map to guest can return uninitialized blob of data; (bso#8477).
- s3-registry: registry/reg_format.c must include includes.h; (bso#8401).
- smbclient segfaults when option -m is used for legacy dialects; (bso#8453).
- Fix 'widelinks' regression intro'd in 3.2; (bso#8229).
- Compound SMB2 requests on an IPC connection can corrupt the reply stream;
  (bso#8429).
- s3-spoolss: Fix bug forms migration; (bso#8351).
- s3:libsmb: check the wct of the incoming SMBnegprot responses; (bso#8452).
- s3: Do not fork the echo handler for smb2; (bso#8334).
- s3-spoolss: Fix bug empty notify servername; (bso#8236).
- SMB2 server can return requests out-of-order when processing a compound
  request; (bso#8407).
- Remove smb child crash fix.  The issue had been fixed upstream differently.
- BuildRequire ctdb-devel version greater than 1.0.105 for post-10.0 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=190
2011-10-10 15:15:19 +00:00
Lars Müller
9a78f4bc68 Be a bit more verbose what changes the recent cleanup caused.
+ Make all BuildRequires, PreReq, and Provides a separate line.
  + Use %{buildroot} instead of ${RPM_BUILD_ROOT}.
  + Use straight commands instead of macros (make, install).
  + Use -p in post and postun if we only call one command.
  + Use %{_localstatedir} instead of %{_var} in the filelist.
  + Remove superfluous AutoReqProv on lines.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=188
2011-09-09 16:58:06 +00:00
Lars Müller
d8d313b714 - Spec file cleanup as suggested by the spec-cleaner tool.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=186
2011-09-09 13:14:31 +00:00
Lars Müller
350c9991ae - Remove %release from all Provides.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=185
2011-09-08 20:00:21 +00:00
Lars Müller
349de04aad - Fix segfault in iconv.c which caused a null pointer dereference; (bso#8433).
- Use /var/run for the cifs state file in the init script too; (bnc#710304).
- Fix CUPS print job IDs; (bso#7288); (bnc#701257).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=184
2011-09-01 21:06:45 +00:00
Lars Müller
2d6196efb0 - Microsoft Word from Microsoft Office 2007 fails to save as on a share with
SMB2; (bso#8412).
- Use sys_write and sys_read in fork_domain_child to fix a winbind race
  leading to 100% CPU usage; (bso#8409).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=183
2011-08-30 22:15:15 +00:00
Lars Müller
7a0087a796 - Fix wrong reply to smb2 durable handle reconnect (DHnC) request; (bso#8428).
- Fix infinite loop in ACL module code; (bso#8422).

Plus a minor cleanup of the last changelog formating.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=182
2011-08-30 19:18:27 +00:00
Lars Müller
1e06183c5c Consolidate the talloc changes to one log entry.
- talloc:
  - check block count after references test.
  - added test suite for talloc_free_children().
  - license info erratum in the manpage.
  - fix typos and better differentiation between versions 1 and 2.
  - preserve context name on talloc_free_children().
  - ensure the sibling linked list remains valid during a free.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=181
2011-08-29 20:02:41 +00:00
Lars Müller
65563bac78 - Fix getent group if trusted domains are not reachable; (bso#8420).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=180
2011-08-29 19:47:42 +00:00
Lars Müller
c735e4ae31 - smbclient can't access a NT4 share since 3.6.0; (bso#8385).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=179
2011-08-29 17:10:22 +00:00
Lars Müller
f0d351fec2 - Optimize serverid_exists() for Solaris; (bso#8395).
- talloc: check block count after references test.
- talloc: added test suite for talloc_free_children().
- talloc: license info erratum in the manpage.
- talloc: fix typos and better differentiation between versions 1 and 2.
- talloc: preserve context name on talloc_free_children().
- talloc: ensure the sibling linked list remains valid during a free.
- vfs_chown_fsp returned in the wrong directory; (bso#8370).
- Remove irritating "." targets when recent system libs exist; (bso#8369).
- Correctly initialize "idmap config * : script" with NULL; (bso#8368).
- Add missing include to suppress compiler warnings; (bso#8365).
- Point the chain offset beyond the current request; (bso#8360).
- Fix gpfs vfs module build; (bso#8364).
- Make vfs_prealloc even build on older systems; (bso#8363).
- Do central cli_set_error and return the actual NTSTATUS; (bso#7864).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=178
2011-08-27 20:40:57 +00:00
Lars Müller
691cd6daf7 - Update to 3.6.0.
+ BUG 7462: Make SA_RESETHAND conditional on its existance.
  + BUG 8303: db_ctdb_send_schedule_for_deletion() is not defined.
  + BUG 8324: smbclient cannot list directories from a big-endian machine.
  + BUG 8326: WinXP cannot join a Samba3 domain with a 'even' hostname.
  + BUG 8327: Fix the reload of the configuration, also reload activated
    registry shares.
  + BUG 8328: Cleanup of idmap_tdb2 code.
  + BUG 8330: Fix NFSv4 ACL merging logic.
  + BUG 8335: File copy aborts with smb2_validate_message_id: bad message_id.
  + BUG 8341: Fix segfault in libsmbclient.
  + BUG 8343: Fix SMB2 crash reading with aio_fork beyond the end of file.
  + BUG 8347: Fix regression for HP-UX, AIX and OSF.
  + BUG 8357: Make sure we grant credits on async read/write operations.
  + BUG 8358: Fix a bug in run_poll_events().
  + BUG 8362: Fix build issue on old glibc systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=177
2011-08-09 12:45:29 +00:00
Lars Müller
bf002b6492 - Remove references to disabled vscan build.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=174
2011-08-08 15:30:18 +00:00
Lars Müller
b4ded83beb - Add missing define, includes, and initialization to get_printing_ticket.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=173
2011-08-04 17:33:26 +00:00
Lars Müller
d7483766eb - Use /var/run for the cifs state file; (bnc#710304).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=172
2011-08-04 11:15:00 +00:00
Lars Müller
9be8e2fd8d - Fix #ifdef CTDB_CONTROL_SCHEDULE_FOR_DELETION issue; (bso#8303).
- File copy aborts with smb2_validate_message_id: bad message_id; (bso#8335).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=171
2011-08-01 21:33:10 +00:00
Lars Müller
2250ddd949 - Fix reload of the configuration and also reload activated registry shares;
(bso#8327).
- WinXP cannot join a Samba3 domain with a 'even' hostname; (bso#8326).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=170
2011-07-31 14:31:41 +00:00
Lars Müller
cbb3dd997f - smbclient cannot list directories from a big-endian machine; (bso#8324).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=169
2011-07-28 17:54:32 +00:00
Lars Müller
831b108aa5 - Update to 3.6.0rc3.
+ BUG 7841: Explicitly pass domain_sid to wbint_LookupRids().
  + BUG 7888: Deal with buggy 3.0 based PDCs.
  + BUG 8083: Fix "inherit owner = yes" with vfs_acl_xattr or vfs_acl_tdb
    module.
  + BUG 8102: Do not allow to change file ACLs from normal domusers.
  + BUG 8102: Do not allow to change file ACLs from normal domusers.
  + BUG 8193: Add new command 'enumerate_recursive'.
  + BUG 8195: Make rpc client code working against NT4 servers.
  + BUG 8211: Fix "inherit owner = yes" when "inherit permissions = yes" is
    set.
  + BUG 8213: Fixes in idmap_autorid.
  + BUG 8214: Fix smbd crash on printer driver upgrade.
  + BUG 8215: Fix Winbind unix username lookup.
  + BUG 8216: Make Winbind returning correct results with 'sids2xids'.
  + BUG 8217: Do not stat-check the share path in 'net conf addshare'.
  + BUG 8219: Fix SMB Panic from Windows 7 client.
  + BUG 8224: Fix the build on FreeBSD.
  + BUG 8226: Use c99 initializers which are supported by old gcc 2.95
    compilers.
  + BUG 8230: Move .nmbd socket directory to non-hidden name PREFIX/var/nmbd.
  + BUG 8231: Fix crash bug in 'net cache get'.
  + BUG 8235: Fix smbd crash on startup caused by migrate_printer().
  + BUG 8240: Fix Valgrind warnings in winreg/spoolss code.
  + BUG 8244: Fix copying files larger than 2 GB to a Samba share.
  + BUG 8247: Fix Coverity ID 2582: FORWARD_NULL.
  + BUG 8253: Fix Winbind panic if verify_idpool() fails.
  + BUG 8254: Fix "acl check permissions = no".
  + BUG 8260: Fix DCERPC responses with fragments larger than 1024 bytes.
  + BUG 8262: Fix build of vfs_commit.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=167
2011-07-27 01:55:14 +00:00
Lars Müller
327c358aef - The Samba Web Administration Tool (SWAT) versions 3.0.x to 3.5.9 are
affected by a cross-site scripting vulnerability; CVE-2011-2694; (bso#8289);
  (bnc#708503).
- The Samba Web Administration Tool (SWAT) versions 3.0.x to 3.5.9 are
  affected by a cross-site request forgery; CVE-2011-2522; (bso#8290);
  (bnc#705241).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=166
2011-07-27 01:35:54 +00:00
Lars Müller
039a38362e - Make use of the actual library version as part of the package name on
post-11.3 systems only.
- Improve ctdb vacuuming performance with use of SCHEDULE_FOR_DELETION;
  (bnc#705170).
- Specify nmbdsocketdir at configure time; (bnc#700953).
- Build the tdb, talloc, and tevent libraries ahead of anything else.
- Update to 3.6.0rc2.
- Make cupsaddsmb fill printers location; (bso#8132); (bnc#698209).
- Add "winbind max clients" parameter to remove 200-client
  limit; (bnc#697461).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=165
2011-07-21 20:14:33 +00:00
Lars Müller
b948c6553a - Replace jobs by _smp_mflags macro while calling make on post-11.4 systems.
- Don't crash when publishing a single printer; (bnc#643119).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=164
2011-03-18 16:25:03 +00:00
Lars Müller
658b84bd96 Use %_smp_mflags for parallel building.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=163
2011-03-09 12:03:49 +00:00
Lars Müller
20dcc98fbd Define the libwbclient packages ahead of packages with a different version.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=162
2011-03-09 10:53:01 +00:00
Lars Müller
e28661a198 - Update to 3.5.8.
+ Fix Winbind crash bug when no DC is available; (bso#7730).
  + Fix finding users on domain members; (bso#7743).
  + Fix memory leaks in Winbind; (bso#7879).
  + Fix printing with Windows 7 clients; (bso#7567).
  + Fix 'testparm' return code when EOF in encountered in param name;
    (bso#3185).
  + Make "rlimit_max below minimum Windows limit" notification less scary;
    (bso#6837).
  + Fix "Your Password expires today" message for users of trusted domains;
    (bso#7066).
  + Fix maintaining of users' groups via UsrMgr; (bso#7262).
  + Fix 'net ads dns register' in Windows 2008 R2 domains; (bso#7356).
  + Raise debug level for "reduce_name: couldn't get realpath" messages;
    (bso#7409).
  + Fix updating the time on close in vfs_gpfs; (bso#7498).
  + Fix "log=>ndr_pull_error" in 'wbinfo -u' and 'wbinfo -g'; (bso#7594).
  + Handle Windows 9x adddriver calls without config file; (bso#7641).
  + Fix scalability problem with hundreds of printers; (bso#7656).
  + Fix memory leak in the netapi routines; (bso#7665).
  + Store unmodified copies of security descriptors in acl_xattr and acl_tdb
    modules; (bso#7716).
  + Fix incorrect unix mode_t caused by invalid client DOS attributes on
    create; (bso#7733).
  + Apply appropriate create masks when creating files with "inherit ACLs" set
    to true; (bso#7734).
  + Fix "dfree cache time" parameter; (bso#7744).
  + Fix a getgrent crash with many groups; (bso#7774).
  + Fix requesting lookups for BUILTIN sids; (bso#7777).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=161
2011-03-07 13:06:00 +00:00
Lars Müller
1b43123317 - Update to 3.5.7
+ Protect against possible denial of service caused by memory corruption;
    CVE-2011-0719; (bso#7949); (bnc#670431).
- Protect against possible denial of service caused by memory corruption;
  CVE-2011-0719; (bso#7949); (bnc#670431).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=159
2011-02-28 16:29:13 +00:00
Lars Müller
cc10620c77 Disable separate build of samba-doc for post-11.1 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=158
2011-02-23 16:10:21 +00:00
David Disseldorp
2f1e46fda3 - Increase the log level for missing PIDs on SIGCHLD, printcap child processes
are not added to the children PID list; (bnc#666460).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=157
2011-02-17 16:24:03 +00:00
Lars Müller
2cb3127c45 - Do not require a particular library version if the major version is part of
the package name.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=156
2011-02-10 17:47:34 +00:00
Lars Müller
a7c22044a2 - Use the actual version numbers of the ldb, talloc, tdb, and tevent libraries
on post-11.3 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=154
2011-02-10 14:51:27 +00:00
Lars Müller
21c870ad2d Use the actual version numbers of ldb and tevent on post-11.3 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=153
2011-02-09 23:52:17 +00:00
Lars Müller
53b24b1163 - Remove pcap_cache_loaded asserts from (re)load_printers. pcap_cache_loaded()
returns false if the pcap cache contains no printer entries. correct call
  ordering is already enforced. (bso#7836); (bnc#625936).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=152
2011-02-05 13:43:08 +00:00
Lars Müller
854dd23c47 - No longer force activation of the cifs service on post-11.3 systems.
- Add X-UnitedLinux-Default-Enabled to the cifs init script on pre-11.4
  systems.
- Move the cifs init script nfs dependencies from Required to Should.
- Fix error paths in cups_async_callback(), an empty cups printer list should
  not be treated as an error; (bnc#661842).
- Abide by printcap cache time, reload parent smbd pcap cache on expiry;
  (bso#7836); (bnc#625936).
- Fix race in cups async printer services reload; (bso#7836); (bnc#625936).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=150
2011-01-14 18:26:07 +00:00