Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-15 | s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for ↵ | Stefan Metzmacher | 1 | -1/+1 | |
SetPassword metze | |||||
2010-04-15 | s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ↵ | Stefan Metzmacher | 1 | -3/+3 | |
ChangePassword calls metze | |||||
2010-04-15 | s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of ↵ | Stefan Metzmacher | 1 | -1/+1 | |
NT_STATUS_NET_WRITE_FAULT metze | |||||
2010-04-15 | s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymore | Stefan Metzmacher | 1 | -49/+20 | |
metze | |||||
2010-04-13 | Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions" | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
We should use the "ldb_get_*_basedn" calls since they are available in the LDB library. | |||||
2010-04-12 | s4/libnet: Allocate mem in supplied mem_ctx | Kamen Mazdrashki | 1 | -2/+2 | |
In this case, 'libnet_Vampire *r' may not be a pointer to a talloced memory. | |||||
2010-04-12 | s4/py_net: Source code formatting fix | Kamen Mazdrashki | 1 | -16/+17 | |
2010-04-12 | s4/libnet: handle errors returned for DsAddEntry_v3 properly | Kamen Mazdrashki | 1 | -4/+3 | |
It turns out ms-docs are little bit misleading - in case of no error, r->out.ctr->ctr3.err_data is not NULL, but error information (r->out.ctr->ctr3.err_data->v1.info) is NULL! | |||||
2010-04-12 | s4/libnet: Add few new lines in the debug log so it is readable again | Kamen Mazdrashki | 1 | -14/+16 | |
2010-04-12 | s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected | Kamen Mazdrashki | 1 | -2/+1 | |
Actually DRSUAPI_DIRERR_OK is not valid error to be returned. I introduce it in the IDL so that I can use it in enum. So it should be dumped as Unexpected error code | |||||
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 | |
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -4/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | build: fixed libcli/ndr_netlogon.c dependency rules | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 1 | -0/+17 | |
2010-03-29 | s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result | Stefan Metzmacher | 1 | -0/+36 | |
metze | |||||
2010-03-29 | s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-03-29 | s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result | Stefan Metzmacher | 1 | -0/+30 | |
metze | |||||
2010-03-24 | s4/drs: Implement DsAddEntry V3 error handling | Kamen Mazdrashki | 1 | -10/+67 | |
2010-03-24 | s4/drs: Refactor error handling for DsAddEntry V3 replies | Kamen Mazdrashki | 1 | -15/+43 | |
Dumping for specific error classes are to be implemented properly in the near future. | |||||
2010-03-24 | s4/drs: drsuapi_DsAddEntry_ErrData propagate structure def in source code | Kamen Mazdrashki | 1 | -7/+7 | |
2010-03-24 | s4/drs: DsAddEntry - extending error handling for V2 replies | Kamen Mazdrashki | 1 | -2/+15 | |
After having more complete definition for DsAddEntryReply V2 structure, we can now handle error state in more robust way, not just counting on number of objects returned. | |||||
2010-03-24 | s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source code | Kamen Mazdrashki | 1 | -2/+2 | |
2010-03-24 | s4/drs: DsAddEntry - Propagating unsigned switches to source code | Kamen Mazdrashki | 1 | -1/+1 | |
2010-03-23 | s4:libnet: don't include librpc/rpc/dcerpc.h directly | Stefan Metzmacher | 3 | -3/+0 | |
metze | |||||
2010-03-16 | s4:dsdb Change dsdb_get_schema() callers to use new talloc argument | Andrew Bartlett | 1 | -1/+1 | |
This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett | |||||
2010-03-12 | s4:libnet/libnet_time.c: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-03-12 | s4:libnet/libnet_share.c: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2010-03-12 | s4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-03-12 | s4:libnet/libnet_passwd.c: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -13/+13 | |
metze | |||||
2010-03-12 | s4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -13/+13 | |
metze | |||||
2010-03-12 | s4:libnet/libnet_rpc.c: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -24/+31 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:libnet/usernam.c: make use of use tevent_req based dcerpc_binding_handle ↵ | Stefan Metzmacher | 1 | -64/+89 | |
stubs metze | |||||
2010-03-12 | s4:libnet/userinfo.c: make use of use tevent_req based dcerpc_binding_handle ↵ | Stefan Metzmacher | 1 | -35/+46 | |
stubs metze | |||||
2010-03-12 | s4:libnet/libnet_user.c: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -24/+33 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:libnet/libnet_lookup.c: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -12/+17 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:libnet/libnet_group.c: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -24/+33 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:libnet/libnet_domain.c: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -99/+133 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:libnet_unbecome_dc: make use of use tevent_req based ↵ | Stefan Metzmacher | 1 | -14/+25 | |
dcerpc_binding_handle stubs metze | |||||
2010-03-12 | s4:libnet_become_dc: make use of use tevent_req based dcerpc_binding_handle ↵ | Stefan Metzmacher | 1 | -53/+80 | |
stubs metze | |||||
2010-03-12 | s4:libnet/group*: make use of tevent_req based dcerpc_binding_handle stubs | Stefan Metzmacher | 2 | -67/+89 | |
metze | |||||
2010-03-12 | s4:libnet: keep a dcerpc_binding_handle for samr and lsa | Stefan Metzmacher | 2 | -0/+4 | |
metze |