summaryrefslogtreecommitdiff
path: root/source4/libnet
AgeCommit message (Collapse)AuthorFilesLines
2010-04-29s4:libnet Make 'net vampire' more robust to command line argumentsAndrew Bartlett1-0/+20
When we have just joined a domain, we know a bit about that domain. Use these to override previous guesses as to what domain and realm to use for the rest of the join. Andrew Bartlett
2010-04-27nbt: samlogon/netlogon structures - unify denominationsMatthias Dieter Wallnöfer2-2/+2
2010-04-27s4-libnet: cope with an empty client site name from CLDAPAndrew Tridgell1-0/+5
We fall back to the server site name in a vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-27s4-vampire: show main CLDAP response attributes during vampireAndrew Tridgell1-0/+4
2010-04-22s4-libnet: fixed two compiler warningsAndrew Tridgell1-3/+2
2010-04-21s4-pynet: accept None for target_dir in vampireAndrew Tridgell1-1/+1
2010-04-20pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell1-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-19s4-python: PyErr_SetString() will crash on NULL stringsAndrew Tridgell1-6/+9
use nt_errstr() when no error available
2010-04-15s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for ↵Stefan Metzmacher1-1/+1
SetPassword metze
2010-04-15s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ↵Stefan Metzmacher1-3/+3
ChangePassword calls metze
2010-04-15s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of ↵Stefan Metzmacher1-1/+1
NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher1-49/+20
metze
2010-04-13Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"Matthias Dieter Wallnöfer1-2/+4
We should use the "ldb_get_*_basedn" calls since they are available in the LDB library.
2010-04-12s4/libnet: Allocate mem in supplied mem_ctxKamen Mazdrashki1-2/+2
In this case, 'libnet_Vampire *r' may not be a pointer to a talloced memory.
2010-04-12s4/py_net: Source code formatting fixKamen Mazdrashki1-16/+17
2010-04-12s4/libnet: handle errors returned for DsAddEntry_v3 properlyKamen Mazdrashki1-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-12s4/libnet: Add few new lines in the debug log so it is readable againKamen Mazdrashki1-14/+16
2010-04-12s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpectedKamen Mazdrashki1-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-09s4-net: Convert vampire command over to Python.Jelmer Vernooij1-0/+56
2010-04-09s4-net: Convert user subcommand to Python.Jelmer Vernooij1-0/+70
2010-04-08net: Convert time command to python.Jelmer Vernooij1-11/+49
2010-04-08s4-net: Use new Net() object in net export keytab.Jelmer Vernooij1-1/+5
2010-04-08pynet: Create a net class.Jelmer Vernooij1-69/+83
2010-04-08Migrate 'net export keytab' to python.Jelmer Vernooij1-12/+55
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-4/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: fixed libcli/ndr_netlogon.c dependency rulesAndrew Tridgell1-0/+1
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+17
2010-03-29s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.resultStefan Metzmacher1-0/+36
metze
2010-03-29s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.resultStefan Metzmacher1-0/+3
metze
2010-03-29s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.resultStefan Metzmacher1-0/+30
metze
2010-03-24s4/drs: Implement DsAddEntry V3 error handlingKamen Mazdrashki1-10/+67
2010-03-24s4/drs: Refactor error handling for DsAddEntry V3 repliesKamen Mazdrashki1-15/+43
Dumping for specific error classes are to be implemented properly in the near future.
2010-03-24s4/drs: drsuapi_DsAddEntry_ErrData propagate structure def in source codeKamen Mazdrashki1-7/+7
2010-03-24s4/drs: DsAddEntry - extending error handling for V2 repliesKamen Mazdrashki1-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-24s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source codeKamen Mazdrashki1-2/+2
2010-03-24s4/drs: DsAddEntry - Propagating unsigned switches to source codeKamen Mazdrashki1-1/+1
2010-03-23s4:libnet: don't include librpc/rpc/dcerpc.h directlyStefan Metzmacher3-3/+0
metze
2010-03-16s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett1-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-12s4:libnet/libnet_time.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-1/+1
metze
2010-03-12s4:libnet/libnet_share.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-3/+3
metze
2010-03-12s4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-1/+1
metze
2010-03-12s4:libnet/libnet_passwd.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-13/+13
metze
2010-03-12s4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-13/+13
metze
2010-03-12s4:libnet/libnet_rpc.c: make use of use tevent_req based ↵Stefan Metzmacher1-24/+31
dcerpc_binding_handle stubs metze
2010-03-12s4:libnet/usernam.c: make use of use tevent_req based dcerpc_binding_handle ↵Stefan Metzmacher1-64/+89
stubs metze
2010-03-12s4:libnet/userinfo.c: make use of use tevent_req based dcerpc_binding_handle ↵Stefan Metzmacher1-35/+46
stubs metze
2010-03-12s4:libnet/libnet_user.c: make use of use tevent_req based ↵Stefan Metzmacher1-24/+33
dcerpc_binding_handle stubs metze
2010-03-12s4:libnet/libnet_lookup.c: make use of use tevent_req based ↵Stefan Metzmacher1-12/+17
dcerpc_binding_handle stubs metze
2010-03-12s4:libnet/libnet_group.c: make use of use tevent_req based ↵Stefan Metzmacher1-24/+33
dcerpc_binding_handle stubs metze