s3:net conf: reduce memory usage of "net conf import".
authorMichael Adam <obnox@samba.org>
Wed, 4 Mar 2009 20:46:32 +0000 (21:46 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 19 Mar 2009 17:03:56 +0000 (18:03 +0100)
commitde7baafb5129e910b2759a74941cf0d6b3d6f3ea
treeb228d25d85014f80f9c60d73aee5ef43c0858024
parentf70716edac143b8d83fdfaa409c3c68373ed801f
s3:net conf: reduce memory usage of "net conf import".

"net conf import" was wrapped in one big transaction.
This lead to MAX_TALLOC_SIZE being exceeded at roughly
1500 shares. This patch resolves that problem by
limiting the top level transactions in "net conf import"
to 100 shares.

Michael

Signed-off-by: Michael Adam <obnox@samba.org>
source/utils/net_conf.c