summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8238: - fixed handling of NULL pointers from ejsAndrew Tridgell4-0/+49
- added automatic creation of all constants in IDL as ejs variables (This used to be commit 9398b02e4ba51145e447668e321ca927f44c0078)
2007-10-10r8236: fixed support for arrays of structuresAndrew Tridgell1-4/+4
(This used to be commit cbe5289ac9a8adfe68704dc16a2b32ecbd15a4eb)
2007-10-10r8235: fix the buildStefan Metzmacher2-2/+2
metze (This used to be commit 5933b00461e6e7c7f0ab60d61f9be215aa68c317)
2007-10-10r8233: - added support for more base types in pidl ejsAndrew Tridgell11-25/+314
- added auto generation of a header with prototypes for public ejs functions - make public functions non-static - fixed allocation of fixed sized arrays - added 'noejs' flag indicating that a typedef will be handled manually by ejs - added manual functions for sid and GUID, so they show up as nice strings in ejs scripts This allows ejs to bring in samr, security, lsa and misc IDL functions (This used to be commit a8cb2dbdcc2871090a26f580f67db8f0636d1e7e)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher16-265/+251
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r8230: prevent authentication dying on a NULL domainAndrew Tridgell1-1/+1
(This used to be commit e1cfc6d03244e04d59a96ef2abb5b48fcb157b0a)
2007-10-10r8229: A level2 oplock does not conflict a no-oplock open, but is broken on ↵Volker Lendecke1-0/+119
first write. Test that. Volker (This used to be commit 2ad02d5e09ca00ca998e363b535b16af45c82a5f)
2007-10-10r8228: fix compiler warningsStefan Metzmacher1-9/+9
metze (This used to be commit 93c1d18021cbf08be1782b129c40d8769b1b559c)
2007-10-10r8227: add STR_LARGE_SIZE flag, to support strings where the size is length+1,Stefan Metzmacher3-2/+19
metze (This used to be commit cdd03fe87d0120ab3e18566bfc20df5955f9fb3c)
2007-10-10r8226: w2k3 adds a '.' after the forest and domain dns names for the primary ↵Stefan Metzmacher1-10/+27
domain and NULL for the trusted domains forest dns name metze (This used to be commit 225fc1b8658f01217b55e2d1c6d5814ee5022559)
2007-10-10r8225: make nETBIOSName case insensitive, so that lower case netbios domain ↵Stefan Metzmacher1-0/+1
REALM's are working in the hdb-ldb module metze (This used to be commit d24f39a5d746b9eabc4d5f6f6070a85be084d82c)
2007-10-10r8224: - add objectGUID ldif_handlerStefan Metzmacher2-31/+165
- fix some compiler warnings metze (This used to be commit e6c39241bf93336d4c94c43f9d8beb69018fb74a)
2007-10-10r8223: fix the values of nt_version and type we reply in the server code,Stefan Metzmacher3-64/+61
also name the struct like the nt_version number metze (This used to be commit 1e3af5cc1f68b7fa54b8ba77ed9836a619a69436)
2007-10-10r8222: 0 entries are no error, unless it's a base searchStefan Metzmacher1-1/+5
metze (This used to be commit 0297943ff201b06cc7a3c4aba5d81481a4cc5966)
2007-10-10r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now ↵Andrew Tridgell6-2/+70
use the enum name instead of a integer in ejs scripts making rpc calls (This used to be commit a61cdee384c3002860016c1740276529493d318d)
2007-10-10r8216: - handle union pull in ejs pidl generationAndrew Tridgell2-2/+28
- added debugging calls for missing structure/union elements (This used to be commit f3ff48204cb8edeb9f42afbbefe13f7d49305506)
2007-10-10r8215: switched the pull side of the ejs generator over to the recursive ↵Andrew Tridgell3-61/+71
LEVELS based approach. This allows for much more complex structure mappings to be generated. (This used to be commit 49fc14d13291b02f7b16ab0eefe7bfb26f51b1c8)
2007-10-10r8213: I've started to understand the LEVELS stuff in pidl much better now,Andrew Tridgell3-82/+106
and have re-coded the push side of the ejs generator to use it properly. It ends up being very neat and small, and should handle much more complex structures (like arrays of pointers to unions etc). Also added push side support for unions. This should get more of the echo pipe working via ejs. (This used to be commit 2e306be1d83f722c259c4a63233e77d8bb1d5a72)
2007-10-10r8212: fix pushing of nbt_string's:Stefan Metzmacher2-35/+50
- we now use an ndr_token_list, for the nbt string label pointer offsets this avoids to scan the whole buffer - we need to check for already send string on a per component basis not only for the fullname e.g. w2k3 response this in the CLDAP netlogon replies forest: w2k3.vmnet1.vm.base dns_name: sub1. pdc_dns_name: w2k3-104. and this will be interpreted like forest: w2k3.vmnet1.vm.base dns_name: sub1.w2k3.vmnet1.vm.base pdc_dns_name: w2k3-104.w2k3.vmnet1.vm.base metze (This used to be commit d18303a0e27643285ffaf100eeddea2f9555c9db)
2007-10-10r8211: fix some cldap repliesStefan Metzmacher1-3/+3
metze (This used to be commit 8ca5729ec80a9064d592503ae101d22e07c2da0a)
2007-10-10r8210: - make the ndr_token_* function publicStefan Metzmacher1-18/+29
- allow comparison function to be passed for ndr_token_retrive_cmp_fn(), this is for matching the keys, if NULL is passed, the old behavior tok->key == key is used metze (This used to be commit 019f3dc767ef703768df3acdbbd80808c122855c)
2007-10-10r8203: fix the build temporary,Stefan Metzmacher1-2/+2
we also get perl warnings uninitialized value used in ejs.pm line 26 metze (This used to be commit 3f0a6efd7495971d4641cc9c3a5c5ede4bbc6898)
2007-10-10r8200: - added stub functions for union pull/pushAndrew Tridgell2-6/+34
- kill the js interpreter with an exception on internal errors (This used to be commit 5f062d71481a0aa2d8c89099abb2d171b789879e)
2007-10-10r8198: - handled push/pull of simple strings in ejsAndrew Tridgell4-29/+112
- improved the error handling, so the ejs wrappers don't just ignore a type they don't handle, instead an exception is issued saying what isn't handled (This used to be commit a77c2aa8606ad668f6a513211a1d9e7d6193d741)
2007-10-10r8195: - fixed handling of simple arrays. To keep the logic simple, I moved ↵Andrew Tridgell2-17/+17
to making all push functions taking a constant pointer to the type rather than having a different calling convention for scalars and pointers - fixed the setting of the 'length' element in arrays (This used to be commit 431b4b6888434daa8d1306f0e98bae7b2fe0fddd)
2007-10-10r8194: delete the old hand-written ejs code for echo_AddOne. This is nowAndrew Tridgell1-45/+0
autogenerated by pidl (This used to be commit 697b67ed572a458494fbf9172a341f6b621c84a3)
2007-10-10r8192: updated the glue code for the generated ejs functions from pidlAndrew Tridgell6-30/+160
only handles a small subset of all IDL files so far (This used to be commit 14b6436cc51f599572932bef72c49e0da4888073)
2007-10-10r8191: updated the ejs code generator in pidl to generate enough code forAndrew Tridgell2-20/+340
simple rpc calls to work. Still very rough, but its a start. (This used to be commit fb2639bbc203e49f6719922b6850edf28c8748a1)
2007-10-10r8185: Delete on close on directories:Volker Lendecke2-4/+142
Creating a file in a directory with delete-on-close set returns DELETE_PENDING, and trying to set the flag on a non-empty directory returns DIRECTORY_NOT_EMPTY. Volker (This used to be commit 5680f34778b2f5291936f4d4fb937a7713696c52)
2007-10-10r8182: Little more testing delete-on-close: Check flag with qfileinfo.Volker Lendecke1-16/+79
Volker (This used to be commit 47a9df946d5ff967289fba0ff4209711ead11e31)
2007-10-10r8181: Allow host/foo.realm/realm@REALM requests, assuming that the realmAndrew Bartlett1-1/+9
forms both differ only in case. We may need a better solution than this later. Andrew Bartlett (This used to be commit a0ad13f5bceb17c1b856548825e5509921b409f0)
2007-10-10r8179: Delete-on-close is really a shared DB. Setting it on one ↵Volker Lendecke1-84/+138
connection(!) and resetting it on another resets it for both. Volker (This used to be commit 30bd7e36669dbb2fd7d85a1cd72927370267d616)
2007-10-10r8177: More explorations.Volker Lendecke1-1/+46
The share mode db is actually checked on qpathinfo even before the delete-on-close is executed. Volker (This used to be commit 124f3b74ca2ece9ba73737c3ccb75e1730973f19)
2007-10-10r8176: Exploring the share mode database...Volker Lendecke2-9/+50
A delete-on-close deleted file is still around while open on another fd. But only for findfirst, not for qpathinfo :-) Volker (This used to be commit dbc7a1a978d782c73f593f4b46f2a81d35169713)
2007-10-10r8174: Check DOS error codes in torture chkpath test.Jeremy Allison4-65/+67
Jeremy. (This used to be commit ff58ecad044dc7a3cdb4c010ea5cc1ea5e2e4b3b)
2007-10-10r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff isTim Potter3-34/+14
actually a uint16 * without the [string] attribute, a la the the system_name argument to samr_Connect(). Initialising the pointer to NULL is sufficient and we still pass the RPC-WINREG test against win2k3. (This used to be commit 407d962dacf7c833b36cb739e48fe97226968a34)
2007-10-10r8168: after testing I saw that w2k3 uses unique pointers on the mgmt pipeStefan Metzmacher1-2/+2
that also matches the spec at http://www.opengroup.org/onlinepubs/9629399/apdyq.htm metze (This used to be commit 117e678bde040b9294c2fff473ececd0d7e3a1cc)
2007-10-10r8167: - use the same algorithm than w2k3 for 'unique' pointer valuesStefan Metzmacher7-15/+32
- add a new 'sptr' (simple-full) pointer type to simulate what we need to support pipes like epmapper and mgmt that uses 'ptr' full pointer in their spec - I runned make test and test_w2k3.sh with this, all fine does we have any other pipe using 'unique' pointer where we need 'ptr'? btw: jelmer, what does 'ignore' pointers do? they are allowed in pidl but not implemented! metze (This used to be commit d19068bfb2e3ff5d88bc3b76d5cef93417c7f218)
2007-10-10r8164: - match the ordering w2k3 uses for the PAC_BUFFER:Stefan Metzmacher3-15/+98
LOGON_INFO LOGON_NAME SRV_CHECKSUM KDC_CHECKSUM - w2k3 also don't use the groupmembership array with rids it uses the othersids array metze (This used to be commit 2286fad27d749ebba14f5448f1f635bb36750c9c)
2007-10-10r8163: if sidcount is zero it happened that we return NT_STATUS_NO_MEMORY...Stefan Metzmacher1-4/+6
metze (This used to be commit a9ff35a1a24f2d2935e67855fee5011ea528029f)
2007-10-10r8162: Revert my pad8 hack.Andrew Bartlett3-9/+1
Andrew Bartlett (This used to be commit 8e78830ffc9280b48e1e690d95a94f1645e6e496)
2007-10-10r8161: Update Samba4 for the new Heimdal update.Andrew Bartlett5-4/+5
Andrew Bartlett (This used to be commit 6a9b6373273f135fe012a6603707d77c2a65e9fa)
2007-10-10r8158: - use the timestring for the serial number of the bind zone fileStefan Metzmacher4-10/+35
- add --krbtgtpass and --machinepass options, with them you can easy set them to default values for testing so that you don't need to setup a new keytab file when you rerun provision.pl metze (This used to be commit cfb72455970c182aaba67bf9cf9775a854f143ff)
2007-10-10r8157: add the algorithm for unique pointers that w2k3 uses.Stefan Metzmacher1-0/+6
this is ifdef'ed out currently because we use 'unique' pointers in the epmapper pipe, where we should use 'ptr' full pointers. metze (This used to be commit ccc9d9267a60287eff1fb26132aa7cae3b39dcee)
2007-10-10r8156: I found out that the unknown[2] field of the unknown[4] array is a ↵Stefan Metzmacher3-12/+13
length too, it's always 16 bytes smaller than the size in the PAC_BUFFER we now dump the blob's on LOCAL-PAC with -d 10 metze (This used to be commit 4ef721ce53539ac56ca8ac4d601f512149ca7283)
2007-10-10r8154: - fix some mem_lealsStefan Metzmacher1-0/+14
- check if the buffer length of the original and created buffer are equal metze (This used to be commit 84ff2d87e28df3e2b3c1495a9ea48f40221b96ae)
2007-10-10r8150: these should be staticStefan Metzmacher1-2/+2
metze (This used to be commit 25f5d1db296b03b62869c8467b652a0df3107222)
2007-10-10r8148: - make the PAC generation code a bit more readable and add some outof ↵Stefan Metzmacher7-78/+277
memory checks - move to handmodified pull/push code for PAC_BUFFER to get the _ndr_size field and the subcontext size right - after looking closely to the sample w2k3 PAC in our torture test (and some more in my archive) I found out that the first uint32 before the netr_SamInfo3 was also a pointer, (and we passed a NULL pointer there before, so I think that was the reason why the windows clients doesn't want our PAC) w2k3 uses this for unique pointers: ptr = ndr->ptr_count * 4; ptr |= 0x00020000; ndr->ptr_count; - do one more pull/push round with the sample PAC metze (This used to be commit 0eee17941595e9842a264bf89ac73ca66cea7ed5)
2007-10-10r8146: fix compiler warningStefan Metzmacher1-7/+5
metze (This used to be commit 5fcaa21d67e399aab4af15f4f6f919203c1152e5)
2007-10-10r8136: remove unused varStefan Metzmacher1-2/+0
metze (This used to be commit d75c97b8476357bee4d3ba5f8464193c8d296cdd)