Fix net rpc share allowedusers to work with 2008r2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Low
|
James Page | ||
Precise |
Fix Released
|
Low
|
Paul Wise (Debian) |
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_
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:/
[Other Info]
None.
Changed in samba (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
description: | updated |
Changed in samba (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in samba (Ubuntu): | |
importance: | Undecided → Low |
description: | updated |
Changed in samba (Ubuntu Precise): | |
assignee: | nobody → Paul Wise (Debian) (pabs) |
description: | updated |
Changed in samba (Ubuntu Precise): | |
status: | Triaged → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
The attachment "debdiff for patched precise package" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]