Commit Graph

115 Commits

Author SHA256 Message Date
Lars Müller
5779f606d3 Remove the extra Version and Release define from the doc package as we
inherit it from the main samba.spec file.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=189
2011-09-14 15:12:29 +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
77a84574da BuildRequire libxml2-devel instead of pkgconfig(libxml-2.0) as done in
the past.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=187
2011-09-09 13:53:54 +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
e9205cb84e A tab is a tab is a tab.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=176
2011-08-08 16:31:08 +00:00
Lars Müller
a51ed5418d - Remove no longer required vscan patches.
- (Re)add installed files from %{_libdir}/samba/vfs/ to the filelist.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=175
2011-08-08 16:19:05 +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
d04dff3074 Push the commited version.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=168
2011-07-27 01:58:17 +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
aa7d6d25ed Add cosmetic comment as we use in the other cases in the samba-doc.spec
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=160
2011-02-28 17:20:27 +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
a909c8b767 - Make the condition when libFOO_ver gets defined more generic.
- Fail if the expected library version doesn't fit.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=155
2011-02-10 16:47:28 +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
52332f1855 Add missing sym link smbfs-1130 to smbfs in vendor-files/init to build
on older systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=151
2011-01-14 20:07:06 +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
Lars Müller
eb193532a5 Add missing p char in the previous commit msg. Thx Dave.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=149
2011-01-04 16:56:06 +00:00
Lars Müller
bbbb583ea1 - Recommend to install samba-krb-rinting from samba-winbind on post-10.3
systems; (bnc#661845).
- Don't tweak with baselibs.conf during %post if not present; (bnc#652620).
- Don't make use of baselibs.conf on SUSE Linux Enterprise 10; (bnc#652620).
- Don't use --tmpdir as this option isn't known by mktemp of SUSE Linux
  Enterprise 10; (bnc#652620).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=148
2011-01-04 16:39:49 +00:00
Lars Müller
23c9578331 - vfs_fill_sparse() doesn't use posix_fallocate when strict allocate is on;
(bso#7835).
- Replace Requires samba-client by samba-gplv3-client in the gplv3 packages;
  (bnc#652620).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=147
2010-12-05 22:58:21 +00:00
David Disseldorp
722fcb6ba8 - Fix Dolphin SMB share IO with SMB signing enabled; (bso#7791); (bnc#656112).
- Add Conflicts to the samba-gplv3 main, client, doc, krb-printing, winbind,
  client-gplv2, and doc-gplv2 packages; (bnc#652620).

- Add Provides samba-client-gplv2 and samba-doc-gplv2 to pre-3.2 versions;
  (bnc#652620).

- Obsolete samba-client-gplv2 and samba-doc-gplv2; (bnc#652620).

- Remove Provides samba-client:/usr/sbin/winbindd from the samba-gplv3-winbind
  package to avoide an accidental install trigger; (bnc#652620).

- Add Provides samba-client to the samba-gplv3-client package; (bnc#652620).

- Remove all Obsoletes from the samba-gplv3 packages and only keep the
  Provides samba; (bnc#652620).

- Add fitting Conflicts to all samba-gplv3 packages; (bnc#652620).

- Reduce unnecessary ldap round trips and eliminate invalid DN 
  messages; (bnc#654719).

- Exclude cifs-mount and ldapsmb from the samba-gplv3 build of SUSE Linux
  Enterprise 10 SP 3 and 4.

- Change package base name to samba-gplv3 for SUSE Linux Enterprise 10 SP 4.
- Do not package libsmbclient and libsmbsharemodes.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=146
2010-12-01 13:43:54 +00:00
OBS User autobuild
6dfe03817e Autobuild autoformatter for 52875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=76
2010-11-12 13:34:01 +00:00
Ruediger Oertel
8642aa8288 Accepting request 52875 from network:samba:STABLE
Accepted submit request 52875 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/52875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=75
2010-11-12 13:33:55 +00:00
OBS User autobuild
50ceb67739 Accepting request 48642 from network:samba:STABLE
Copy from network:samba:STABLE/samba based on submit request 48642 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=74
2010-09-21 21:44:55 +00:00
OBS User autobuild
39f442c90b Accepting request 41971 from network:samba:STABLE
Copy from network:samba:STABLE/samba based on submit request 41971 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/41971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=70
2010-06-28 08:41:52 +00:00
OBS User autobuild
1af9cca18c Accepting request 41853 from network:samba:STABLE
Copy from network:samba:STABLE/samba based on submit request 41853 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/41853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=69
2010-06-22 08:18:30 +00:00
OBS User autobuild
5017cec7e6 Accepting request 41258 from network:samba:STABLE
Copy from network:samba:STABLE/samba based on submit request 41258 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/41258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=68
2010-06-09 14:46:34 +00:00