summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* Rework process_single.c to take advantage of cluster_id() now taking an ↵Andrew Bartlett2008-02-041-9/+22
| | | | | | | additional argument. Andrew Bartlett and David Disseldorp (This used to be commit c961e7d74e33a0dd61b1053620fb41521322e20d)
* Rework cluster_id() to take an additional argument, as we needAndrew Bartlett2008-02-0411-27/+42
| | | | | | | <node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
* Rework service init functions to pass down service name. This isAndrew Bartlett2008-02-0411-11/+12
| | | | | | | | needed to change prefork behaviour based on what service is being started. Andrew Bartlett and David Disseldorp (This used to be commit 0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
* pidl/Samba4::NDR::Parser: correctly get the name of an array elementStefan Metzmacher2008-02-022-5/+18
| | | | | | | | | | | | | | | | | | | When we have "*r->out.ous" (char ***ous, a pointer to a pointer to an array of pointers). we need to use "(*r->out.ous)[3]" to access the 3rd element of the array "*r->out.ous[3]" was generated before, but that's the same as "*(r->out.ous[3])" which would mean the array would apply to a different level. This patch prepares support for: [out,ref,size_is(,num)] [string,charset(UTF16)] uint16 ***names; It means a [ref] pointer to a [unique] pointer to an array of [unique] pointers which point to an UTF16 string. metze (This used to be commit ec0ee2aa5f4bef32f09a426d91c28c985f843038)
* pidl/Samba4::NDR::Parser: fix $var_name for arrays of scalar reference typesStefan Metzmacher2008-02-021-3/+14
| | | | | | | | | | | uint32 num; nstring strings[num]; this should use 'r->strings' instead of '*r->strings' as the pointer to the array. metze (This used to be commit 7c7acae817cd00ab5c915742338b019af79e9193)
* pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a functionStefan Metzmacher2008-02-021-25/+34
| | | | | metze (This used to be commit 26d7f5bf96cd7e950ceb532402afd6b8a58871ea)
* pidl: revert changes it didn't want to push...sorry!Stefan Metzmacher2008-02-024-379/+58
| | | | | | | | | | | | | | 8ebf16c0741085fa769fcc2929f275ab49b1ea5d Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers 6fcf2456d0e81898b5779ef1650f38b4c5363a80 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements 0569139ca2960ec5478829c3e66f7ff69bdb55cd LOOKS OK... pidl: get the pointer types correct when an element has multiple pointe rs 13afc89a87716063180723f0e9cb4f76daca837e CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element 29c104944bcad30c6a2a3fa70d527bf0ee8969de CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ... 3369015f5d8c425e1a9f9d861471028f03f163bb CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a f unction metze (This used to be commit 0bcc8e53d1470ba9dfe93e5d6925b8f4c20c7c66)
* Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointersStefan Metzmacher2008-02-011-7/+7
| | | | | | | | The memory allocation of embedded "ref" pointers needs to be the same as for all other embedded pointers. metze (This used to be commit 8ebf16c0741085fa769fcc2929f275ab49b1ea5d)
* WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elementsStefan Metzmacher2008-02-012-14/+14
| | | | | | | The 2nd or higher level of wire pointers needs to be marked as deferred. metze (This used to be commit 6fcf2456d0e81898b5779ef1650f38b4c5363a80)
* LOOKS OK... pidl: get the pointer types correct when an element has multiple ↵Stefan Metzmacher2008-02-012-18/+306
| | | | | | | | | | | | | | | pointers Only the first level gets the pointer type from the pointer property, the others get them from the pointer_default() interface property see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx (Here they talk about the rightmost pointer, but testing shows they mean the leftmost pointer.) metze (This used to be commit 0569139ca2960ec5478829c3e66f7ff69bdb55cd)
* CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array elementStefan Metzmacher2008-02-012-5/+18
| | | | | | | | | | | When we have "*r->out.ous" (char ***ous, a pointer to a pointer to an array). we need to use "(*r->out.ous)[3]" to access the 3rd element of the array "*r->out.ous[3]" was generated before, but that's the same as "*(r->out.ous[3])". metze (This used to be commit 13afc89a87716063180723f0e9cb4f76daca837e)
* CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...Stefan Metzmacher2008-02-011-3/+14
| | | | | metze (This used to be commit 29c104944bcad30c6a2a3fa70d527bf0ee8969de)
* CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() ↵Stefan Metzmacher2008-02-011-25/+34
| | | | | | | into a function metze (This used to be commit 3369015f5d8c425e1a9f9d861471028f03f163bb)
* pidl: cosmetic fix to use the same value everywhereStefan Metzmacher2008-02-011-1/+1
| | | | | metze (This used to be commit 3c191981436ab3f7dd166a87875ffbac127fbdf5)
* Samba4 poor mans debug_ctx()Amin Azez2008-02-011-0/+4
| | | | | | | | | | | | | | | | DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the formatting expressions again, e.g. DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid))); Sadly it's done with macros (again) but when we need to save the 8 or 16 bytes of object code per DEBUG() expression we can do it the Samba 3 way with added thread-safety for Samba 4. That could save up to 200K, allowing 12 bytes for each occurrance of DEBUG... Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
* pidl/IDL: don't strip ',' from the properties contentStefan Metzmacher2008-02-014-467/+399
| | | | | metze (This used to be commit fdf9bcb163516f7d96675ae0dce2917afb8f86d3)
* pidl/Samba4::NDR::Parse: move the calculation of NDR_PULL_SET_MEM_CTX() ↵Stefan Metzmacher2008-02-011-43/+27
| | | | | | | flags into one function metze (This used to be commit 74bf021aa7016ace02a0238e71573f18016e3722)
* Fix sending of large nttrans responses.Amin Azez2008-02-011-1/+1
| | | | | | req_grow_data was growing the original req, not this_req which was being used for the current fragment. (This used to be commit 2ac47f5ab670f971f41f99700dbfb3655fd6737f)
* pidl/Samba4::NDR::Parser: pass down the correct $var_name to ↵Stefan Metzmacher2008-01-311-4/+2
| | | | | | | AllocateArrayLevel() metze (This used to be commit c630bece38eed3278466c2934763fcd8dcfb0610)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2008-01-3114-26/+73
|\ | | | | | | (This used to be commit f6a5848e5e211d4d4d66b7eca46b4b0ad4c9daab)
| * libndr: depend on samba-config, so that callers doesn't need to know about itStefan Metzmacher2008-01-301-1/+1
| | | | | | | | | | metze (This used to be commit fc69e3f829a83aae311b4849d91509fcfa47816b)
| * pidl: be consistent and always ask pkg-config only for 'ndr'Stefan Metzmacher2008-01-301-1/+1
| | | | | | | | | | metze (This used to be commit ab2e1394d0a66ca13750e1b6f4ced07f4a0f3453)
| * python: Provide PyAPI_DATA macro for older versions of Python (< 2.3).Jelmer Vernooij2008-01-291-0/+5
| | | | | | | | (This used to be commit 421bdd203eab09e560f4919715fa4cc4497e406f)
| * Partially revert d64a2288a2cb3a8f74a18b740b265a460773635d and ↵Jelmer Vernooij2008-01-292-3/+2
| | | | | | | | | | | | 351c2e99ab8b6a91f7355077b2d2944fd820839c to see if that fixes the build. (This used to be commit 2a79cebfd99f4048214be65a6c918cc988dc83ed)
| * torture: Fix too early free in spoolss notify test.Jelmer Vernooij2008-01-281-5/+6
| | | | | | | | (This used to be commit f5ea5de797f4fe35baf4f2bcd2913902c6703f44)
| * ldb: Add ldb_oom() calls in a couple of places.Jelmer Vernooij2008-01-264-2/+18
| | | | | | | | (This used to be commit 1163c2ad54b122487fa25960b8989f0f6d0b8c64)
| * python: Use relative paths for registry.Jelmer Vernooij2008-01-261-1/+8
| | | | | | | | (This used to be commit 079200b824de6dd8c7de3e5b76ed1805fde02965)
| * python: Load smb.conf file for the provision tests.Jelmer Vernooij2008-01-261-2/+6
| | | | | | | | (This used to be commit 41571bbb933c763a9608f4ba56f1a5a97af133ab)
| * Fix netlogon rpc-server build.Günther Deschner2008-01-251-4/+4
| | | | | | | | | | Guenther (This used to be commit 7a10be2ac77124a78fcc4ddda5e05c036ed920fa)
| * Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).Günther Deschner2008-01-251-1/+7
| | | | | | | | | | Guenther (This used to be commit 722b4dfdc4821ecf349f87f57146f3b52e719b3d)
| * NET-BECOME-DC: always try to build ejs and python codeStefan Metzmacher2008-01-251-9/+16
| | | | | | | | | | | | | | | | We let getenv("PROVISION_PYTHON") decide what we want at runtime. metze (This used to be commit acb5661f61ad62c02b5ec83d0f1f0c969f356c9f)
| * torture: the libnet torture test depend on pythonStefan Metzmacher2008-01-251-1/+2
| | | | | | | | | | metze (This used to be commit d64a2288a2cb3a8f74a18b740b265a460773635d)
| * configure: define HAVE_WORKING_PYTHONStefan Metzmacher2008-01-251-0/+1
| | | | | | | | | | metze (This used to be commit 351c2e99ab8b6a91f7355077b2d2944fd820839c)
* | merged tdb transaction fixAndrew Tridgell2008-01-311-0/+3
|/ | | | (This used to be commit eb3af24926977208a8099c848a510704d2ae3524)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2008-01-2523-312/+959
|\ | | | | | | (This used to be commit 1e042908992cdf3149ffc24472c7f0b1c3f9edef)
| * python: Give precedence to Samba's syspath over the already set system one.Jelmer Vernooij2008-01-251-1/+1
| | | | | | | | (This used to be commit f3ebaf0a0c0b881da28063c69bb6306f6aa1c774)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij2008-01-254-14/+37
| |\ | | | | | | | | | | | | | | | | | | Conflicts: source/scripting/python/samba/provision.py (This used to be commit 64babbec22f165e34799d36ff4b76806d9fead50)
| | * pidl/Samba4::Header: fix typedefs of unions and structs without elementsStefan Metzmacher2008-01-251-0/+2
| | | | | | | | | | | | | | | metze (This used to be commit 3131847cb67dadd8ee6fcbca5055927b8ba8a219)
| | * configure.ac: we should use AC_CONFIG_FILES() in order to use AC_OUTPUT only ↵Stefan Metzmacher2008-01-251-10/+10
| | | | | | | | | | | | | | | | | | | | | once metze (This used to be commit bcaba3cb725e1cbbe164132179a0849c7b546a73)
| | * configure.ac: we should only create ldb.pc when use the internal ldbStefan Metzmacher2008-01-251-1/+1
| | | | | | | | | | | | | | | metze (This used to be commit 2c75bd5009020171e31b56ab3d8d6a86f19f3b49)
| | * repl_meta_data: add some TODOs to replmd_modify_originating()Stefan Metzmacher2008-01-251-0/+17
| | | | | | | | | | | | | | | metze (This used to be commit ba495f9d19e7c7cfc9135a5d40e1050dd8f9ebc6)
| | * Tidy up the last regresesions on the python smbscript, from my workAndrew Bartlett2008-01-251-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Jelmer today. The only remaining issue is that for the build farm, we will need to manually specify the users and groups from the NSS_WRAPPPER, as python isn't compiled with this. Andrew Bartlett (This used to be commit 5370484d25b8c7a5bde730d9be36ecbbb0aaf315)
| * | python/provision: Reload secrets when necessary, fix unix names in mappings.Jelmer Vernooij2008-01-251-7/+9
| |/ | | | | | | | | Pair programmed with Andrew. (This used to be commit 04fe8c8aefae8da8966954d0654c37adf2d0361d)
| * python: Fix representation of UUIDs as strings in zone files rather than ↵Jelmer Vernooij2008-01-255-10/+19
| | | | | | | | | | | | | | binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration. Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-( (This used to be commit dff54ff043563f93b86361039c46e662045f62cc)
| * ldb/python: Add bindings for schema functions.Jelmer Vernooij2008-01-253-33/+393
| | | | | | | | (This used to be commit 9f6ea4692ca79c607538871c597698b98abf13d0)
| * python/provision: Create private dir if it didn't exist yet.Jelmer Vernooij2008-01-251-6/+8
| | | | | | | | (This used to be commit 66df250ff355d3c1b7f0252fc1f95a8c79a28c6d)
| * python: Add test for secretsdb_become_dcJelmer Vernooij2008-01-251-3/+18
| | | | | | | | (This used to be commit 9173c678efb6f74dbec64298bcb00952feff2ed7)
| * python: fix tests for check_all_substituted.Jelmer Vernooij2008-01-251-2/+2
| | | | | | | | (This used to be commit 859cffed9d3a62f9f7610d74472aa3c0d1979a35)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij2008-01-253-37/+41
| |\ | | | | | | | | | (This used to be commit d35d4f983d1eb7450cd9f92a5217c14ec073396f)
| * | python/provision: Reconcile code partitions-only provisioning and generic ↵Jelmer Vernooij2008-01-256-254/+317
| | | | | | | | | | | | | | | | | | | | | provisioning, some other minor refactoring of the provisioning. Pair-programmed by Andrew and me using obby :-) (This used to be commit 688adcbb635af87fcfedb869b7f1857a947fd2f9)