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

Launchpad Bug Tracker 1061244 at bugs.launchpad.net
Wed Dec 19 04:11:28 UTC 2012


You have been subscribed to a public bug by Paul Wise (Debian) (pabs):

[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 this 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.

** Affects: samba (Ubuntu)
     Importance: Low
     Assignee: James Page (james-page)
         Status: Fix Released

** Affects: samba (Ubuntu Precise)
     Importance: Low
     Assignee: Paul Wise (Debian) (pabs)
         Status: Triaged


** Tags: patch
-- 
Fix net rpc share allowedusers to work with 2008r2
https://bugs.launchpad.net/bugs/1061244
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list