]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libnet: Update export_keytab() docstring
authorJo Sutton <josutton@catalyst.net.nz>
Wed, 24 Apr 2024 05:11:03 +0000 (17:11 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2024 20:33:36 +0000 (20:33 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/libnet/py_net_dckeytab.c

index efdecf68be4623d04aab97bc5363d4506a2e9367..7de4793b99fe508e364b5083f1f114948e2e3732 100644 (file)
@@ -88,8 +88,10 @@ static PyObject *py_net_export_keytab(py_net_Object *self, PyObject *args, PyObj
        Py_RETURN_NONE;
 }
 
-static const char py_net_export_keytab_doc[] = "export_keytab(keytab, name)\n\n"
-"Export the DC keytab to a keytab file.";
+static const char py_net_export_keytab_doc[] =
+       "export_keytab(keytab, samdb=None, principal=None, "
+       "keep_stale_entries=False, only_current_keys=False)\n\n"
+       "Export the DC keytab to a keytab file.";
 
 static PyMethodDef export_keytab_method_table[] = {
        {"export_keytab", PY_DISCARD_FUNC_SIG(PyCFunction,