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)
commit2266d281a4bb0a034461ba3e72513609f86e9a38
tree32c2703f672ef55b64a1805cb6ff83a14010a384
parent2b28e69ddfb017290674298b7497ce780d189976
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.
source/utils/net_rpc.c