summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r9384: added a debug to show the dcerpc fault code for any calls we faultAndrew Tridgell1-0/+4
(This used to be commit 92ed69695b2a5459e79f3edb37790a17de5a66c6)
2007-10-10r9382: Add a dummy registry for HKEY_USERS to get rid of the annoying dialogTim Potter1-0/+6
presented by regedt32. I think this hive is dynamically generated from SAM information. (This used to be commit feb341969e59540bc22e78df0d44b4d42c336d31)
2007-10-10r9381: Line wrapping.Tim Potter1-8/+8
(This used to be commit 2cebdd59387786c8aeee4c6757e38ed5303f7315)
2007-10-10r9379: the valgrind test box is now just going past the max 30 minute smbdAndrew Tridgell1-1/+1
runtime for testing. Increased to 45 minutes. (This used to be commit 4fd436260901785e808de23763a6e127bc742142)
2007-10-10r9378: initialise the last_mod attribute in the ldb backend. Better to returnAndrew Tridgell1-0/+2
0 than an uninitialised value, but we should put proper last_modified time support into the ldb winreg backend in the future (This used to be commit 899bf07908d4a04cb3d1cd4034dca0c91e6a912b)
2007-10-10r9377: made winreg a user tool (I find it quite useful). I expect it to get ↵Andrew Tridgell2-0/+76
the ability to add/remove keys and values in the future. add it to the standard tests, ensuring that we know if winreg breaks. This is particularly important as winreg uses such unusual IDL constructs (This used to be commit e4ca36bda34cf5e6fecaef5fe60e5dd397ebee3c)
2007-10-10r9374: HPUX is also missing setegid()Andrew Tridgell2-1/+13
(This used to be commit 57e6bd61395e82064c72510dcc326b11b7bdf7fd)
2007-10-10r9373: - create a hierachical memory tree with recursiv ndr_pull_* functionsStefan Metzmacher6-24/+168
- with this it's also possible to talloc_free() the ndr_pull structure and talloc_steal(ndr->current_mem_ctx); to fetch the whole data of the hierachical tree - if the toplevel struct is a valid talloc pointer it's also possible to use NDR_PULL_SET_MEM_CTX(ndr, mem_ctx); to the the toplevel pointer with the struct pointer (NOTE: no callers are using this yet, but they shortly will) metze (This used to be commit 1a2b8369586642cc9bc15d015c1e4256c3a92732)
2007-10-10r9372: - make the subcontext handling autogenerated code look nicer,Stefan Metzmacher5-126/+179
- unify the handling of subcontext, compression and obfucation metze (This used to be commit 09de7e0af7f9f7539cf63791baf90ac202536176)
2007-10-10r9371: add the usefull trick hack for NT_STATUS_NO_MEMORY tooStefan Metzmacher1-0/+5
metze (This used to be commit 9b9635833f44e63f8acfd619ae2ecc06f6b2312a)
2007-10-10r9370: need a configure test for setresuid()Andrew Tridgell1-1/+1
(This used to be commit 5a38b9a10b3c5363cddc7acaaea2e1e9aceb254c)
2007-10-10r9369: an attempt to fix the build on HPUX. This is based on work by DonAndrew Tridgell5-137/+35
McCall, but takes a slightly different approach that I hope will be more generic (This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
2007-10-10r9360: fixed the IDL for winreg_SetValue()Andrew Tridgell1-1/+1
(This used to be commit 8aff6a0bd808358162b646514d996ad432bfb70d)
2007-10-10r9359: don't check for size overflow if value is NULLAndrew Tridgell1-1/+2
this gets viewing the product options in smbd HKLM from w2k3 regedit working (This used to be commit 17f3250dd61bc9aad5cf3804e271383e219752f6)
2007-10-10r9358: - opening a winreg key of "" is the same as re-opening the hive. TheAndrew Tridgell1-11/+17
w2k3 regedit does this. - w2k3 expects null termination is string lengths (This used to be commit bcef9e592acd96a2fd7028b299d3d93968d044ae)
2007-10-10r9357: Remove DBGC_CLASS cruft copied over from Samba 3. I would like toTim Potter13-39/+0
replace this with something funkier. (This used to be commit 8d376d56c78894b9bbd27ed7fa70da415c0cd038)
2007-10-10r9356: a better way of coping with NULL arrays in the array bounds checking. ↵Andrew Tridgell2-8/+4
This copes with the case of size_is(*size) where size is NULL, and the array is NULL (This used to be commit 56769b4b1d900cce60cd35298b642a85e4eddfee)
2007-10-10r9355: return the EnumKey and EnumValue list we have so far when we get a ↵Andrew Tridgell1-4/+4
rpc fault (This used to be commit 3a9c63923fbb21dfb8e5fc549dde8fad8cb8f354)
2007-10-10r9347: this array bounds checking is harder than it looks ...Andrew Tridgell2-2/+12
this copes with 2 more situations: 1) where the array is NULL, which would previously be coped with by a if (ptr) check, but now in the deferred array bounds checking needs to look at the array variable in the ndr code. Not nice. 2) nest the array checking along with the SCALARS vs BUFFERS checks, ensuring we don't do array bounds checking for a buffer when in scalars only mode (This used to be commit ad1b9867a5a14bc9ed2e1a5eb8f05bb2046bc645)
2007-10-10r9346: allow test_ldap.sh to be called when $CONFFILE is not setAndrew Tridgell1-1/+1
(This used to be commit 3ad02091f621e3ff51aa082ca7a47b9da238aa40)
2007-10-10r9344: started adding calls for manipulation of data blobs in ejsAndrew Tridgell4-1/+167
added: blobToArray() blobFromArray() blobCompare() (This used to be commit cc5a3e9cc3b44f418eb5dfcd4e855a36c5ac8327)
2007-10-10r9340: print the [in] contents when debugging even if the marshallingAndrew Tridgell1-2/+4
failed. This makes it easier to track down marshalling bugs. (This used to be commit a7a1752ca47a18b325a0ad0984cf7d02da1e2afe)
2007-10-10r9339: treat arrays of uint8 values as a special DATA_BLOB type in the ejsAndrew Tridgell4-3/+88
interfaces to RPC. This makes large blobs of data much saner. Tim, you will probably want to do the same for the smb_interfaces.h generated code. Next we will need ways of extracting different data types from these blobs, for example asking for the blob to be interpreted as a utf16 string, or as a little-endian integer. That will allow for registry scripting to be quite sane. (This used to be commit a8bca2e8e27c953c0413693326ec3b5ecf17ba41)
2007-10-10r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell5-112/+219
calls. The previous IDL was just a workaround for the limitations of our older rpc infrastructure. Now that Jelmer has added much improved string support using the charset keyword we can correctly implemenent the unusual winreg string buffers. Jelmer, note the little comment I put on winreg_StringBuf() about why I couldn't use [value()] for the length field. This also fixes EnumKey() and EnumValue() to use NTTIME fields for the last_changed_time. I don't know why we were using a pair of uint32's, as it is just a NTTIME. (This used to be commit 8354b016122cc4f3cff042b3ada1de07e1614eb7)
2007-10-10r9337: defer the checking of array sizes until the end of theAndrew Tridgell1-4/+53
function/structure, as the checks might involve variables that have not yet been unmarshalled. This is needed to cope with the correct IDL for the winreg pipe. Jelmer, can you look at this when you get a chance and see if you think this is a reasonable approach? Sorry its wrecks the nice indentation in the generated code. (This used to be commit 127ed0cfe2d210f5e927d3768d5372042d1c070c)
2007-10-10r9335: only copy the in side of an array to the out side of an array when theAndrew Tridgell1-1/+2
array is a [ref] pointer. For non-ref arrays it is quite valid for a server to return a larger response array then the client gave (as can happen with winreg) in which case this memcpy() will fault. (This used to be commit 6cf20e7adb9891119fdc9a0b208c3f94fe823334)
2007-10-10r9321: Fix potential bug found by Coverity. src_len has to be int but later ↵Alexander Bokovoy1-5/+5
we do pass it as size_t. In case src_len is negative, we need to register a failure and return to the caller (This used to be commit 95d96c79a538814bb524d7905e1e8f64df6341ca)
2007-10-10r9320: Fix premature dereference bug found by Coverty and also get rid of ↵Alexander Bokovoy1-6/+3
non-used memory context (This used to be commit 127e06492a545940443c93e9aec66eebefa26dc2)
2007-10-10r9319: updated newuser script for new OO style for nss objectAndrew Tridgell1-1/+2
thanks to Hotarut for spotting this (This used to be commit 3f30c6118ba22fbf52068630f48bcde82182b8a6)
2007-10-10r9318: fix searches with scope ONE and SUB,Stefan Metzmacher2-1/+5
the problem was that ldb_dn_compare_base() just looked at if both dn's mtach some how, and the following happens: basedn: CN=bar,DC=foo,DC=com dn: DC=foo,DC=com and dn: DC=foo,DC=com was return as result of a sub and base search and also the ONE search with basedn: DC=foo,DC=com returned this dn: CN=bla,CN=bar,DC=foo,DC=com metze (This used to be commit 2a107472c373e425013050e28b944c830f653a87)
2007-10-10r9311: Missing null pointer check in ejsLibSteve French1-1/+2
Found by coverity (This used to be commit ae7b073af3d690275dbfa11c8406963702c57d3b)
2007-10-10r9310: Add two missing return statements after null pointer checks to fix ↵Steve French1-0/+2
potential oops in kdc code. Found by coverity. (This used to be commit 3b707b928969c87ac7e9948a567a3ebbc754f28c)
2007-10-10r9309: Incorrect null pointer check in return from talloc.Steve French1-1/+1
Found by coverity. (This used to be commit bafd3afbef9b8d3a8baa55d4b31cc62bfeeed459)
2007-10-10r9305: Use the check-var.m4 from roken to really, really detect h_errno ↵Andrew Bartlett2-4/+30
correctly. This fixes the build on Fedora Core 4. Andrew Bartlett (This used to be commit aa36b2adad0d66b8171aa3ccca3057298361bec5)
2007-10-10r9300: cope with zero length in ndr_pull_charset()Andrew Tridgell1-0/+4
(This used to be commit 1ae255aba44f4444486ae5bc634c8ab1a6328c87)
2007-10-10r9299: fixed the evaluation of pointer expressions that evaluate to booleanAndrew Tridgell1-2/+25
(This used to be commit 17679676d4629ac81116ae1b102f1a311b5d4eed)
2007-10-10r9298: pull non-array elements before array elements to overcome the problemAndrew Tridgell1-0/+12
of arrays that have length_is() or size_is() properties that refer to later elements (This used to be commit 9526f2a5104b50f4b6ab575cfa6270abb0377e51)
2007-10-10r9297: Add a NDR_CHECK() around each ejs push/pull.Tim Potter1-1/+8
Some experimentation with the top level function calls. (This used to be commit e8d53d15e4371bc266a691c3c3c82675373ba7f4)
2007-10-10r9296: Reinstate generation of push/pull functions for each field in a structTim Potter1-4/+16
or union. (This used to be commit 72420f24e654661c8792bd7d0eae610ad182d529)
2007-10-10r9295: Tridge had some good suggestions for simplifying the smb_interfaces ejsTim Potter1-180/+0
code. I will try and get just the push/pull functions working rather than getting in a mess with trying to do everything at once. (This used to be commit a7504ebf9557796bd50907620115f8367ea586f0)
2007-10-10r9292: More compiles fixes for autogenerated smb_interfaces ejs wrappers.Tim Potter1-8/+101
Add some code to try and work out whether a smb_interface requires a TALLOC_CTX in the function signature. I'm not sure whether this is going to work as the raw api is a bit inconsistent I think. (This used to be commit 13a101653ea7bba3b8b1f74637d981eb004484cc)
2007-10-10r9291: Add a stub for smb_raw_lpq() which is in smb_interfaces.h but doesn'tTim Potter2-1/+50
seem to be used anywhere yet. (This used to be commit 9e5ce3a28892241e2b080c0fa187ee99042c2330)
2007-10-10r9284: Whitespace. (-:Tim Potter1-3/+3
(This used to be commit 6a7922a02c19b5ea2b77011ff593c6d535d0b212)
2007-10-10r9279: In Samba3 debuglevel 10 used to print RPC debugs. I think this shouldTim Potter1-2/+2
apply to Samba4 as well so change the DEBUGLEVEL > 10 to DEBUGLEVEL >= 10. (This used to be commit 2215cc08b7b94df3fff9cfff6c839bbf2cb6e664)
2007-10-10r9260: only overwrite destination files when the temp files was created correctStefan Metzmacher2-5/+10
metze (This used to be commit b5626c978fe3349f0972e1aeea51b05e66c6ce33)
2007-10-10r9258: return is only supported in function, not in plain shell scriptsStefan Metzmacher2-9/+9
metze (This used to be commit 3b99c3685734e398ab007e93dd7f468027c1847f)
2007-10-10r9257: - I assume we don't need unistd.h in this file,Stefan Metzmacher1-2/+1
that sould fixes the build on aix - use "" instead of <> for includes in our tree metze (This used to be commit 8c8fd4cfc6bbad9e8ec2ae9998a6cf4bd90b4bc6)
2007-10-10r9240: - move struct security_token to the idl file, with this we canStefan Metzmacher13-53/+24
the ndr_pull/push/print functions for it in the ntacl-lsm module - fix compiler warnings in the ldap_encode_ndr_* code metze (This used to be commit 83d65d0d7ed9c240ad44aa2c881c1f07212bfda4)
2007-10-10r9239: I think this is the right IDL for the eventlog record. Pidl isTim Potter1-0/+2
generating incorrect code for arrays of strings here. (This used to be commit 3b2476e0a00dbd3b552ccde736147e93655732f1)
2007-10-10r9238: Some test code to do user-unmarshalling of eventlog_Record data.Tim Potter1-0/+26
(This used to be commit d0225f10797eaeeb6d10cf753578703e144ee8dd)