diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-04-30 11:34:21 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-05-30 23:55:22 +0200 |
commit | 0791bb07ca4c356dab60e2a8223b1ebbc6ea0060 (patch) | |
tree | 1c17ff2c5991aa9c0bf895e557c87a436cadefc3 /source4/scripting | |
parent | 3c41fcffb6cb26219c4635146ce0ebe1068f0d60 (diff) | |
download | samba-0791bb07ca4c356dab60e2a8223b1ebbc6ea0060.tar.gz |
KCC: improve docstring for KCC.load_samdb()
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat May 30 23:55:22 CEST 2015 on sn-devel-104
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/bin/samba_kcc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc index 2a390046cfb..1c1e6d94ebc 100755 --- a/source4/scripting/bin/samba_kcc +++ b/source4/scripting/bin/samba_kcc @@ -2450,6 +2450,12 @@ class KCC(object): return dsas def load_samdb(self, dburl, lp, creds): + """Load the database using an url, loadparm, and credentials + + :param dburl: a database url. + :param lp: a loadparm object. + :param cred: a Credentials object. + """ self.samdb = SamDB(url=dburl, session_info=system_session(), credentials=creds, lp=lp) |