diff options
author | Matthieu Patou <mat@matws.net> | 2010-05-24 09:41:44 +0400 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 00:43:08 +0200 |
commit | 9c808c47fc2fddac396d12452428443f3ab26073 (patch) | |
tree | 81d0452eee02c582e42a5e242abc02edf2d69930 /source4/scripting/python/samba | |
parent | 84342b1c7f289e5288470d4d4e3899aac6f042c5 (diff) | |
download | samba-9c808c47fc2fddac396d12452428443f3ab26073.tar.gz samba-9c808c47fc2fddac396d12452428443f3ab26073.tar.bz2 samba-9c808c47fc2fddac396d12452428443f3ab26073.zip |
s4: Add comments about setup_secrets
Comments are to inform people that this function should not handle
transaction within the function as it is mainly used in provision and
that we want to commit secrets only if all the action on secrets have
worked.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/scripting/python/samba')
-rw-r--r-- | source4/scripting/python/samba/provision.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index c46c290ae1..5aaa833030 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -743,6 +743,8 @@ def secretsdb_setup_dns(secretsdb, setup_path, private_dir, def setup_secretsdb(path, setup_path, session_info, backend_credentials, lp): """Setup the secrets database. + This function does not handle exceptions and transaction on purpose, + it's up to the caller to do this job. :param path: Path to the secrets database. :param setup_path: Get the path to a setup file. |