In net_conf_import, start a transaction when importing a single share.
commit448b434a862da0ca621c3b695dc800e9ec5e8fcf
authorMartin Schwenke <martin@meltin.net>
Thu, 16 Apr 2009 00:25:29 +0000 (16 10:25 +1000)
committerMichael Adam <obnox@samba.org>
Thu, 16 Apr 2009 08:38:38 +0000 (16 10:38 +0200)
treed0389d41ed0ccb8fc3cd6a45002fffd98cb226d5
parent56aae35a234f19eda9702ce321b92fa382a1ada6
In net_conf_import, start a transaction when importing a single share.

Commit d69c3db9d44ad5d9fd1f5d7a9499f3bd79ecfb47 caused the transaction
start to be conditional but the commit is still unconditional, so an
error occurs when importing a single share.

An alternate fix would be to return the transaction start to be
unconditional but then it would occur before other error checking.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Michael Adam <obnox@samba.org>
source3/utils/net_conf.c