Public bug reported: The RAP NetShareEnum command was removed in Windows 2008r2, so "net rpc share allowedusers" no longer works.
Upstream has accepted (and is in the process of applying) a patch to use the equivalent RPC call instead: https://bugzilla.samba.org/show_bug.cgi?id=8966 I've 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. It would be good if other users could benefit from the fix. I've attached a debdiff of the patched precise package I'm using. ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1061244 Title: Fix net rpc share allowedusers to work with 2008r2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1061244/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs