diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-02-17 10:08:18 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-02-17 10:08:18 +0000 |
commit | 6b7e5090049dcfcbc7db1b43995c5f4b6dbff666 (patch) | |
tree | 519b23bc96162b84f035b5dbc530771182ae6350 /source3 | |
parent | 269082724a1bf367e532b92e4a35c874a08e3649 (diff) | |
download | samba-6b7e5090049dcfcbc7db1b43995c5f4b6dbff666.tar.gz samba-6b7e5090049dcfcbc7db1b43995c5f4b6dbff666.tar.bz2 samba-6b7e5090049dcfcbc7db1b43995c5f4b6dbff666.zip |
If there are no alias members, don't ask for their sids :-)
Volker
(This used to be commit 99f03a641e4fd75c3bafb8bd153687743317a3dc)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index b92d7ec81e..80f02f2ae9 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1342,6 +1342,10 @@ rpc_list_alias_members(struct cli_state *cli, TALLOC_CTX *mem_ctx, return result; } + if (num_members == 0) { + return NT_STATUS_OK; + } + cli_nt_session_close(cli); if (!cli_nt_session_open(cli, PI_LSARPC)) { |