summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-04-21s4-waf: python devel headers are mandatory for the source4 buildAndrew Tridgell1-1/+1
2010-04-21s4-server: show build host in samba -b outputAndrew Tridgell1-0/+5
2010-04-21s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3Andrew Tridgell2-2/+1
2010-04-21s4-drs: accept zero revision in drs selftestAndrew Tridgell1-0/+5
Kamen, please have a look at this. We need to accept revision zero as w2k8r2 sends it during initial schema replication Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-provision: cope with --realm being in getopt.pyAndrew Tridgell1-1/+2
we still need to allow for interactive querying of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-waf: create the smbd.tmp/messaging directoryAndrew Tridgell1-1/+1
this prevents a warning when we run net vampire from the install dir when samba has never been run previously Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-python: added --realm option to python scriptsAndrew Tridgell1-1/+7
this is needed for net vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-provision: set "setup_dir" to the right pathAndrew Tridgell1-2/+8
This needs to cope with both running from the build tree or running from the install tree. We use the provision.smb.conf.dc as a sentinal to detect if we are in the build tree. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-schema: allow revision numbers of zeroAndrew Tridgell1-6/+3
w2k8r2 sends a revision of zero in the initial schema replication during a net vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-python: accept --option arguments in python cmdline parsingAndrew Tridgell1-10/+17
also fixed the -d option to use lp.set() which calls lp_set_cmdline() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-devel: allow extra net command line options and gdbAndrew Tridgell1-1/+1
This allows you to run: GDB="gdb --args" vampire_ad.sh and also to add higher debug levels like this: vampire_ad.sh -d100 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21s4-pynet: accept None for target_dir in vampireAndrew Tridgell1-1/+1
2010-04-20s4-smbtorture: add spoolss DriverInfo and winreg consistency test.Günther Deschner1-7/+238
Guenther
2010-04-20s4-smbtorture: add function to get a printserver's environment.Günther Deschner1-0/+22
Guenther
2010-04-20s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.Günther Deschner1-22/+22
Guenther
2010-04-20s4-smbtorture: refactor test_GetPrinterDriver2().Günther Deschner1-36/+64
Guenther
2010-04-20s4:dynconfig: fix the autoconf build and pass -DPYTHONDIR=\"$(pythondir)\"Stefan Metzmacher1-2/+2
metze
2010-04-20s4:rpc_server/netlogon: add no memory checksStefan Metzmacher1-1/+2
metze
2010-04-20s4-netlogon: fixed dc_unc and dc_address_typeAndrew Tridgell1-1/+3
These are needed for dcpromo from w2k8r2
2010-04-20s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.Günther Deschner1-0/+71
Suprisingly, that value is always 0 (at least on w2k8r2). Guenther
2010-04-20s4-net: don't show a full python exception when you can't open sam.ldbAndrew Tridgell1-2/+2
2010-04-20s4-net: show a list of commands when someone runs "net" with no argumentsAndrew Tridgell1-1/+1
2010-04-20s4-python: added PYTHONDIR to python search pathAndrew Tridgell1-0/+5
we put it after the scripting/python dir, so we look in the build directory (if applicable) first.
2010-04-20s4-dynconfig: added dyn_PYTHONDIRAndrew Tridgell3-0/+6
2010-04-20s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC ↵Matthias Dieter Wallnöfer1-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-20s4:torture/rpc/netlogon.c - fix typoMatthias Dieter Wallnöfer1-1/+1
2010-04-20pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell4-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-20talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell1-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-20s4:provisionbackend Print the command we failed to start slapd withAndrew Bartlett1-1/+2
This makes it easier to put failed startups into a debugger. Andrew Bartlett
2010-04-20s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()Andrew Bartlett6-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-20Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova2-126/+114
2010-04-19s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERSStefan Metzmacher2-2/+8
metze
2010-04-19s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPSStefan Metzmacher2-2/+8
metze
2010-04-19s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOMStefan Metzmacher1-0/+1
metze
2010-04-19s4-waf: follow the configure directories for the empty install dirsAndrew Tridgell1-1/+1
Thanks to Metze for spotting this
2010-04-19s4-waf: install some missing empty directoriesAndrew Tridgell1-0/+3
2010-04-19s4-dns: use neater python for reading linesAndrew Tridgell1-7/+2
files are line iterators
2010-04-19s4-param: set SMB_CONF_PATH when we load a smb.confAndrew Tridgell1-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-19s4-dev: expanded selftest-vars.sh to match current testenvAndrew Tridgell1-4/+41
2010-04-19s4-python: PyErr_SetString() will crash on NULL stringsAndrew Tridgell2-7/+10
use nt_errstr() when no error available
2010-04-18s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell8-19/+0
This was left over from the automatic conversion of the config.mk files
2010-04-18build: more adjustments for the ABI type name mapsAndrew Tridgell3-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-18s4-waf: rebuild signature files with the api type mapsAndrew Tridgell2-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-18ldb-waf: enable ABI checking in ldbAndrew Tridgell3-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-18ldb: mark the tdb backend in ldb as _PRIVATE_Andrew Tridgell1-1/+1
2010-04-17s4:dsdb/dns/dns_update.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-04-17s4:kdc/db-glue.c - use "TALLOC_FREE" insteal of "talloc_free" for the "priv" ↵Matthias Dieter Wallnöfer1-5/+5
context Also after a free "priv" could be != NULL and may be freed again. This should fix bug #7365.
2010-04-12s4:kdc/wdc-samba4.c - fix integer counter typesMatthias Dieter Wallnöfer1-1/+2
2010-04-12s4:kdc/db-glue.c - fix integer counter typesMatthias Dieter Wallnöfer1-6/+7
2010-04-17s4:Added a test for correct CO expansion in SD creation.Nadezhda Ivanova1-0/+13