Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-12 | s4-libnet: split export_keytab in a separate python module to avoid pulling ↵ | Alexander Bokovoy | 1 | -44/+1 | |
in HDB dependency Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104 | |||||
2011-11-29 | s4:py_net: add optional 'machinepass' parameter to py_net_join_member() | Stefan Metzmacher | 1 | -3/+4 | |
metze | |||||
2011-11-29 | s4:libnet/py_net: ZERO_STRUCT() struct libnet_Join_member in ↵ | Stefan Metzmacher | 1 | -0/+2 | |
py_net_join_member() metze | |||||
2011-11-29 | s4-samba-tool: Add --principal argument to samba-tool domain exportkeytab | Andrew Bartlett | 1 | -3/+5 | |
This allows only a particular principal to be exported to the keytab. This is useful when setting up unix servers in a Samba controlled domain. Based on a request by Gémes Géza <geza@kzsdabas.hu> Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 29 09:20:55 CET 2011 on sn-devel-104 | |||||
2011-11-26 | s4:libnet/py_net.c: "py_net_finddc" - add an "address" parameter | Matthias Dieter Wallnöfer | 1 | -7/+15 | |
This is useful for a new "samba-tool domain info" command. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-26 | s4:libnet/py_net.c - initialise optional keyword arguments | Matthias Dieter Wallnöfer | 1 | -1/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-15 | s4:libnet: initialize forest structure in py_net_replicate_init() | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2011-09-19 | s4:libnet/py_net.c - fix up includes (in order to find all "struct"s) | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
Reviewed-by: Jelmer | |||||
2011-08-25 | s4-libnet: fixed forest DNS name | Andrew Tridgell | 1 | -1/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-12 | s4:libnet: passdown the DsGetNCChangesReq* to the libnet_BecomeDC_StoreChunk ↵ | Stefan Metzmacher | 1 | -4/+43 | |
handler metze Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-10 | pytalloc: Use consistent prefix for functions, add ABI file. | Jelmer Vernooij | 1 | -4/+5 | |
2011-08-08 | s4:py_net: PyArg_ParseTuple("i") requires an 'int' argument | Stefan Metzmacher | 1 | -1/+4 | |
If we pass variable references we don't get implicit casting! metze | |||||
2011-08-07 | pyldb: Consistently use pyldb_ prefix. | Jelmer Vernooij | 1 | -1/+1 | |
2011-08-03 | gensec: clarify memory ownership for gensec_session_info() and ↵ | Andrew Bartlett | 1 | -0/+1 | |
gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett | |||||
2011-07-28 | s4-libnet: py_net Add change_password() python command | Amitay Isaacs | 1 | -0/+53 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-28 | s4-libnet: py_net - Remove parsing for credentials argument | Amitay Isaacs | 1 | -5/+6 | |
py_creds are not used anywhere in the function. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-05-18 | s4-libnet: Remove libnet_Join and create libnet_Join_member | Andrew Bartlett | 1 | -8/+8 | |
libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett | |||||
2011-01-03 | s4-python: Add missing prototypes. | Jelmer Vernooij | 1 | -0/+2 | |
2011-01-01 | s4-python: Properly call PyObject_Del from all destructors. | Jelmer Vernooij | 1 | -0/+1 | |
2010-12-12 | ldb:pyldb.h - revert to the previous header behaviour | Matthias Dieter Wallnöfer | 1 | -1/+3 | |
"ldb_private.h" is private and therefore might not always be available. | |||||
2010-12-12 | s4:libcli/finddc.h - fix header dependancies | Matthias Dieter Wallnöfer | 1 | -5/+1 | |
And optimise includes | |||||
2010-12-12 | s4:libnet/py_net.c - add checks for OOM conditions | Matthias Dieter Wallnöfer | 1 | -0/+13 | |
2010-09-25 | s4-pynet: added server keyword to Net() initialisation | Andrew Tridgell | 1 | -3/+7 | |
this sets up server_address in the libnet context Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2010-09-16 | s4-pynet: return the full netlogon response from python finddc | Andrew Tridgell | 1 | -7/+8 | |
this gives the caller the other server parameters Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-16 | s4-pyjoin: fill in the dns name in the python replication method | Andrew Tridgell | 1 | -0/+2 | |
this is needed to get the repsFrom DNS entry right Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-15 | s4-finddc: use NBT lookup for a 1C name if joining a short domain name | Andrew Tridgell | 1 | -1/+1 | |
once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-15 | s4-pynet: added finddc call | Andrew Tridgell | 1 | -0/+45 | |
this gives access to the CLDAP/DNS finddc code from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-02 | pynet: fixed ref count error on Py_None | Andrew Tridgell | 1 | -1/+1 | |
ensure we don't run out of None ... Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-08-27 | pyrpc: Add py_check_dcerpc_type(). | Jelmer Vernooij | 1 | -8/+3 | |
This function checks whether the type of a PyObject matches a DCE/RPC Python type. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-25 | s4-pynet: some systems don't have Py_TYPE() | Andrew Tridgell | 1 | -0/+4 | |
we need a better method than this .... | |||||
2010-08-25 | s4-pynet: added replicate_init() and replicate_chunk() calls | Andrew Tridgell | 1 | -35/+134 | |
these calls allow python code to pass chunks from DRS replication calls into the code that applies the chunks to a database Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-23 | libnet-s4: added replicate() command in pynet | Andrew Tridgell | 1 | -0/+60 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-23 | s4-libnet: added join type constants to python interface | Andrew Tridgell | 1 | -0/+4 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 1 | -2/+2 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-05-18 | pynet: Remove unused credentials argument. | Jelmer Vernooij | 1 | -4/+3 | |
2010-04-21 | s4-pynet: accept None for target_dir in vampire | Andrew Tridgell | 1 | -1/+1 | |
2010-04-20 | pytalloc: ensure talloc_ctx is directly after PyObject_HEAD | Andrew Tridgell | 1 | -1/+1 | |
the talloc python interface for tp_alloc and tp_dealloc relies on a cast to a py_talloc_Object to find the talloc_ctx (see py_talloc_dealloc). This means we rely on the talloc_ctx for the object being directly after the PyObject_HEAD This fixes the talloc free with references bug in samba_dnsupdate The actual problem was the tp_alloc() call in PyCredentialCacheContainer_from_ccache_container() which used a cast from a py_talloc_Object to a PyCredentialCacheContainerObject. That case effectively changed the parent/child relationship between the talloc_ctx and the ccc ptr. This patch changes all the structures that follow this pattern to put the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if anyone else decides to do a dangerous cast like this that it won't cause the same sort of subtle breakage. Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-19 | s4-python: PyErr_SetString() will crash on NULL strings | Andrew Tridgell | 1 | -6/+9 | |
use nt_errstr() when no error available | |||||
2010-04-12 | s4/py_net: Source code formatting fix | Kamen Mazdrashki | 1 | -16/+17 | |
2010-04-09 | s4-net: Convert vampire command over to Python. | Jelmer Vernooij | 1 | -0/+56 | |
2010-04-09 | s4-net: Convert user subcommand to Python. | Jelmer Vernooij | 1 | -0/+70 | |
2010-04-08 | net: Convert time command to python. | Jelmer Vernooij | 1 | -11/+49 | |
2010-04-08 | s4-net: Use new Net() object in net export keytab. | Jelmer Vernooij | 1 | -1/+5 | |
2010-04-08 | pynet: Create a net class. | Jelmer Vernooij | 1 | -69/+83 | |
2010-04-08 | Migrate 'net export keytab' to python. | Jelmer Vernooij | 1 | -12/+55 | |
2009-12-25 | py_net/libnet: Remove C++-style comments, add more error checking, move | Jelmer Vernooij | 1 | -5/+9 | |
initialization of dcerpc subsystem to libnet. | |||||
2009-12-25 | s4-libnet: Python binding for libnet_SetPassword() | Kamen Mazdrashki | 1 | -6/+66 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 1 | -1/+1 | |
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | |||||
2009-07-28 | Fix compile of py_net.c | Andrew Bartlett | 1 | -1/+3 | |
2009-07-28 | s4:libnet Add in a 'credentials' parameter for python libnet_Join | Andrew Bartlett | 1 | -7/+20 | |