Commit Graph

834 Commits

Author SHA256 Message Date
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
Sascha Peilicke
4ce86ec12c Autobuild autoformatter for 80338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=101
2011-09-01 10:05:59 +00:00
Sascha Peilicke
2f6fcbaa3b Accepting request 80338 from network:samba:STABLE
- 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).
- Fix wrong reply to smb2 durable handle reconnect (DHnC) request; (bso#8428).
- Fix infinite loop in ACL module code; (bso#8422).
- Fix getent group if trusted domains are not reachable; (bso#8420).
- smbclient can't access a NT4 share since 3.6.0; (bso#8385).
- Optimize serverid_exists() for Solaris; (bso#8395).
- 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/request/show/80338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=100
2011-09-01 10:05:44 +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
Sascha Peilicke
85e0df9b0a Autobuild autoformatter for 79967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=99
2011-08-29 07:15:35 +00:00
Sascha Peilicke
89c7275580 Accepting request 79967 from network:samba:STABLE
- 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/request/show/79967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=98
2011-08-29 07:15:24 +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
Sascha Peilicke
f06a50d39e Autobuild autoformatter for 78381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=97
2011-08-12 07:32:19 +00:00
Sascha Peilicke
d6e59d2f4d Accepting request 78381 from network:samba:STABLE
- Update to 3.6.0.
- Remove references to disabled vscan build.
- Add missing define, includes, and initialization to get_printing_ticket.
- Use /var/run for the cifs state file; (bnc#710304).
- Fix #ifdef CTDB_CONTROL_SCHEDULE_FOR_DELETION issue; (bso#8303).
- File copy aborts with smb2_validate_message_id: bad message_id; (bso#8335).
- 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).
- smbclient cannot list directories from a big-endian machine; (bso#8324).
- Update to 3.6.0rc3.
- 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).
- 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).
- Disable logon cache for password lockout consistency when
  running in a cluster; (bnc#694836).
- Fix logon of AD users with many group memberships; (bso#6911);
  (bnc#657026).
- Don't lockout users while offline; (bso#8166); (bnc#692607).
- Update to 3.6.0rc1.

OBS-URL: https://build.opensuse.org/request/show/78381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=96
2011-08-12 07:32:03 +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
Sascha Peilicke
94f3230c55 Autobuild autoformatter for 64536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=95
2011-03-21 08:29:02 +00:00
Sascha Peilicke
c84788a030 Accepting request 64536 from network:samba:STABLE
Accepted submit request 64536 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/64536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=94
2011-03-21 08:28:56 +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
Sascha Peilicke
9717b76221 Autobuild autoformatter for 63596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=93
2011-03-08 12:36:09 +00:00
Sascha Peilicke
5356beb3a6 Accepting request 63596 from network:samba:STABLE
Accepted submit request 63596 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/63596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=92
2011-03-08 12:36:02 +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
Sascha Peilicke
131cf39a1a Autobuild autoformatter for 63042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=91
2011-03-01 08:53:32 +00:00
Sascha Peilicke
d9e58906a3 Accepting request 63042 from network:samba:STABLE
Accepted submit request 63042 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/63042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=90
2011-03-01 08:53:24 +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
Sascha Peilicke
c85664e673 Autobuild autoformatter for 62653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=89
2011-02-24 07:56:01 +00:00
Sascha Peilicke
ea0d7ae471 Accepting request 62653 from network:samba:STABLE
Accepted submit request 62653 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/62653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=88
2011-02-24 07:55:54 +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
Ruediger Oertel
1867d95a2d Autobuild autoformatter for 61746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=87
2011-02-18 12:34:21 +00:00
Ruediger Oertel
f24a3f49e5 Accepting request 61746 from network:samba:STABLE
Accepted submit request 61746 from user dmdiss

OBS-URL: https://build.opensuse.org/request/show/61746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=86
2011-02-18 12:34:14 +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
Ruediger Oertel
c77481d188 Autobuild autoformatter for 60539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=84
2011-02-12 11:18:13 +00:00
Ruediger Oertel
00f1b34b99 Accepting request 60539 from network:samba:STABLE
Accepted submit request 60539 from user lmuelle

OBS-URL: https://build.opensuse.org/request/show/60539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=83
2011-02-12 11:18:08 +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