diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-22 18:03:01 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-23 00:37:30 +0200 |
commit | b8310221c60e75fc8fe9764958213033cc43fb84 (patch) | |
tree | 75b2a549e9f4d1ff447aa103c502cb565e2a62ed /source4/libnet | |
parent | c401aa93573460f10256218a6a1902839b17b884 (diff) | |
download | samba-b8310221c60e75fc8fe9764958213033cc43fb84.tar.gz samba-b8310221c60e75fc8fe9764958213033cc43fb84.tar.bz2 samba-b8310221c60e75fc8fe9764958213033cc43fb84.zip |
Add docstring for samba.net.Join
(This used to be commit 382de5455363ab1ae7436ff8da4b952d2b6541e9)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/py_net.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index cf81d8070d..443da299c7 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -71,8 +71,11 @@ static PyObject *py_net_join(PyObject *cls, PyObject *args, PyObject *kwargs) return result; } +static char py_net_join_doc[] = "join(domain_name, netbios_name, join_type, level) -> (join_password, domain_sid, domain_name)\n\n" \ +"Join the domain with the specified name."; + static struct PyMethodDef net_methods[] = { - {"Join", (PyCFunction)py_net_join, METH_VARARGS|METH_KEYWORDS}, + {"Join", (PyCFunction)py_net_join, METH_VARARGS|METH_KEYWORDS, py_net_join_doc}, {NULL } }; |