summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2952: add idl and torture test for DsCrackNamesStefan Metzmacher3-5/+81
(I need to find out what the fields mean but it works) metze (This used to be commit eff51fc623f2e7b57e7e53eb81760684815db2f4)
2007-10-10r2951: fixed the intptr_t test for discard_const()Andrew Tridgell2-1/+5
(This used to be commit 3318cf2722597e57d1731152b2607f6b167e45b9)
2007-10-10r2950: 0x40000 is clearer than 262144Andrew Tridgell1-1/+1
(This used to be commit c17d9254d42e5966fbdfeeda18023c8c0203dad1)
2007-10-10r2949: added some range checks in samr.idlAndrew Tridgell1-4/+4
(This used to be commit 8921e34f989977efc5f9d4f5eabf21bbb5f52115)
2007-10-10r2948: added support for the [range(low,high)] attribute in pidl. This allowsAndrew Tridgell2-1/+7
range checking of any integer value, to help protect against denial of service attacks (which could otherwise cause large memory allocations) (This used to be commit dbe6430d78f1b9aa59969074077e4afa5adf7570)
2007-10-10r2941: added pvfs_flush() implementation to the posix backendAndrew Tridgell5-10/+71
(This used to be commit dac00ef3b0d0f8467367d7b6ff77db7b63a042cc)
2007-10-10r2940: Complain when there is an attempt to register a backend for a ↵Jelmer Vernooij1-0/+2
subsystem that does not (yet) exist (This used to be commit 0130713fbe3d838964542a700839c4e276b18547)
2007-10-10r2939: Use /* */ style commentsJelmer Vernooij1-4/+4
(This used to be commit c5d4fae3b157c5559b8b15dde16451e91c0fc022)
2007-10-10r2938: Use IDL to dissect the RHS of floors in protocol towersJelmer Vernooij4-78/+133
(This used to be commit 273d0049b5339e3288b264e5a4393bfab1d4e239)
2007-10-10r2937: Make sure all memory is initializedJelmer Vernooij1-7/+7
(This used to be commit edf28c42f3c9b41c82a4f642ddae23efbb12c944)
2007-10-10r2934: - changed the unixuid module to use the nt_user_token instead of the ↵Andrew Tridgell2-14/+21
server supplied info structure. - added SID_WORLD and SID_NETWORK to the foreign sids in the provisioning, as these are auto-added to the nt_user_token (why is that done? Andrew?) (This used to be commit 1dff12fba88827660a2647457867bf4ff6bc8d3d)
2007-10-10r2933: Only pull a union once when it occurs in a subcontextJelmer Vernooij1-2/+6
(This used to be commit 309623447eef9ae554e2f25713c2123ab578cc6e)
2007-10-10r2932: character expansion in strlower_m or strupper_m is considered fatalAndrew Tridgell1-0/+4
(as it could cause a overflow). Print a message giving the character values involved in the expansion so it can be debugged if it happens. (This used to be commit 2a6f59f376a132fcbce8c8e9d1b38d8aae3e8561)
2007-10-10r2931: use next_codepoint() to ensure we properly handle multi-byte ↵Andrew Tridgell1-2/+6
characters in pvfs_unix_path() (This used to be commit 0acf95d84c51d564f7215d34364c37ca74a2a150)
2007-10-10r2930: added a security context cache to the unixuid module. The moduleAndrew Tridgell1-4/+22
doesn't actually leave us in the requested sec context between requests yet, but it does prevent us from doing the samdb lookup on every packet. This change speeds up the BASE-MANGLE test against Samba4 with 5000 operations from 61 seconds to 16 seconds. For reference, Samba3 takes 27 seconds for the same test (the string and filename handling in Samba4 is much more efficient than Samba3) (This used to be commit da0481ac75a01270897da5aa24dbb2b431928b30)
2007-10-10r2929: longhorn does not produce sorted directory listings! This isAndrew Tridgell1-2/+1
excellent, as it means we don't lose any compatibility by also not giving sorted listings. I was very much afraid that applications had begun to rely on this (as its guaranteed by w2k NTFS). no longer mark a non-sorting server as an error (This used to be commit 1d21c9a9d1879f5b3de15d251b6bb379c326002d)
2007-10-10r2928: - fixed the handling of reserved names (rejecting them with ↵Andrew Tridgell3-38/+23
ACCESS_DENIED) - don't check for '.' specially in checking for legal names. Longhorn doesn't do this any more, and its a real pain. Longhorn allows for filenames ending in '.', and with as many '.' elements as you like. (This used to be commit 0a475175c53016bfa5b8246819676ddcd8b66feb)
2007-10-10r2927: imported the hash2 name mangling code from Samba3 into Samba4, butAndrew Tridgell5-39/+693
heavily modified to suit the Samba4 architecture. Samba4 with posix backend now passes the BASE-MANGLE test (This used to be commit ed52d69e8a065b6a8df2fb73c89be67acfdbca65)
2007-10-10r2926: name->dos.attrib is not valid unless name->exists is trueAndrew Tridgell1-2/+4
(This used to be commit f85a0b725d3bf67531e6874d4e8558fb050bb66f)
2007-10-10r2925: added the definition for a new rpc fault code I am seeing on epmapper ↵Andrew Tridgell1-0/+1
from lhorn (This used to be commit 9ef399a769805ecfc78fc32e066b20e8efe34290)
2007-10-10r2921: Add a few more protocols and fix the numbers associated with some ofJelmer Vernooij5-54/+76
the current ones. It took me three hours to realise that the DCOM standard contains false protocol numbers (apparently someone converted the protocol numbers to hex twice, i.e. 13 -> 0c and 14 to 0d). There are no longer duplicates in the list with protocol numbers now. (This used to be commit f355cd426462a72575ef3c3b769f676334976986)
2007-10-10r2920: Support passing a handle to a SAMR pipe to a RPC Binding or SelectJelmer Vernooij7-21/+44
Host dialog so that one can select a domain from the list of known domains. (This used to be commit 5e0bab891199c888bdf87faa29acc38d9ca5151b)
2007-10-10r2916: longhorn client doesn't bother setting the directory bit in ntcreatexAndrew Tridgell1-1/+6
when opening directories. This change allows samba4 server to work with longhorn client. (This used to be commit 4a8b0302eff37ccfcb66b91259ee5da20879c652)
2007-10-10r2915: Open domain first before enumerating users and groupsJelmer Vernooij1-4/+6
(This used to be commit 9560a6c8cc650c3a519b14c79f497e6bd9ef387e)
2007-10-10r2914: ... and support enumerating values (data is not handled yet, only the ↵Jelmer Vernooij1-30/+11
names) (This used to be commit b3bc055ac73ff239c2b267717ee91669ecdd4c9b)
2007-10-10r2913: - Don't print hive name if it is NULL (regtree)Jelmer Vernooij3-12/+9
- Initialise hive name (reg_interface) - Fix LDB backend (enumerating keys works now!) (This used to be commit 5086d6b2494f236ef67096b2dd4da4f7402a65c5)
2007-10-10r2912: Test for the sort-of weird file stamp semantics. The last_write seems ↵Volker Lendecke1-54/+92
to be updated only by an arbitrary close() after the file was actually written to. Volker (This used to be commit ab52ebfdccc65ca510d74ce8e0205b45b58550ef)
2007-10-10r2911: Fix bug in opening relative keysJelmer Vernooij1-8/+12
(This used to be commit e7c256a92cc6cbe1cd6cc11a8fb37feba272d01c)
2007-10-10r2910: I noticed that the samr torture test was doing its own DOS->UNIXAndrew Tridgell2-139/+139
string conversion. For RPC, all string conversions are supposed to be done by the NDR layer, using string flags set in the IDL. The reason this wasn't working is that I had been too lazy to do the STR_ASCII string types properly at the NDR layer when initially writing ndr_basic.c. This commit fixes the ndr_basic code properly to do all ASCII varients, by re-using the non-ascii code and a "byte_mul" local variable. I have also removed the manual string conversion in the SAMR torture test code. (This used to be commit aad0e7e9d890bb56447f1f933b8f2bb78a3ee269)
2007-10-10r2909: fix some RAW-SEARCH torture mem leaksAndrew Tridgell1-4/+5
(This used to be commit 75ca5ba5091c9046159531b917ff17a519013556)
2007-10-10r2908: fix typoSimo Sorce1-1/+1
(This used to be commit f544f830630c8d0bd37a66dc06683621c4dbcdde)
2007-10-10r2907: auto destroy iconv memory handles on exit, to make valgrind leakAndrew Tridgell1-19/+26
reports easier to read (less noisy) (This used to be commit e3009492b85ac90836aa9341687df5869f4ea291)
2007-10-10r2906: fixed a memory leak in the smbclient -L codeAndrew Tridgell1-1/+3
(This used to be commit 0181fe06b4736661871515a7e2ab0d67bc8568fe)
2007-10-10r2904: - fixed the old style SMBsearch to return the pvfs shortname, not a ↵Andrew Tridgell2-3/+6
truncated long name. - short name can be up to 12 bytes, not 11 (This used to be commit 657103ec6264bf4c2986fedd3fc6577746395d49)
2007-10-10r2903: a considerably more efficient (both in terms of CPU and memory)Andrew Tridgell1-17/+17
convert_string_talloc() implementation. the previous version used a minimum of 512 bytes, which is way above the average of what is needed. (This used to be commit abcd841a8530ba3273d56c9001ea277611507be3)
2007-10-10r2902: make toupper_w() and tolower_w() slightly faster by putting the most ↵Andrew Tridgell1-8/+8
common conditions first (This used to be commit 878f6b565f4e80eefbb08f44551b3b4f647d7aa7)
2007-10-10r2901: if we can't load upcase.dat or lowcase.dat then don't waste 256kAndrew Tridgell1-27/+8
making fake tables, instead just do the approximate upper/lower inline with toupper() and tolower(). (This used to be commit 994392d085e87046212191b8f41eba628467c778)
2007-10-10r2900: rusty pointed out to me that discard_const() can be done via a macroAndrew Tridgell3-24/+23
on systems that have the intptr_t type, and for systems that don't have it, they also almost certainly won't have -Wcast-qual, so we can use a void* cast. (This used to be commit 2132d38f9c5ba59825558d5ba084a514ebc2626b)
2007-10-10r2898: - Support enumerating remote registry valuesJelmer Vernooij2-76/+67
- Some LDB updates (This used to be commit 4b5bf739f5a8f39ff3633d738f6de42681a6b30f)
2007-10-10r2897: Fix double registration (of the registry subsystem) bugJelmer Vernooij1-16/+24
(This used to be commit f4860afc486da9fcd43798c81181d01eb0120a59)
2007-10-10r2896: Add torture test for EnumValue()Jelmer Vernooij1-24/+25
(This used to be commit e9a7f729b3b5e1d970f124b0a25255f40e18c9b4)
2007-10-10r2895: Another nut to crack, not sure how hard: The statinfo on a file does ↵Volker Lendecke1-0/+103
obviously not change during a write. The nasty thing: Excel 2003 obviosly does depend on this. Volker (This used to be commit 8e26775134671114425ce1ecf7a22bad4e763d1f)
2007-10-10r2893: added very primitive name mangling support to pvfsAndrew Tridgell2-4/+58
(This used to be commit 749fa73544201f521d9cd3fa972b89cae99bc2c0)
2007-10-10r2892: fix compiler warningStefan Metzmacher1-4/+0
metze (This used to be commit 1a3b546fce8a625dcd05e1177fea547d5cdb81d2)
2007-10-10r2891: call rootDSE only with LDAP_SEARCH_SCOPE_BASEStefan Metzmacher2-10/+10
this is needed because of the global catalog metze (This used to be commit 071c19c25df92e87355ce6efb5eb7ce7694cf09b)
2007-10-10r2890: fix segfault when call is destroyed and we dereference itStefan Metzmacher1-4/+3
metze (This used to be commit 82e792a0ce94f63eeb8573d340b2198660aef132)
2007-10-10r2889: add DRSUAPI serverStefan Metzmacher5-1/+371
- with DsBind and DsUnbind implmented :-) the RPC-DRSUAPI test works metze (This used to be commit 536af87ef12024615728ce0060b557f6f504e33f)
2007-10-10r2888: - add 'Ds' prefix to Bind and Unbind call on drsuapiStefan Metzmacher3-47/+47
- rename handle -> bind_handle - change function types to NTSTATUS metze (This used to be commit de73676342be8dbf39df8d3fe68817932ee71ccb)
2007-10-10r2887: fix commentStefan Metzmacher1-1/+1
metze (This used to be commit 5143a9bd8aa84b80763c304638a27395b53b54cc)
2007-10-10r2886: missing stuff from last commitStefan Metzmacher1-2/+2
metze (This used to be commit f3f2d1c6765a5799c3b0a302b68d41d045e1ba22)