When calling cli_samr_enum_{dom,als}_groups in a while loop, the
authorTim Potter <tpot@samba.org>
Fri, 25 Apr 2003 01:37:39 +0000 (01:37 +0000)
committerTim Potter <tpot@samba.org>
Fri, 25 Apr 2003 01:37:39 +0000 (01:37 +0000)
commitf1e92738b2464d4833e1d41f0d82aef2dd071583
treeb7f020a6c6895e15a9b53addd4d4abef61180868
parent07511789c0469829babaefbd1ad1742b1ab799da
When calling cli_samr_enum_{dom,als}_groups in a while loop, the
terminating condition should be result != STATUS_MORE_ENTRIES, not
result == NT_STATUS_OK otherwise we get stuck in an infinite loop
when there's any sign of trouble.
(This used to be commit 2266d281a4bb0a034461ba3e72513609f86e9a38)
source3/utils/net_rpc.c