summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4172: commit a DsReplicaSync() torture testStefan Metzmacher1-0/+63
this not make much sense as we don't send the correct nc_name but it shows that doesn't get a NDR_FAULT anymore, we just need handle the conformant strings in pidl metze (This used to be commit be449f628faf85a163852d18bc724984d3afefd2)
2007-10-10r4171: an attempt at better IDL for DsReplicaSyncAndrew Tridgell1-3/+4
(This used to be commit a4ebef4f53d0eb5aef1bc4ae76ac9ad66bf3b528)
2007-10-10r4170: don't check array size for conformant arrays (they are checked ↵Andrew Tridgell1-1/+2
separately) (This used to be commit e399834ae1aa9731d5d29c04d5b7b90e356dad6f)
2007-10-10r4169: add descriptions about binding and unc strings to theStefan Metzmacher1-1/+45
smbtorture --usage --help output metze (This used to be commit 26a7f4cf5ec4e3697a715f4880468c7f30ba5948)
2007-10-10r4168: Implement QueryValue in the serverJelmer Vernooij3-1/+67
IDL for NotifyChangeKeyValue (This used to be commit a40214243136ed5208a1bec494ad1fbf821524ba)
2007-10-10r4167: Fix CreateKeyJelmer Vernooij3-8/+32
Support CreateKey in the RPC registry backend (This used to be commit ad8d9e6f73619332d93c38a1879233e199e8ba25)
2007-10-10r4166: More small API fixes, keep registry structs as small as possible.Jelmer Vernooij9-52/+13
Implement DelValue in the RPC server (This used to be commit f6b9ec89af934e837069fb26c0e3491fc78ebc12)
2007-10-10r4165: added a 100 element name cache to cope with some amount of seekingAndrew Tridgell2-23/+50
back to filenames that have been deleted. This fixes the new os/2 delete test. (This used to be commit 6d471db13ab132655a07e11533a559446e56fc00)
2007-10-10r4164: added a test that simulates a OS/2 file delete. This includes seek byAndrew Tridgell1-0/+105
name back into a directory for files that no longer exist. (This used to be commit 57204a1533687c5f7f2ee169f42584aea914154f)
2007-10-10r4163: 2nd attempt at fixing the OS/2 "del *" problemAndrew Tridgell1-6/+0
(This used to be commit ae14905d9522dbdc1709ef110b9933adcb740a26)
2007-10-10r4162: this should fix the delete/findnext problem from OS/2 clients. ThanksAndrew Tridgell2-1/+7
again to kukks for the excellent and detailed bug report (This used to be commit 7dfffe4ac0d6858ae6848708df1baa11a6819680)
2007-10-10r4161: two more fixes for NT4 clients. Bugs found by kukks.Andrew Tridgell1-2/+6
- nt4 doesn't setup the pfc flags correctly for rpc packet types other than normal requests, so don't check for fragmented packets unless they are of type request - ensure we give STATUS_BUFFER_OVERFLOW when we return a partial fragment in SMBtrans requests on ncacn_np (This used to be commit 83ebffec3215c58c5cebf1a7c9a58904854203c8)
2007-10-10r4160: fixed the file_type in ntcreatex reply on a named pipe. NT4 requires ↵Andrew Tridgell1-0/+1
this to be right. (This used to be commit e22de9734f66bee3c9eaf8191fcae9fb06a0034f)
2007-10-10r4159: fixed error return for writebrawAndrew Tridgell1-2/+1
(This used to be commit 13c7794e02b0d5c83baa5efbe93e46defd38c8e1)
2007-10-10r4158: Fix IDL for InitiateShutdown and AbortShutdown and run both onlyJelmer Vernooij2-13/+16
when dangerous tests are enabled. (This used to be commit a763bd838558bdd7bcab3ca7ee91c1846d7a950f)
2007-10-10r4157: QueryMultipleValues IDL and torture testJelmer Vernooij2-2/+53
Initialisation data pointer in QueryValue torture test (This used to be commit 72618dfe95c785d3a3a71cc4a70b59696f2d418e)
2007-10-10r4156: GetKeySecurity() IDL and torture testJelmer Vernooij2-10/+39
(This used to be commit 1c49de51aeb6041a3b53b8da7dc8e2bcf089bfe0)
2007-10-10r4155: More destinction between hives and predefined keysJelmer Vernooij10-74/+70
(This used to be commit c37d6f3c581673d74e7ec6a644ab6a7d13a55535)
2007-10-10r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXTJelmer Vernooij6-19/+19
Hives and predefined keys (HKEY_*) are not necessarily the same thing. (This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
2007-10-10r4151: added privilege attribute handling on samdb.Andrew Tridgell5-5/+136
pvfs will now honor some privileges on ACLs, and it will be quite easy to add the checks for more privileges in the necessary places, by making calls to sec_privilege_check(). (This used to be commit 3549039d0fbc54f87ae679e7288b82b28713e487)
2007-10-10r4150: - add fns for manipulating the privilege_mask in a security_tokenAndrew Tridgell2-6/+33
- add the hooks in access_check that check the privilege bitmasks for SEC_STD_DELETE and SEC_FLAG_SYSTEM_SECURITY (This used to be commit 0fa3764edcabffe8f7d5e40f0097f97d0c4519c4)
2007-10-10r4148: add a default set of privileges to the core builtin accounts in theAndrew Tridgell1-1/+39
sam. I decided to do it the simple way of making the privileges user attributes. w2k doesn't expose the privileges via LDAP, so we are free to store them in any way we like without breaking compatibility. (This used to be commit 5f29f4c3079be2fa54b94e08c829dadccc4d14c4)
2007-10-10r4147: converted from NT_USER_TOKEN to struct security_tokenAndrew Tridgell13-190/+225
this is mostly just a tidyup, but also adds the privilege_mask, which I will be using shortly in ACL checking. note that I had to move the definition of struct security_token out of security.idl as pidl doesn't yet handle arrays of pointers, and the usual workaround (to use a intermediate structure) would make things too cumbersome for this structure, especially given we never encode it to NDR. (This used to be commit 7b446af09b8050746bfc2c50e9d56aa94397cc1a)
2007-10-10r4146: an attempted fix for a OS/2 rename problem found by kukks - seems OS/2Andrew Tridgell1-2/+4
is v senstive to SMB flags2 bits (This used to be commit c232e21218e81ac9189b651478415e9fbd67bf78)
2007-10-10r4145: make sure we don't set the 32-bit error codes flag unless the clientAndrew Tridgell1-5/+9
can handle it, even for success packets (this bug was harmless, but can be confusing in ethereal with old clients) (This used to be commit 71e0c7b2ebbb01d64453c59e20911dc5008b9798)
2007-10-10r4142: Check result value of OpenHKU and OpenHKCRJelmer Vernooij1-0/+9
(This used to be commit bba4e878b4a93e67e02b8f1332b0889947ec1a11)
2007-10-10r4141: Fix crash bug in ldb backendJelmer Vernooij2-9/+9
(This used to be commit 5f64a60374486b9fc3d75786c3035a9017dd4d33)
2007-10-10r4140: Get rid of close_hive (replace it with talloc destructors).Jelmer Vernooij3-22/+27
(This used to be commit bcbfce7b0119538bab06801c97aa9c7d4bf3a6c6)
2007-10-10r4139: 2nd attempt at fixing the null ptr in size_is() problem.Andrew Tridgell2-10/+8
(This used to be commit 3040cd65151dbcc54404f9be9d1fbcf539c7b635)
2007-10-10r4138: initialise 'type' in RPC-WINREG EnumValue testAndrew Tridgell1-1/+1
(This used to be commit 952a26c561846def21d3d2f4d36cbe79a54f9eff)
2007-10-10r4137: Make *_open_key take a registry_key instead of a hive (more efficientJelmer Vernooij6-35/+42
in some cases) (This used to be commit ddf7a331c58976f2c0b4a00390118f1acf60e3eb)
2007-10-10r4136: when we have a size or switch variable that is a pointer we need to ↵Andrew Tridgell1-1/+25
check that the server hasn't given us a null pointer, otherwise we can segv when we dereference it. For example: [size_is(*size)] *x; uint32 *size; if a broken server gave us x != NULL and size == NULL then we would crash. I've added a check_null_pointer() call in pidl to catch this. (This used to be commit 8cbd3f47a95367e861c6b99c44416a9ccef3c9ca)
2007-10-10r4135: improve a debug messageAndrew Tridgell1-1/+1
(This used to be commit 4b45d3d2e86122dbe5bd258fc96ad674aba0d417)
2007-10-10r4133: Cache results of subkey and value queriesJelmer Vernooij1-26/+58
(This used to be commit 1e12971137f50077e04a0432572275baf4fde35e)
2007-10-10r4132: - Bunch of rather large fixes in the registryJelmer Vernooij21-417/+551
- Added some README files Not everything works yet, e.g. the EnumValue test appears to be broken. (This used to be commit c169e86c1f52763b83e77e509f89cb91f9b69071)
2007-10-10r4124: include locale.h to get LC_ALL in include/system/iconv.hAndrew Tridgell3-2/+6
(This used to be commit 573230ea99136bd66d00bac18effd28b1e5ba76f)
2007-10-10r4123: set locale to C to ensure ascii string functions workAndrew Tridgell2-0/+13
thanks to Bjoern JACKE <samba@j3e.de> for pointing this out (This used to be commit 53c4d0a7d83181afbe01bbbb0840cb2a086b45da)
2007-10-10r4118: don't assume that "unsigned int" is the same type as uint32_tAndrew Tridgell1-1/+2
(This used to be commit 1ddab01d2ac0a51278cbd13d6d9369973c7a5b3a)
2007-10-10r4117: fixed EnumValue in winreg serverAndrew Tridgell1-7/+5
(This used to be commit f2f21033b65b82251b5ea0b2475ceb1bb3657fb3)
2007-10-10r4116: fixed compilation of EnumValue code in winreg rpc backendAndrew Tridgell1-17/+13
thanks to volker for pointing this out (This used to be commit 2b67f18bdb58164697efd428391d4cbc46398464)
2007-10-10r4115: check for gensec errors before calling memcpy on a set of credentials,Andrew Tridgell1-0/+6
otherwise the creds structure might be invalid (This used to be commit 76285b3390f20366d53c7b2509ac07e1f88f7309)
2007-10-10r4114: added have_features bits to gensec schannel code. This fixes ourAndrew Tridgell1-0/+4
schannel code. I would also like to give a gentle reminder to everyone to please run the appropriate test scripts when you change a subsystem. It's a shame to have this test code and not use it, and it takes much longer for another developer to track down a bug in your new code than it would take for you fix to it at the time you first add it. - for rpc changes run test_rpc.sh - for CIFS changes run test_posix.sh - for ldb changes run test-tdb in lib/ldb/ (This used to be commit 0c58b254cabd236911021aff87c73183356fa8e3)
2007-10-10r4113: modified EnumValue in winreg to take advantage of the new pidl handlingAndrew Tridgell2-49/+28
of arrays. (This used to be commit b47e203a054e26d5d0c133a3c3b8d9502bd6ac69)
2007-10-10r4112: when a pointer is NULL on the wire ensure it is null in the structureAndrew Tridgell1-0/+1
(This used to be commit 83221a0da07bf7c45757e737782f2f4ee541ad88)
2007-10-10r4111: fixed winreg to use much simpler (and I believe correct) IDL for ↵Andrew Tridgell2-21/+10
QueryValue (This used to be commit 659d0295314c6a070698fc81223044f4d7366993)
2007-10-10r4110: fixed pidl to allow arrays to have size_is() and length_is() elementsAndrew Tridgell3-65/+152
that depend on variables that come after the array in the structure or function. This has been something that has been problematic for a while, but the winreg QueryValue problem finally prompted me to fix it properly. We should now go back and fix up all the ugly workarounds we have used to avoid this problem in other calls. Unfortunately the solution is fairly complex, and involves the use of the internal ndr token lists (similar to the solution for relative pointers). I wonder if anyone else will be able to follow the logic if I get run over by a bus :-) (This used to be commit e839b19ec5581f669f2a7705b1fb80845313251c)
2007-10-10r4109: fixed an uninitialised socket write found by kukksAndrew Tridgell1-0/+1
(This used to be commit 30c58b046d65164da37f705de105662f806e1331)
2007-10-10r4106: Add full name of two more hivesJelmer Vernooij2-2/+6
(This used to be commit c1023db5e8336e495c06acae1773a28d7fc90658)
2007-10-10r4105: Fix IDL for QueryValue() and add a torture test for it.Jelmer Vernooij2-12/+50
Thanks to Michael Allen for some hints on what was wrong with the previous IDL. (This used to be commit 0fa6d847433eb281eaff15b8be4a26f898689f0a)
2007-10-10r4102: more uint64 vs HYPER_T fixesStefan Metzmacher4-14/+20
NOTE: [u]int64 uses 4 Byte alignment and HYPER_T uses 8 Byte alignment metze (This used to be commit 717454eb2fd2bf90e67074acefdae5304cd7433f)