[Bug 1061244] Re: Fix net rpc share allowedusers to work with 2008r2

Launchpad Bug Tracker 1061244 at bugs.launchpad.net
Mon Mar 18 03:54:26 UTC 2013


This bug was fixed in the package samba - 2:3.6.3-2ubuntu2.4

---------------
samba (2:3.6.3-2ubuntu2.4) precise; urgency=low

  [ Olly Betts ]
  * Change "net share allowedusers" to use RPC call that works with
    Microsoft Windows 2008 r2.  (LP: #1061244)

  [ Louis Bouchard ]
  * Fix issue with Windows XP / 7 (LP: #967410) where a USB
    connected printer shared on Ubuntu cannot be added to Windows
    using the "Find a printer in the directory" functionalty.

  [ Adam Conrad ]
  * Cherrypick patch from upstream to resolve a SIGABRT when passing
    setgroups a -1 gid, fixing samba with 3.5 kernels (LP: #1016895)
 -- Adam Conrad <adconrad at ubuntu.com>   Tue, 19 Feb 2013 22:22:12 -0700

** Changed in: samba (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1061244

Title:
  Fix net rpc share allowedusers to work with 2008r2

Status in “samba” package in Ubuntu:
  Fix Released
Status in “samba” source package in Precise:
  Fix Released

Bug description:
  [Impact]

  The RAP NetShareEnum command was removed in Windows 2008r2, so "net
  rpc share allowedusers" no longer works.

  [Test Case]

  Install a Windows 2008r2 or later server and setup a domain and export
  some shares. Install Ubuntu precise on a machine on the same network
  and join it to the domain. Then run this command on a machine running
  Ubuntu precise:

  $ net usersidlist | net rpc share allowedusers -U Administrator -S
  <ipaddr>

  Where <ipaddr> is the IP address of the Windows 2008r2 server.

  Without the patch, this gives:

  Error returning browse list: NT_STATUS_NOT_SUPPORTED

  With the patch it shows the shares and which users can view them.

  [Regression Potential]

  This has been running in production with various versions of samba
  since at least July 2011 and it seems to work well with both 2008r2
  and older versions of Windows.

  Samba upstream have applied the patch to the 3.6 branch, indicating
  they believe it's a change suitable for a stable release series:

  https://bugzilla.samba.org/show_bug.cgi?id=8966

  [Other Info]

  None.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1061244/+subscriptions




More information about the foundations-bugs mailing list