summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-waf: create the smbd.tmp/messaging directoryAndrew Tridgell2010-04-211-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>
* s4-python: added --realm option to python scriptsAndrew Tridgell2010-04-211-1/+7
| | | | | | this is needed for net vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: set "setup_dir" to the right pathAndrew Tridgell2010-04-211-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>
* s4-schema: allow revision numbers of zeroAndrew Tridgell2010-04-211-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>
* s4-python: accept --option arguments in python cmdline parsingAndrew Tridgell2010-04-211-10/+17
| | | | | | also fixed the -d option to use lp.set() which calls lp_set_cmdline() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-devel: allow extra net command line options and gdbAndrew Tridgell2010-04-211-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>
* s4-pynet: accept None for target_dir in vampireAndrew Tridgell2010-04-211-1/+1
|
* Fix i18n of net conf import error message.Jim McDonough2010-04-201-3/+4
| | | | Thanks gd
* Display an error on net conf import failures.Jim McDonough2010-04-201-0/+3
| | | | | | When something goes wrong, such as a typo in a parameter name, we'll now display the failure instead of just returning with -1 and no message.
* s4-smbtorture: add spoolss DriverInfo and winreg consistency test.Günther Deschner2010-04-201-7/+238
| | | | Guenther
* s4-smbtorture: add function to get a printserver's environment.Günther Deschner2010-04-201-0/+22
| | | | Guenther
* s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.Günther Deschner2010-04-201-22/+22
| | | | Guenther
* s4-smbtorture: refactor test_GetPrinterDriver2().Günther Deschner2010-04-201-36/+64
| | | | Guenther
* s4:dynconfig: fix the autoconf build and pass -DPYTHONDIR=\"$(pythondir)\"Stefan Metzmacher2010-04-201-2/+2
| | | | metze
* s4:rpc_server/netlogon: add no memory checksStefan Metzmacher2010-04-201-1/+2
| | | | metze
* s4-netlogon: fixed dc_unc and dc_address_typeAndrew Tridgell2010-04-201-1/+3
| | | | These are needed for dcpromo from w2k8r2
* build: added uname display and SYSTEM_UNAME defineAndrew Tridgell2010-04-202-0/+22
| | | | suggestion from Metze
* util-runcmd: ignore spurious ECHILD errorsAndrew Tridgell2010-04-201-0/+14
| | | | | | | | | | when we get ECHILD in samba_runcmd it is because the parent has set SIGCHLD to SIG_IGN. In that case the child status information is lost. We then have to fallback on the logging of child error messages for any useful information on what happened to the child. A longer term fix is to stop using SIG_IGN for SIGCHLD in the standard process model of s4.
* s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.Günther Deschner2010-04-201-0/+71
| | | | | | Suprisingly, that value is always 0 (at least on w2k8r2). Guenther
* s4-net: don't show a full python exception when you can't open sam.ldbAndrew Tridgell2010-04-201-2/+2
|
* s4-net: show a list of commands when someone runs "net" with no argumentsAndrew Tridgell2010-04-201-1/+1
|
* s4-python: added PYTHONDIR to python search pathAndrew Tridgell2010-04-201-0/+5
| | | | | we put it after the scripting/python dir, so we look in the build directory (if applicable) first.
* s4-dynconfig: added dyn_PYTHONDIRAndrew Tridgell2010-04-203-0/+6
|
* s3-spoolss: fix winreg spoolss helper call documentation.Günther Deschner2010-04-201-11/+33
| | | | Guenther
* s3-spoolss: avoid passing down full "struct pipes_struct".Günther Deschner2010-04-202-51/+73
| | | | Guenther
* s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC ↵Matthias Dieter Wallnöfer2010-04-201-1/+1
| | | | | | | short domainname discovery Here we don't need to use "lp_sam_name" since in this function we are always a DC.
* s4:torture/rpc/netlogon.c - fix typoMatthias Dieter Wallnöfer2010-04-201-1/+1
|
* pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell2010-04-204-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>
* talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell2010-04-206-3/+105
| | | | | | | | 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>
* tdb: update tdb ABI to use hide_symbols=TrueAndrew Tridgell2010-04-205-78/+67
| | | | | | | | | | | | | | We now use -fvisibilty=hidden to hide symbols from outside the tdb shared library. This also moved tdb_transaction_recover() into the tdb_private.h header, as it should never have been a public API. For that reason we are changing the version number. We're only doing a minor version increment as it is extremely unlikely that anyone was actually using tdb_transaction_recover() as its locking requirements were rather unusual. Pair-Programmed-With: Rusty Russell <rusty@samba.org>
* build: include uninitialised data in the ABI symbolsAndrew Tridgell2010-04-201-1/+1
| | | | | | | This is needed for symbols like tdb_null in tdb, which are part of the public ABI Pair-Programmed-With: Rusty Russell <rusty@samba.org>
* build: quote cross-answer stringsAndrew Tridgell2010-04-201-1/+1
| | | | This allows for spaces and special characters in cross-answers
* build: allow "waf --abi-check" to force a re-check of the ABIAndrew Tridgell2010-04-201-0/+3
|
* s4:provisionbackend Print the command we failed to start slapd withAndrew Bartlett2010-04-201-1/+2
| | | | | | This makes it easier to put failed startups into a debugger. Andrew Bartlett
* s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()Andrew Bartlett2010-04-206-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
* Now SMB2 error messages are correctly being returned with the 1 byte data ↵Jeremy Allison2010-04-191-51/+49
| | | | | | area, smbd_smb2_request_error_ex() must call smbd_smb2_request_done_ex() in order to do the padding correctly on compound replies. Jeremy.
* Ensure vectors are always allocated with consistent size. Removes one byte ↵Jeremy Allison2010-04-191-20/+60
| | | | | | alloc on SMB2 error packet. Always use talloc_zero_array on out vectors - fixes valgrind errors in tevent writes. Jeremy.
* Fix valgrind error where a strdup of name reads one byte beyond the end. ↵Jeremy Allison2010-04-191-1/+2
| | | | | | Ensure buffer returned from inotify is null terminated. Jeremy.
* Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova2010-04-202-126/+114
|
* Remove an unused auto variable.Jeremy Allison2010-04-191-3/+0
| | | | Jeremy.
* libwbclient: wbcFreeMemory deals fine with a NULL pointerVolker Lendecke2010-04-191-3/+1
|
* libwbclient: Fix wbcListGroups against too small num_entriesVolker Lendecke2010-04-191-6/+11
| | | | Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
* libwbclient: Fix wbcListUsers against too small num_entriesVolker Lendecke2010-04-191-6/+11
| | | | Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
* s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERSStefan Metzmacher2010-04-192-2/+8
| | | | metze
* s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPSStefan Metzmacher2010-04-192-2/+8
| | | | metze
* s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOMStefan Metzmacher2010-04-191-0/+1
| | | | metze
* s3: Remove a leftover of my lua experimentsVolker Lendecke2010-04-191-5/+0
|
* s3: Move the in-memory ccache to the parentVolker Lendecke2010-04-197-95/+90
| | | | | None of this blocks, so there is no reason to keep this in a winbind child process
* nsswitch: Add wbinfo --pam-logonVolker Lendecke2010-04-191-0/+78
| | | | This does a wbcLogonUser with credential caching
* s3: Test for wb ccache access by smbclientVolker Lendecke2010-04-191-0/+33
|