summaryrefslogtreecommitdiff
path: root/source4/include
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4618: - tidied up the alter_context client code a bitAndrew Tridgell1-0/+1
- there is no alter_nak or alter_ack packet, its all done in an alter_response - auto-allocated the contex_ids - tried to fix up the dcom code to work again with alter_context. Jelmer, please take a look :) (This used to be commit dd1c54add8884376601f2f8a56c01bfb8add030c)
2007-10-10r4607: add some usefull macros to make the code more readableStefan Metzmacher1-0/+36
metze (This used to be commit 62c45635ff8a158acefd4ae2aae2ffc352a97113)
2007-10-10r4591: - converted the other _p talloc functions to not need _pAndrew Tridgell1-0/+1
- added #if TALLOC_DEPRECATED around the _p functions - fixes the code that broke from the above while doing this I fixed quite a number of places that were incorrectly using the non type-safe talloc functions to use the type safe ones. Some were even doing multiplies for array allocation, which is potentially unsafe. (This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
2007-10-10r4589: forgot to commit the new NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED error codeAndrew Tridgell1-0/+1
(This used to be commit f4337c988c15dc84e3cfd77b628e92a0996717ea)
2007-10-10r4473: - moved talloc into its own lib/talloc/ areaAndrew Tridgell2-98/+4
- added gcov flags to Makefile.talloc - expanded talloc testsuite to add a test for realloc with a child ptr - fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs (This used to be commit 98b5f73c1ba34d7576c5995069b485c1c5ede324)
2007-10-10r4435: add another error codeStefan Metzmacher1-0/+1
metze (This used to be commit 02861f63052c48fc85c6694ad8164cc6cc5443d4)
2007-10-10r4431: add WERR_NET_NAME_NOT_FOUNDStefan Metzmacher1-2/+3
metze (This used to be commit 74e65680fa9a6b8f04c6ae62ec1da49659879fb5)
2007-10-10r4421: fix typoStefan Metzmacher1-2/+2
metze (This used to be commit 222abd4171ce69c65a13b52675d4d75009056bca)
2007-10-10r4420: - add usefull helper macros for allocation failures,Stefan Metzmacher1-0/+13
they should be used in mostly all our code after calling a talloc_* function - the current NTSTATUS_TALLOC_CHECK() and WERR_TALLOC_CHECK() should be replaced by this new macros metze (This used to be commit b6376590f4b2409b2237809d378d9425fe1ce07e)
2007-10-10r4419: move security_token stuff to the libcli/security/Stefan Metzmacher1-9/+0
and debug privileges metze (This used to be commit c981808ed4cfa63c7ba7c4f9190b6b14f74bab40)
2007-10-10r4418: fix compiler warning and remove unused typedefStefan Metzmacher1-2/+1
metze (This used to be commit 5861657fd12aae026c06ab8c6ae1f1656d06d0a1)
2007-10-10r4390: Registry value and key names are case-insensitiveJelmer Vernooij1-0/+3
Nicer menu layout in gregedit (This used to be commit 2948b9750d756880c3af7fb352f0a684a1fae9c9)
2007-10-10r4387: added a TODO about the NTCREATEX_FLAGS_OPEN_DIRECTORY flag - it seems ↵Andrew Tridgell1-1/+2
to open the parent of the specified directory ?! (This used to be commit a012d1c978a478fe8debf0c546ed770047dbfbcf)
2007-10-10r4379: Merge more Kerberos related configure checks (by jra, gd and LarsAndrew Bartlett1-6/+2
Mueller <lmuelle@suse.de>) from 3.0 to Samba4. Andrew Bartlett (This used to be commit 9c74e04098d50427f93219a6a451c44a2373db46)
2007-10-10r4364: - added support for testing of chained SMB operations in smbtortureAndrew Tridgell1-1/+47
- added test for chained OpenX/ReadX, simulating the OS/2 workplace shell - fixed a bug in handling chained fnum in openx and ntcreatex in the server (yes, I'm on holiday, but this bug was annoying me ....) (This used to be commit b3b8958a18e302b815d98c0e3879e404bced6a08)
2007-10-10r4355: More work from the elves on Christmas eve:Andrew Bartlett1-0/+3
- Update Samba4's kerberos code to match the 'salting' changes in Samba3 (and many other cleanups by jra). - Move GENSEC into the modern era of talloc destructors. This avoids many of the memory leaks in this code, as we now can't somehow 'forget' to call the end routine. - This required fixing some of the talloc hierarchies. - The new krb5 seems more sensitive to getting the service name right, so start actually setting the service name on the krb5 context. Andrew Bartlett (This used to be commit 278bf1a61a6da6ef955a12c13d7b1a0357cebf1f)
2007-10-10r4328: mark the talloc data as DATA_BLOBStefan Metzmacher1-2/+2
metze (This used to be commit ad84e3b2e3b48406576a8ba2ebfd218cddae135d)
2007-10-10r4324: add some more ads constants before I forget themStefan Metzmacher1-8/+74
metze (This used to be commit 705af52cb163de780c4ba5a1d84acd6c53909918)
2007-10-10r4298: Update to credentials.h after feedback from Andrew BartlettJelmer Vernooij1-4/+6
Move pack/unpack of values in ldb registry backend to seperate functions (This used to be commit ceb4e92735f6dae96bb0b9d98211c9808159e56a)
2007-10-10r4263: added support for the trans2 RAW_SEARCH_EA_LIST informationAndrew Tridgell2-0/+23
level. This is quite a strange level that we've never seen before, but is used by the os2 workplace shell. note w2k screws up this level when unicode is negotiated, so it only passes the RAW-SEARCH test when you force non-unicode (This used to be commit 25189b8fbf6515d573e3398dc9fca56505dc37b9)
2007-10-10r4261: added the RAW_FILEINFO_EA_LIST trans2 qfileinfo and qpathinfoAndrew Tridgell2-3/+19
level. Interestingly, this level did now show up on our trans2 scanner previously as we didn't have the FLAGS2_EXTENDED_ATTRIBUTES bit set in the client code. Now that we set that bit, new levels appear in windows servers. (This used to be commit 0b76d405a73e924dc2706f28bbf1084a59c9b393)
2007-10-10r4243: a sniff from kukks showed that the ea_set interface in trans2 ↵Andrew Tridgell1-1/+2
setfileinfo allows for multiple EAs to be set at once. This fixes all the ea code to allow for that. (This used to be commit b26828bef5d55e5eef0e34a164e76292df45e207)
2007-10-10r4209: Fix several smaller bugsJelmer Vernooij1-3/+3
Add "predef" and "set" commands in regshell Some of the remote calls from a Windows box work now. (This used to be commit f3e05782804fe4b4942fa966f1b9650c64bc234d)
2007-10-10r4204: Arguments to reg_del_key more like the RPC for more efficient usageJelmer Vernooij1-2/+2
Fix small bug in regpatch Fix segfault in regshell cmdline completion Implement set_value and del_value in ldb backend (This used to be commit 8e2aa58abeafa78afe7dafb9723f5f365e756527)
2007-10-10r4177: add some more error codesStefan Metzmacher1-1/+3
metze (This used to be commit e624bb52886db80a3600b79494ad1150592efebe)
2007-10-10r4173: - new t2open code, that can cope with "create with EAs". Many thanksAndrew Tridgell1-2/+3
to kukks on #samba-technical for the sniffs that allowed me to work this out - much simpler ntvfs open generic mapping code - added t2open create with EA torture test to RAW-OPEN test (This used to be commit a56d95ad89b4f32a05974c4fe9a816d67aa369e3)
2007-10-10r4166: More small API fixes, keep registry structs as small as possible.Jelmer Vernooij1-7/+1
Implement DelValue in the RPC server (This used to be commit f6b9ec89af934e837069fb26c0e3491fc78ebc12)
2007-10-10r4155: More destinction between hives and predefined keysJelmer Vernooij1-2/+1
(This used to be commit c37d6f3c581673d74e7ec6a644ab6a7d13a55535)
2007-10-10r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXTJelmer Vernooij1-4/+4
Hives and predefined keys (HKEY_*) are not necessarily the same thing. (This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
2007-10-10r4147: converted from NT_USER_TOKEN to struct security_tokenAndrew Tridgell1-16/+7
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-10r4140: Get rid of close_hive (replace it with talloc destructors).Jelmer Vernooij1-3/+2
(This used to be commit bcbfce7b0119538bab06801c97aa9c7d4bf3a6c6)
2007-10-10r4137: Make *_open_key take a registry_key instead of a hive (more efficientJelmer Vernooij1-1/+1
in some cases) (This used to be commit ddf7a331c58976f2c0b4a00390118f1acf60e3eb)
2007-10-10r4132: - Bunch of rather large fixes in the registryJelmer Vernooij2-23/+62
- 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 Tridgell1-0/+4
(This used to be commit 573230ea99136bd66d00bac18effd28b1e5ba76f)
2007-10-10r4084: add some more error codesStefan Metzmacher1-0/+2
metze (This used to be commit e5db58526825476fd6d8d80c8ee6c3bca0e23c84)
2007-10-10r4073: - added a set of lsa helper routines to make lsa lookups that areAndrew Tridgell2-0/+3
related to filesharing. For example, in order to manipulate ACLs properly its important to be able to call LookupSids, and to be able to lookup what privileges a SID has. - added 3 new commands to smbclient "lookupname", "lookupsid" and "privileges" (This used to be commit 8780c40f0539da72652d17455e98fcaee6d197d1)
2007-10-10r4070: move some defines from asn_1.h to the places they belong toStefan Metzmacher1-17/+0
metze (This used to be commit ab2c2f27e1c61516e885f02bf26350f97209057a)
2007-10-10r4063: - change char * -> uint8_t in struct request_bufferStefan Metzmacher2-14/+14
- change smbcli_read/write to take void * for the buffers to match read(2)/write(2) all this fixes a lot of gcc-4 warnings metze (This used to be commit b94f92bc6637f748d6f7049f4f9a30b0b8d18a7a)
2007-10-10r4058: added a type safe version of smb_xmalloc()Andrew Tridgell1-0/+5
(This used to be commit 1235afa5fe3a396cd7a180cbc500834a30fbaa80)
2007-10-10r4055: fixed more places to use type safe allocation macrosAndrew Tridgell1-1/+1
(This used to be commit eec698254f67365f27b4b7569fa982e22472aca1)
2007-10-10r4033: removed a pointless commentAndrew Tridgell1-1/+1
(This used to be commit 1f3f9f829444cb889c6782c4fe52773fd6867b55)
2007-10-10r4014: removed unused MacExtension.h headerAndrew Tridgell1-246/+0
(This used to be commit 5ffffdd79f23c461e30bc91e983b12939f063d2d)
2007-10-10r4013: got rid of a bunch of unused or unmaintained codeAndrew Tridgell3-118/+29
- removed the clitar code. It is unmaintained, and a horribly badly done hack - removed client.h as it contained mostly unused definitions - removed the unused clidfs.c code (This used to be commit 31a7bddbb3815b4d625e993dbce4805dae1c18f8)
2007-10-10r4011: get rid of rpc_secdes.h and replace it with a single sane set ofAndrew Tridgell3-345/+2
definitions for security access masks, in security.idl The previous definitions were inconsistently named, and contained many duplicate and misleading entries. I kept finding myself tripping up while using them. (This used to be commit 01c0fa722f80ceeb3f81f01987de95f365a2ed3d)
2007-10-10r3975: added LFN filesystem attribute bit definition from etherealAndrew Tridgell1-0/+1
apologies for not committing this earlier (This used to be commit 0950681091ab99f0e79048a9c1db57d057a96e66)
2007-10-10r3939: - added "posix:fakeoplocks" option for testing with oplocks forced onAndrew Tridgell1-18/+11
- added support for sticky write times after a setfileinfo, by using a write_time field in the DosAttrib xattr structure. (This used to be commit 4a52fae82d8305e999f94f1947daa21dab54cdfd)
2007-10-10r3910: add some error codesStefan Metzmacher1-1/+7
metze (This used to be commit 64570b7a4734ec1cc56a07e6bd9b20a155a876c0)
2007-10-10r3869: in the NDR encoded replPropertyMetaData attribute in ADSStefan Metzmacher1-0/+2
I see a new 64 bit time field which are seconds since 1601, this will be mapped to NTTIME by th eparsing code +#define NTTIME_1sec NTTIME metze (This used to be commit db35f3b0f99943311ff8b797e8336616dab28220)
2007-10-10r3833: NTACL is a better xattr name than DosAcl (tpot suggested this)Andrew Tridgell1-1/+1
(This used to be commit 17911eea5995c12a2300dd3928612c77f8f0883e)
2007-10-10r3832: added NT ACL query/set to the posix NTVFS backend. The default ACL isAndrew Tridgell2-1/+3
based on the current nttoken, which is completely wrong, but works as a start. The ACL is stored in the xattr system.DosAcl, using a NDR encoded IDL union with a version number to allow for future expansion. pvfs does not yet check the ACL for file access. At the moment the ACL is just query/set. We also need to do some RPC work to allow the windows ACL editor to be used. At the moment is queries the ACL fine, but displays an error when it fails to map the SIDs via rpc. (This used to be commit 3a1f20d874ab2d8b2a2f2485b7a705847abf1263)