summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-20build: added uname display and SYSTEM_UNAME defineAndrew Tridgell2-0/+22
suggestion from Metze
2010-04-20util-runcmd: ignore spurious ECHILD errorsAndrew Tridgell1-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.
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-20s3-spoolss: fix winreg spoolss helper call documentation.Günther Deschner1-11/+33
Guenther
2010-04-20s3-spoolss: avoid passing down full "struct pipes_struct".Günther Deschner2-51/+73
Guenther
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 Tridgell6-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>
2010-04-20tdb: update tdb ABI to use hide_symbols=TrueAndrew Tridgell5-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>
2010-04-20build: include uninitialised data in the ABI symbolsAndrew Tridgell1-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>
2010-04-20build: quote cross-answer stringsAndrew Tridgell1-1/+1
This allows for spaces and special characters in cross-answers
2010-04-20build: allow "waf --abi-check" to force a re-check of the ABIAndrew Tridgell1-0/+3
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-19Now SMB2 error messages are correctly being returned with the 1 byte data ↵Jeremy Allison1-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.
2010-04-19Ensure vectors are always allocated with consistent size. Removes one byte ↵Jeremy Allison1-20/+60
alloc on SMB2 error packet. Always use talloc_zero_array on out vectors - fixes valgrind errors in tevent writes. Jeremy.
2010-04-19Fix valgrind error where a strdup of name reads one byte beyond the end. ↵Jeremy Allison1-1/+2
Ensure buffer returned from inotify is null terminated. Jeremy.
2010-04-20Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova2-126/+114
2010-04-19Remove an unused auto variable.Jeremy Allison1-3/+0
Jeremy.
2010-04-19libwbclient: wbcFreeMemory deals fine with a NULL pointerVolker Lendecke1-3/+1
2010-04-19libwbclient: Fix wbcListGroups against too small num_entriesVolker Lendecke1-6/+11
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
2010-04-19libwbclient: Fix wbcListUsers against too small num_entriesVolker Lendecke1-6/+11
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
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-19s3: Remove a leftover of my lua experimentsVolker Lendecke1-5/+0
2010-04-19s3: Move the in-memory ccache to the parentVolker Lendecke7-95/+90
None of this blocks, so there is no reason to keep this in a winbind child process
2010-04-19nsswitch: Add wbinfo --pam-logonVolker Lendecke1-0/+78
This does a wbcLogonUser with credential caching
2010-04-19s3: Test for wb ccache access by smbclientVolker Lendecke1-0/+33
2010-04-19libwbclient: remove async libwbclient and talloc from libwbclient.soVolker Lendecke1-17/+8
Except for tests there is right now no active user of this. We can easily re-add this when smbd makes more use of it.
2010-04-19libwbclient does not need talloc_free anymoreVolker Lendecke1-1/+0
2010-04-19libwbclient: Make wbcListTrusts not use tallocVolker Lendecke1-28/+20
2010-04-19libwbclient: Make wbc_create_error_info not use tallocVolker Lendecke1-4/+13
2010-04-19libwbclient: Make wbcCredentialCache not use tallocVolker Lendecke1-10/+14
2010-04-19libwbclient: Make wbcAuthenticateUserEx not use tallocVolker Lendecke1-2/+3
2010-04-19libwbclient: Make wbc_create_logon_info not use tallocVolker Lendecke1-6/+11
2010-04-19libwbclient: Make wbc_create_auth_info not use tallocVolker Lendecke1-17/+33
2010-04-19libwbclient: Make wbc_create_password_policy_info not use tallocVolker Lendecke1-2/+3
2010-04-19libwbclient: Test wbcGetGroupsVolker Lendecke1-0/+15
2010-04-19libwbclient: Make wbcGetGroups not use tallocVolker Lendecke1-5/+3
2010-04-19libwbclient: Make wbc_create_domain_controller_info_ex not use tallocVolker Lendecke1-23/+29
2010-04-19libwbclient: Make wbcLookupDomainController not use tallocVolker Lendecke1-6/+13
2010-04-19libwbclient: Make wbcLookupUserSids not use tallocVolker Lendecke1-3/+4
2010-04-19s3: Change the make test password to "testPw"Volker Lendecke1-1/+1
This way we can change back to it when testing testing wbcChangeUserPassword, "test" is too short (<5 chars)
2010-04-19libwbclient: Test wbcChangeUserPasswordVolker Lendecke1-0/+23