summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2807: OK I think winreg_EnumValue() finally works. The previous versionTim Potter2-40/+44
didn't work with non-NULL registry value names. Update testsuite to enumerate all keys and values two levels deep. (This used to be commit c09f0f355ba6a589121588492aa2db5deb7121e0)
2007-10-10r2806: Add winreg.i to dependencies for dcerpc.iTim Potter1-1/+1
(This used to be commit dc43666135a0d9f3be9ebe588ffb24d29027c42c)
2007-10-10r2805: Handle NULL pointers when converting structures to Python. All theTim Potter1-1/+4
test cases up till now haven't come across them yet! (This used to be commit 5fd3c12d4fe3e572618bcd71c5915f69539fe7e6)
2007-10-10r2804: - setup some reasonable default SAM to unixName mappings in the ↵Andrew Tridgell3-5/+17
provisioning. - enable the unixuid module by default on all backends (This used to be commit e335cd4933fccc1bb53641131eb6505faca857ce)
2007-10-10r2803: allow unixuid module to work with foreign security principlesAndrew Tridgell1-4/+8
(This used to be commit f522728728fa523ce7d9e73c93b27e71f3757d50)
2007-10-10r2802: a better provisioning scriptAndrew Tridgell1-11/+139
(This used to be commit f5560f961d5b806c2f70feba568d640e6baac2f9)
2007-10-10r2801: Wrapped functions that return a DOS error code can return DCERPCTim Potter1-0/+4
faults if they are badly formed. Handle this by checking the value of NTSTATUS as well as WERROR. (This used to be commit bb1be7819741f6c7dc1ee982cb2a255b6d776b79)
2007-10-10r2800: removed the warning about using the posix ntvfs handler, as it is nowAndrew Tridgell1-2/+0
considerably more complete than the simple handler (This used to be commit e6ecd31be8e91f552d891c41b2f8737519a490a1)
2007-10-10r2799: removed one last occurance of torture_ldb_alloc()Andrew Tridgell1-3/+3
(This used to be commit 5045482b14dfcbb535eab3e5fa63ef1c3b46c40f)
2007-10-10r2798: get rid of a unnecessary staticAndrew Tridgell1-3/+5
(This used to be commit c3dfa7e8287811b4f54d58b45f5093521886b17e)
2007-10-10r2797: don't free the server_info before using it for anonymous connectionsAndrew Tridgell1-3/+2
(This used to be commit 5f5b04196c7930c91e6c00e0276f25f88181b317)
2007-10-10r2796: - changed ldap attributes "UnixID" to "unixID" and "UnixName" to ↵Andrew Tridgell1-18/+23
"unixName" to be more ldap traditional - register the unixuid module as all 3 ntvfs backend types, as it doesn't care what type of backend it filters (This used to be commit cd43def6ce280442306f14ca61508b4f7eb92cb6)
2007-10-10r2795: Split status code constants into a separate file.Tim Potter2-520/+553
(This used to be commit 12a3f75c1cf39c74952077cc00fd86a4e935f74b)
2007-10-10r2794: a very simple version of the unixuid NTVFS pass-thru module. InAndrew Tridgell5-55/+821
conjunction with the posix backend this gives us a way to correctly setup the unix security context in Samba4. I chose the following method to determine the unix uid's and gid's to use given the list of SIDs from the login process - look for a "UnixID" field in the sam record. If present, then use it (check if the record is of the right type as well) - if UnixID is not present, then look for the "UnixName" sam field. If it is present then use getpwnam() or getgrnam() to find the unix id. - if UnixID and UnixName are not present, then look for a unix account of the right type called by the same name as the sAMAccountName field. - if none of the above work then fail the operation with NT_STATUS_ACCESS_DENIED obviously these steps only work well with a local SAM. It will need to be more sophisticated in future. I did not put any cache in place at all. That will need to be added for decent performance. (This used to be commit 78b67d19b9766131f0270e451089ee5bb1aa8bd9)
2007-10-10r2793: fixed the handling of primaryGroupID in auth_sam. There were two bugs,Andrew Tridgell1-2/+12
the first was it didn't pass primaryGroupID as an attributed it wanted, the second was it didn't cope with primaryGroupID not being present. (This used to be commit 8373bfcdeca13dcdce3081af420d8bb7d842ad18)
2007-10-10r2792: got rid of talloc_ldb_alloc() and instead created talloc_realloc_fn(),Andrew Tridgell8-31/+44
so talloc now doesn't contain any ldb specific functions. allow NULL to be passed to a couple more talloc() functions (This used to be commit 1246f80d806fb5f63cfbf3879de6d546384552a8)
2007-10-10r2791: got rid of talloc_unreference() and instead created talloc_unlink(),Andrew Tridgell4-42/+177
which is much clearer and simpler to use. It removes a specific parent from a pointer, no matter whether that parent is a "reference" or a direct parent. This gives complete control over the free process. (This used to be commit 6c563887f1b9b8c842309a523e88b6f2a32db10f)
2007-10-10r2790: Add code to generate WERROR exceptions. Arrange inclusion of ↵Tim Potter1-3/+26
autogenerated interface files to divvy them up into pipes that return WERRORs and pipes that return NTSTATUS values. (This used to be commit 294d1ae35c09432a41e5a07a3aa1884bfb9a93be)
2007-10-10r2789: fix compileSimo Sorce1-1/+1
(This used to be commit a34ba8dafebb65e59616a0e68cc3d6fe3a349801)
2007-10-10r2788: prevent a memory leak in the pvfs search backendAndrew Tridgell2-4/+6
(This used to be commit 1de22070610231e60d329f56997bbec2cc674a4e)
2007-10-10r2787: force masktest to use RAW_SEARCH_BOTH_DIRECTORY_INFO so it can obtain ↵Andrew Tridgell2-9/+14
the short name (This used to be commit ad5a5ea08d5be812e0ef662948477add2433bc6f)
2007-10-10r2786: - match on both long and short name for search posix backendAndrew Tridgell3-4/+29
- a final name component of . is illegal (This used to be commit 11c852170b83e5adbdb58407e1c7d3aeb4ab5bb8)
2007-10-10r2785: call init_iconv() in smbtorture to ensure we have no memory allocatedAndrew Tridgell1-0/+1
when a test started, thus making leak detection easier (This used to be commit 6c46e4622a9851bdef25ba9d353bdebc25f6ec8d)
2007-10-10r2784: - fixed alignment of ascii directory listingsAndrew Tridgell1-1/+14
- fixed minimum parameter size for ascii qpathinfo call (This used to be commit ee065ae7f92e60600966cb1d44cd0e30498b93dd)
2007-10-10r2783: got rid of the unused remote architecture detection codeAndrew Tridgell2-160/+0
(This used to be commit 9a04664531601b8251dbf6a0922ab48e675adb90)
2007-10-10r2782: Reformat IDL for winreg_EnumValue()Tim Potter1-36/+14
(This used to be commit 9250f745adc22b3f179cf363a9a9a5fba1ec6fc9)
2007-10-10r2781: Got winreg_EnumValue() working. Check it in so I don't break it tryingTim Potter2-15/+40
to clean it up. (-: (This used to be commit cc646f73b873292eaba152770be9500beff1c988)
2007-10-10r2780: Add conversion routines for DATA_BLOB. I'm not convinced that ↵Tim Potter1-0/+29
DATA_BLOB's should be treated as scalar types though. (This used to be commit c9e96038f821783c30b5cf509334176f982403d9)
2007-10-10r2777: Correctly abort if an idl file fails to parse. Bloody perl...Tim Potter1-1/+1
(This used to be commit 35ff140b43b353a8848e417bb309046605e98085)
2007-10-10r2776: if there are no wildcard characters then use StrCaseCmp()Andrew Tridgell1-0/+6
note that this is not just an optimisation, it fixes a rare edge case when LANMAN1 is negotiated (This used to be commit 8d879cf54c2fe09d62a5c28b02a070cb80984744)
2007-10-10r2775: rewrote our ms_fnmatch code to be much more efficient, and to exactlyAndrew Tridgell1-154/+121
match w2k behaviour for older negotiated protocols. (This used to be commit bae2baeb0247ae8f840b3d3b5488c98d081789c5)
2007-10-10r2774: get rid of the lanman specific code in masktest, and add a -l optionAndrew Tridgell1-99/+8
(This used to be commit 630fefb24a2f8d332dfa39f6c4980cd230407142)
2007-10-10r2773: allow zero sized array tallocAndrew Tridgell1-4/+2
(This used to be commit 06c58ad221ec40e46310e847ebf640bd53e8e468)
2007-10-10r2767: Get rid of some unnecessary %s formatting.Tim Potter1-2/+2
(This used to be commit b63a0ef0d41e6f0fdc6bf46435fb7b81925946da)
2007-10-10r2766: Test OpenKey, QueryInfoKey, EnumKey, CloseKey functions.Tim Potter1-5/+102
The IDL for EnumValue is wrong - can't figure it out right now. (This used to be commit 37af942d08da9ba9dcf351853f9064b5d179d5e4)
2007-10-10r2765: Allow functions containing WERROR values to be compiled.Tim Potter2-0/+4
Add winreg.i to list of extensions. (This used to be commit 6f3f6de058e806f13f48d3d1300db3784d2f470c)
2007-10-10r2764: Use hand-written function for all occurrences of IDL strings, not justTim Potter1-2/+2
those with a single pointer. (This used to be commit c4c748ce63fd2d87d4388a1eac9afa586867ce28)
2007-10-10r2763: use no-auth bind on ncacn_np unless we specify at least one of ↵Andrew Tridgell1-1/+2
"sign", "seal" or "connect" (This used to be commit f3adabf6896b75f5293dbde3f9de737f35d95a10)
2007-10-10r2758: keep docos handy while developing itSimo Sorce6-0/+5674
(This used to be commit 5f9b58c785950e9871ef6411ff2ef34f988959ed)
2007-10-10r2757: some minor fixesStefan Metzmacher1-3/+1
metze (This used to be commit 991b4777c8690337bb319c57550e918ced5d7503)
2007-10-10r2754: Change sldb_trim_dn() to be sldb_fix_dn() as we are not really trimming.Simo Sorce1-29/+60
Make it handle all cases: - remove spaces before and after ',' - remove spaces after '=' TODO: check if there are escape chars in the RFC, they are not handled here yet. Simo. (This used to be commit ba2970c3a44562f071309198494c4b68659b2f3f)
2007-10-10r2751: this is a new ntvfs design which tries to solve:Stefan Metzmacher31-517/+1254
- the stacking of modules - finding the modules private data - hide the ntvfs details from the calling layer - I set NTVFS_INTERFACE_VERSION 0 till we are closer to release (because we need to solve some async problems with the module stacking) metze (This used to be commit 3ff03b5cb21bb79afdd3b1609be9635f6688a539)
2007-10-10r2750: decode AbandonRequest correct (untested:-)Stefan Metzmacher1-2/+6
metze (This used to be commit 4233067921d386d4bf02218b479083cdbe2bd3c1)
2007-10-10r2749: add asn1_read_implicit_Integer()Stefan Metzmacher1-5/+15
metze (This used to be commit a62fbcb30f63245d9dfb48c83a5f449965bb1ca7)
2007-10-10r2748: implement sldb_Compare()Stefan Metzmacher1-1/+63
Simo: this commit should not conflict much with your changes:-) metze (This used to be commit 6825e78e01a220bc837ea51aa6afbf3f26a02c49)
2007-10-10r2747: use DATA_BLOB for attribute valuesStefan Metzmacher2-5/+17
en/decode CompareRequest/Response correct metze (This used to be commit 72dfea2b07aea83d0965a585f6e388eb88a7c6d1)
2007-10-10r2745: added some example talloc reportsAndrew Tridgell1-0/+22
(This used to be commit 10e2a4fd2b85d69b55efa8c36eb553dceda844ad)
2007-10-10r2744: ben elliston taught me about gcov today, which allows you to measureAndrew Tridgell5-80/+465
the % coverage in terms of lines of code of a test suite. I thought a good first place to start with gcov was the talloc test suite. When I started the test suite covered about 60% of all lines of code in talloc.c, and now it covers about 99%. The only lines not covered are talloc corruption errors, as that would cause smb_panic() to fire. It will be interesting to try gcov on the main Samba test suite for smbd. We won't achieve 100% coverage, but it would be nice to get to 90% or more. I also modified the talloc.c sources to be able to be build standalone, using: gcc -c -D_STANDALONE_ -Iinlcude lib/talloc.c that should make it much easier to re-use talloc in other projects (This used to be commit 8d4dc99b82efdf24b6811851c7bdd4af5a4c52c9)
2007-10-10r2743: fixed some errors in the description of talloc_reference(). VolkerAndrew Tridgell1-6/+38
told me he found the description confusing, and given that some of it was not correct I am not surprised! added some more docs on the reporting calls (This used to be commit 43079cfc80317b6d0d2679f9377aac259e0f8fc7)
2007-10-10r2742: - fixed a bug in talloc_unreference()Andrew Tridgell2-44/+116
- made the LOCAL-TALLOC smbtorture test much stricter, checking that block counts for every pointer are correct after every operation (This used to be commit 18d3e2647f0bedbba699d1ba2649c0cfe4526ef6)