Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-20 | s4-python: added PYTHONDIR to python search path | Andrew Tridgell | 1 | -0/+5 | |
we put it after the scripting/python dir, so we look in the build directory (if applicable) first. | |||||
2010-04-20 | s4-dynconfig: added dyn_PYTHONDIR | Andrew Tridgell | 3 | -0/+6 | |
2010-04-20 | s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
short domainname discovery Here we don't need to use "lp_sam_name" since in this function we are always a DC. | |||||
2010-04-20 | s4:torture/rpc/netlogon.c - fix typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-04-20 | pytalloc: ensure talloc_ctx is directly after PyObject_HEAD | Andrew Tridgell | 4 | -10/+10 | |
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-20 | talloc: there is no ambiguity when freeing a ptr with a null parent | Andrew Tridgell | 1 | -1/+1 | |
when a ptr has a single reference and a NULL parent, then talloc_free(ptr) is not ambiguous, as the caller could not have done a talloc_free(NULL) to free the memory Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-20 | s4:provisionbackend Print the command we failed to start slapd with | Andrew Bartlett | 1 | -1/+2 | |
This makes it easier to put failed startups into a debugger. Andrew Bartlett | |||||
2010-04-20 | s4:provision Pass in the invoication ID and NTDS Settings DN to Schema() | Andrew Bartlett | 6 | -13/+106 | |
By putting these values into the cache on the LDB, this reduces some of the noise in provision, particularly with the LDAP backend. Andrew Bartlett | |||||
2010-04-20 | Removed more excess looping and fixed problem with incorrect IO flag handling. | Nadezhda Ivanova | 2 | -126/+114 | |
2010-04-19 | s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERS | Stefan Metzmacher | 2 | -2/+8 | |
metze | |||||
2010-04-19 | s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPS | Stefan Metzmacher | 2 | -2/+8 | |
metze | |||||
2010-04-19 | s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOM | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2010-04-19 | s4-waf: follow the configure directories for the empty install dirs | Andrew Tridgell | 1 | -1/+1 | |
Thanks to Metze for spotting this | |||||
2010-04-19 | s4-waf: install some missing empty directories | Andrew Tridgell | 1 | -0/+3 | |
2010-04-19 | s4-dns: use neater python for reading lines | Andrew Tridgell | 1 | -7/+2 | |
files are line iterators | |||||
2010-04-19 | s4-param: set SMB_CONF_PATH when we load a smb.conf | Andrew Tridgell | 1 | -0/+6 | |
this is inherited by child python processes, to ensure they get the right smb.conf if they don't have one specified. Fixes bug 7301 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-19 | s4-dev: expanded selftest-vars.sh to match current testenv | Andrew Tridgell | 1 | -4/+41 | |
2010-04-19 | s4-python: PyErr_SetString() will crash on NULL strings | Andrew Tridgell | 2 | -7/+10 | |
use nt_errstr() when no error available | |||||
2010-04-18 | s4-waf: removed the unused installdir= option to SAMBA_BINARY() | Andrew Tridgell | 8 | -19/+0 | |
This was left over from the automatic conversion of the config.mk files | |||||
2010-04-18 | build: more adjustments for the ABI type name maps | Andrew Tridgell | 3 | -63/+3 | |
- use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI | |||||
2010-04-18 | s4-waf: rebuild signature files with the api type maps | Andrew Tridgell | 2 | -32/+32 | |
This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names | |||||
2010-04-18 | ldb-waf: enable ABI checking in ldb | Andrew Tridgell | 3 | -0/+506 | |
we use separate signature files for ldb and ldb-samba4, as the samba4 varient of the library has many more public symbols | |||||
2010-04-18 | ldb: mark the tdb backend in ldb as _PRIVATE_ | Andrew Tridgell | 1 | -1/+1 | |
2010-04-17 | s4:dsdb/dns/dns_update.c - fix a typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-04-17 | s4:kdc/db-glue.c - use "TALLOC_FREE" insteal of "talloc_free" for the "priv" ↵ | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
context Also after a free "priv" could be != NULL and may be freed again. This should fix bug #7365. | |||||
2010-04-12 | s4:kdc/wdc-samba4.c - fix integer counter types | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2010-04-12 | s4:kdc/db-glue.c - fix integer counter types | Matthias Dieter Wallnöfer | 1 | -6/+7 | |
2010-04-17 | s4:Added a test for correct CO expansion in SD creation. | Nadezhda Ivanova | 1 | -0/+13 | |
2010-04-16 | s4:Replaced dsdb_get_dom_sid_from_ldb_message() with samdb_result_dom_sid() | Nadezhda Ivanova | 2 | -55/+7 | |
2010-04-16 | s4-rpc: fixed the build with the old build system | Andrew Tridgell | 1 | -1/+1 | |
../librpc/gen_ndr/ndr_drsblobs.o was being linked in twice into drsblobs.so | |||||
2010-04-16 | s4-net: allow a username to be displayed in setpassword errors | Andrew Tridgell | 1 | -1/+6 | |
the filter is a bit too cryptic Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-16 | s4-net: nicer error message (and no exception) | Andrew Tridgell | 2 | -5/+17 | |
in net newuser and net setpasswd we shouldn't be throwing python exceptions on normal user errors like unknown user Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-16 | s4-test: added KRB5_CONFIG to selftest-vars.sh | Andrew Tridgell | 1 | -0/+1 | |
2010-04-15 | s4:rootdse: only return "tokenGroups", when the client asked for them | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-04-15 | pydsdb: Fix memory leak on invalid parameters, formatting, trivial | Jelmer Vernooij | 2 | -17/+22 | |
typos. | |||||
2010-04-15 | s4 python: add a unit test for function dsdb_get_oid_from_attid | Matthieu Patou | 2 | -0/+45 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-04-15 | s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB ↵ | Matthieu Patou | 1 | -0/+3 | |
object Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-04-15 | s4 python: Add a function to get the oid of an attribute when the attid is known | Matthieu Patou | 1 | -0/+37 | |
This function is mainly to help decoding replPropertyMetaData in python Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-04-15 | s4: Add python binding to waf so that the drsblobs.so is also built in waf | Matthieu Patou | 1 | -0/+6 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-04-15 | s4: Fix python binding for drsblobs | Matthieu Patou | 1 | -1/+1 | |
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-04-15 | s4 provision: Remove hard coded ACL for GPO objects | Matthieu Patou | 1 | -2/+0 | |
It is no longer needed to hard code ACL for GPO object as we have now code that calculate ACL from defaultSecurityDescriptor and inheritance correctly. In fact the resulting ACL returned by this hard coded value is a bit wrong as some ACE are duplicated. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-04-15 | s4:setup/wscript_build: install dns_update_list into ${SETUPDIR} | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-04-15 | Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to ↵ | Stefan Metzmacher | 1 | -0/+1 | |
target setup folder"" This reverts commit a34eafc693d8750c0883823068e5c6f7355efa04. This commit was correct. metze | |||||
2010-04-15 | Revert "s4:"dns_update_list" file: install it properly into the private ↵ | Stefan Metzmacher | 2 | -10/+7 | |
directory" This reverts commit fde707aa0c563d239c2f8c442cddfee0b6ff057f. This is wrong, we need to install it into the setup directory, so that provision will find it and copy it to private dir. metze | |||||
2010-04-15 | s4:dynconfig/wscript: ${LOCALSTATEDIR} already has var/ included | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2010-04-15 | s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of ↵ | Stefan Metzmacher | 1 | -1/+1 | |
NT_STATUS_NET_WRITE_FAULT metze | |||||
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:Added a test to make sure we ignore ACEs with ID flag set. | Nadezhda Ivanova | 1 | -0/+13 | |