s3:net: wrap net conf import into one big transaction
commit8f6377ce55d4f2170d2fe1aaf13437f417f2183f
authorMichael Adam <obnox@samba.org>
Tue, 24 Feb 2009 09:54:13 +0000 (24 10:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Mar 2009 13:15:40 +0000 (27 14:15 +0100)
tree9d5eebb51065b3162b81b2adb95a30c6e9b0bc62
parenta7a672ce0bd98514532845727882c4e0a96cd5f8
s3:net: wrap net conf import into one big transaction

This speeds up "net conf import" of a file with 2000 shares
from 11 minutest to 1m50s on my box.

Michael

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit e95bcaefc98f4ddc461d60d2f6f812ef24c2f234)
source/utils/net_conf.c