Commit Graph

505 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
7745ce7da0 - Remove man page patch as we genererate the man pages from the xml input.
- Add the missing bnc reference in the series file too.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=427
2014-08-01 19:13:15 +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
Lars Müller
8ac8def4e7 Remove unneeded ccan/endian/endian.h, matching upstream fix.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=409
2014-05-06 16:10:38 +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
3fe0cad748 patch tar ball: Restore series file line formating to be in line with
the 4.1.6 branch.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=405
2014-04-17 16:27:35 +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
4402ca45e3 No longer recommend the no longer existing samba-krb-printing
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=402
2014-04-11 19:18:09 +00:00
Lars Müller
96b15eb168 Remove superfluous or dead code.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=401
2014-04-11 18:44:42 +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
7452f18ed9 %{_var}/cache/krb5rcache might also be required on pre-12.3 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=397
2014-04-01 16:40:50 +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
680d08abe3 PreReq fillup_prereq on post-12.2 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=361
2014-01-06 18:04:45 +00:00
Lars Müller
fdb5c2c2f1 Add /etc/sysconfig/samba to the main and winbind package; (bnc#857454).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=360
2014-01-06 17:19:21 +00:00
Lars Müller
3e4c02b2ab Create /var/run/samba with systemd-tmpfiles on post-12.2 systems;
(bnc#856759).

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

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

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=357
2014-01-06 10:47:04 +00:00
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
041bcb9fef Update source timestamp.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=355
2013-12-09 13:30:20 +00:00
Lars Müller
e8e4f9aa26 - Update to 4.1.3.
+ DCE-RPC fragment length field is incorrectly checked; CVE-2013-4408;
    (bnc#844720).
  + pam_winbind login without require_membership_of restrictions;
    CVE-2012-6150; (bnc#853347).

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=352
2013-12-06 14:10:17 +00:00
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
a8653bd015 Move optinal passdb_backend_defaults_smbpasswd patch to the end of the
series file

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

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

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

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

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

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

- Remove unused ccache switch from the spec file.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=287
2013-01-23 12:33:19 +00:00
Lars Müller
24f980bd63 Add filter against shlib-policy-name-error for /lib*/libnss_wins.so.2.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=286
2013-01-21 22:39:59 +00:00
Lars Müller
622a44dace - Disable SWAT during configure and don't package it any longer.
- Remove dangling references to Heimdal from the spec file.

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

- Remove references to no longer used devel macros.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=264
2012-11-13 18:20:36 +00:00
Lars Müller
f8e2f1e500 Only execute the run_permissions macro on pre-12.3 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=263
2012-10-31 17:02:04 +00:00
Lars Müller
dde8165540 Bump build source time stamp to satisfy the broken factory-auto check.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=262
2012-10-31 14:29:06 +00:00
Lars Müller
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