diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2014-10-12 16:07:41 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-10-14 06:44:06 +0200 |
commit | 08ca688d4ec126ff72ffb46de2d764ae890401ad (patch) | |
tree | 44d75722b341d281e91d5a1d4a5862388f57f61d /source4/libnet/py_net.c | |
parent | eef3a7be2d07771115e3fb0b3cfd6bcfb4061aaa (diff) | |
download | samba-08ca688d4ec126ff72ffb46de2d764ae890401ad.tar.gz samba-08ca688d4ec126ff72ffb46de2d764ae890401ad.tar.xz samba-08ca688d4ec126ff72ffb46de2d764ae890401ad.zip |
py_net: Fix typo in change_password docstring, and indentation in
set_password docstring.
Change-Id: I93e9ed79ee43233fc3c1bb69d8eb0a5c6e0e3940
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libnet/py_net.c')
-rw-r--r-- | source4/libnet/py_net.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index 7981aad022..f4bd4586cb 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -129,7 +129,7 @@ static PyObject *py_net_change_password(py_net_Object *self, PyObject *args, PyO static const char py_net_change_password_doc[] = "change_password(newpassword) -> True\n\n" \ "Change password for a user. You must supply credential with enough rights to do this.\n\n" \ "Sample usage is:\n" \ -"net.set_password(newpassword=<new_password>\n"; +"net.change_password(newpassword=<new_password>)\n"; static PyObject *py_net_set_password(py_net_Object *self, PyObject *args, PyObject *kwargs) @@ -178,9 +178,7 @@ static PyObject *py_net_set_password(py_net_Object *self, PyObject *args, PyObje static const char py_net_set_password_doc[] = "set_password(account_name, domain_name, newpassword) -> True\n\n" \ "Set password for a user. You must supply credential with enough rights to do this.\n\n" \ "Sample usage is:\n" \ -"net.set_password(account_name=<account_name>,\n" \ -" domain_name=domain_name,\n" \ -" newpassword=new_pass)\n"; +"net.set_password(account_name=account_name, domain_name=domain_name, newpassword=new_pass)\n"; static PyObject *py_net_time(py_net_Object *self, PyObject *args, PyObject *kwargs) |