Fix net rpc share allowedusers to work with 2008r2
commitfc553408ca5a0d8a478c5a60d0620932840236a1
authorJeremy Allison <jra@samba.org>
Thu, 4 Oct 2012 08:56:12 +0000 (4 10:56 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2012 09:05:41 +0000 (29 10:05 +0100)
tree85b65dbbcb59efb9ee5f3b1afe2ad20ddc87c4c6
parent87436d7f9ccdb93ee7a02fb5eea2a9387e53232f
Fix net rpc share allowedusers to work with 2008r2

The RAP NetShareEnum command was removed in 2008r2, so use the RPC equivalent
instead.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=8966
Author: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0efdbc565fe64ab87bda4c9632a701e3115d7b23)
source3/utils/net_rpc.c