Commit Graph

320 Commits

Author SHA256 Message Date
Lars Müller
069fa9ce4b Use SLE as product prefix for SUSE Linux Enterprise, oS for openSUSE, and
OBS for any other operating system to define the vendor string while build.

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

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

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

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

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=313
2013-06-21 14:38:15 +00:00
Lars Müller
b511916294 Don't package the SWAT man page while its build is disabled; (bnc#816647).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=312
2013-06-14 10:22:01 +00:00
Lars Müller
3b01ef5db4 Don't install the tdb utilities man pages on post-12.1 systems; (bnc#823549).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=311
2013-06-06 12:32:42 +00:00
Lars Müller
2150e561d8 Rearrange the package change log to be in chronological order again.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=309
2013-06-05 15:20:27 +00:00
David Disseldorp
450246b104 - Fix libreplace license ambiguity; (bso#8997); (bnc#765270).
- s3-docs: Remove "experimental" label on "max protocol=SMB2" parameter;
  (bso#9688).
- Remove the compound_related_in_progress state from the smb2 global state;
  (bso#9722).
- Makefile: Don't know how to make LIBNDR_PREG_OBJ; (bso#9868).
- Fix is_printer_published GUID retrieval; (bso#9900); (bnc#798856).
- Don't modify the pidfile name when a custom config file path is used;
  (bnc#812929).
- Fix AD printer publishing; (bso#9378); (bnc#798856).

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

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

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

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

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

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=303
2013-04-18 22:13:06 +00:00
David Disseldorp
0694202ce7 - Fix periodic printcap cache reloads; (bso#9650); (bnc#807334).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=302
2013-04-04 16:59:33 +00:00
Lars Müller
07c48effb2 - Update to 3.6.13.
+ Fix two resource leaks in winbindd; (bso#9684).
  + Unlink after open causes smbd to panic; (bso#9571).

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

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

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

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

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

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

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

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

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

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

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

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

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

- Remove references to no longer used devel macros.

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

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

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=283
2013-01-09 22:15:41 +00:00
Lars Müller
a201af31f7 Use the version macro while definition of the branch macro.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=282
2012-12-23 16:03:05 +00:00
Lars Müller
3b155431c0 SEGV when using second vfs module; (bso#9471).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=280
2012-12-10 22:35:46 +00:00
Lars Müller
a94824ca8e - Update to 3.6.10.
+ Respond correctly to FILE_STREAM_INFO requests; (bso#9460).
  + Fix segfault when "default devmode" is disabled; (bso#9433).
  + Fix segfaults in "log level = 10" on Solaris; (bso#9390).

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

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

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

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

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

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

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

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

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=264
2012-11-13 18:20:36 +00:00
Lars Müller
f8e2f1e500 Only execute the run_permissions macro on pre-12.3 systems.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=263
2012-10-31 17:02:04 +00:00
Lars Müller
df7833d392 Ensure adding the winbind group never can fail.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=260
2012-10-29 19:53:57 +00:00
Lars Müller
348fac2d7c Create ntadmin group only if it doesn't yet exist.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=259
2012-10-29 17:13:29 +00:00
Lars Müller
3929065d7e - Update to 3.6.9.
+ When setting a non-default ACL, don't forget to apply masks to
    SMB_ACL_USER and SMB_ACL_GROUP entries; (bso#9236).
  + Winbind can't fetch user or group info from AD via LDAP; (bso#9147).
  + Fix segfault in smbd if user specified ports out for range; (bso#9218).
- quota: Don't force the block size to 512; (bso#3272).
- Fix poll replacement to become a msleep replacement; (bso#8107).
- Fix wrong test == syntax in configure; (bso#8146).
- Fix --with(out)-sendfile-support option handling in autoconf; (bso#8344).
- Fix builtin forms order to match Windows again; (bso#8632).
- Fix RAW printing for normal users; (bso#8769).
- Initialise ticket to ensure we do not invalid memory; (bso#8788).
- Fix 'net rpc share allowedusers' to work with 2008r2; (bso#8966).
- Fix crash on null pam change pw response; (bso#9013).
- Connection to outbound trusted domain goes offline; (bso#9016).
- Increase debug level for info that the db is empty; (bso#9112).
- 'smbclient' can't connect to a Windows 7 server using NTLMv2; (bso#9117).
- Winbind can't fetch user or group info from AD via LDAP; (bso#9147).
- Open printers with the right access mask; (bso#9154).
- Fix makerpms.sh on RHEL; (bso#9165).
- Remove non-existent option '-Y' from winbindd manpage; (bso#9171).
- Add quota support for gfs2; (bso#9172).
- Make SMB2 compound request create/delete_on_close/close work as Windows;
  (bso#9173).
- Empty SPNEGO packet can cause smbd to crash; (bso#9174).
- pam_winbind: Match more return codes when wbcGetPwnam has failed;
  (bso#9177).
- Fix crash bug in idmap_hash; (bso#9188).
- SMB2 Create doesn't return correct MAX ACCESS access mask in blob;
  (bso#9189).
- Fix service control for non-internal services; (bso#9192).
- Don't take 'state->te' as indication for "was_deferred"; (bso#9196).
- Parse of invalid SMB2 create blob can cause smbd crash; (bso#9209).
- Bad ASN.1 NegTokenInit packet can cause invalid free; (bso#9213).
- Fix segfault in smbd if user specified ports out for range; (bso#9218).
- Signing cannot be disabled for SMB2 by design, so fix the documentation
  instead; (bso#9222).
- Fix NT_STATUS_IO_TIMEOUT during slow import of printers into registry;
  (bso#9231).
- When setting a non-default ACL, don't forget to apply masks to SMB_ACL_USER
  and SMB_ACL_GROUP entries; (bso#9236).
- lib-addns: ensure that allocated buffer are pre set to 0; (bso#9259).
- Make tdb robust against shrinking tdbs and improper CLEAR_IF_FIRST restart;
  (bso#9268).
- Add support for reloading systemd services; (bso#9280).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=258
2012-10-29 13:38:14 +00:00
Lars Müller
d11e916363 Warn via the smbd log if AppArmor and "wide links" are in use; (bnc#783719).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=257
2012-10-26 18:07:36 +00:00
Lars Müller
3437a3c974 Do not write the build date into the header of the default smb.conf as this
causses superfluous rebuilds of packages depending on samba; (bnc#781601).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=256
2012-09-26 18:18:47 +00:00
Lars Müller
0aa18c0397 Do not prerequire SuSEconfig.permissions as it's already enough and more
generic to depend on the permissions package; (bnc#782293).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=255
2012-09-26 16:48:17 +00:00
Lars Müller
21b4421179 Prerequire SuSEconfig.permissions on post-10.1 and pre-12.3 SUSE systems
only; (bnc#782293).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=254
2012-09-26 14:57:26 +00:00
Lars Müller
117395b230 - Update to 3.6.8.
+ Fix crash bug in smbd caused by a blocking lock followed by close;
    (bso#9084).
  + Fix Winbind panic if we couldn't find the domain; (bso#9135).
- Backport FSCTL codes and fix segfault in smbstatus from master; (bso#9058).
- Fix bad call to memcpy source3/registry/regfio.c; (bso#9065).
- "Domain Users" incorrectly added as additional group on domain members;
  (bso#9066).
- Use correct RID for "Domain Guests" primary group; (bso#9067).
- Fix crash bug in smbd caused by a blocking lock followed by close;
  (bso#9084).
- Fix smbclient/tarmode panic when connecting to Windows 2000 clients;
  (bso#9088).
- Fix refreshing of Kerberos tickets in Winbind; (bso#9098).
- Fix identification of idle clients in Winbind to avoid crashes and NDR
  parsing errors; (bso#9104).
- Fix compilation with newer MIT Kerberos which hides internal symbols;
  (bso#9111).
- Fix flooding the logs with records we don't find in pcap; (bso#9112).
- Initialize the print backend after we setup winreg; (bso#9122).
- Fix lprng job tracking errors; (bso#9123).
- Fix setting of "inherited" bit on inherited ACE's; (bso#9124).
- Fix Winbind panic if we couldn't find the domain; (bso#9135).
- Make 'smbclient allinfo' show the snapshot list; (bso#9137).
- Fix nfs quota support with Linux nfs4 mounts; (bso#9144).
- Valid open requests can cause smbd assert due to incorrect oplock handling
  on delete requests; (bso#9150).
- NMB registration for a duplicate workstation fails with registration
  refuse; (bso#9085); (bnc#770056).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=253
2012-09-17 12:24:54 +00:00
Lars Müller
035eb2e48d Remove backup files caused by running configure in examples/VFS.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=252
2012-08-16 15:02:49 +00:00
Lars Müller
eb0057d8e6 Fix line wrapping of change log file.
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=251
2012-08-07 09:05:31 +00:00
Lars Müller
1272e7063e - Update to 3.6.7.
+ Fix resolving our own "Domain Local" groups; (bso#9052).
  + Fix migrating printers while upgrading from 3.5.x; (bso#9026).
- Correct documentation of "case sensitive"; (bso#8552).
- Printing fails in function cups_job_submit; (bso#8719).
- Fix kernel oplocks when uid(file) != uid(process); (bso#8974).
- Send correct responses to NT Transact Secondary when no data and no params for the Trans2 calls are set; (bso#8989).
- Fix build without ads support; (bso#8996).
- Don't turn negative cache entries into valid idmappings; (bso#9002).
- Fix posix acl on gpfs; (bso#9003).
- Make vfs_gpfs less verbose in get/set_xattr functions; (bso#9022).
- Fix migrating printers while upgrading from 3.5.x; (bso#9026).
- Fix typo in set_re_uid() call when USE_SETRESUID selected in configure; (bso#9034).
- Using asynchronous IO with SMB2 can return NT_STATUS_FILE_CLOSED in error instead ofNT_STATUS_FILE_LOCK_CONFLICT; (bso#9040).
- Fix resolving our own "Domain Local" groups; (bso#9052).
- Fix build against CUPS 1.6; (bso#9055).
- Fix bugs in SMB2 credit handling code; (bso#9057).
- rpcclient: Fix bad call to data_blob_const; (bso#9062).

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=250
2012-08-06 21:17:00 +00:00
Lars Müller
29ad237e46 BuildRequire gcc, make, and patch; (bnc#771516).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=249
2012-07-16 15:28:30 +00:00
Lars Müller
be075de50f ndr: fix push/pull DATA_BLOB with NDR_NOALIGN; (bso#9026); (bnc#770262).
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=248
2012-07-11 18:22:42 +00:00
Lars Müller
b52981da5a - Fix shell syntax in dhcpcd hook script; (bnc#769957).
- Call autogen.sh even on post-12.1 SUSE systems.
- Don't call autogen.sh on post-12.1 SUSE and post-14 Fedora systems.
- Include the reviewed french translation for pam_winbind; (bnc#499233).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plus a minor cleanup of the last changelog formating.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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