summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/netlogon.idl
AgeCommit message (Collapse)AuthorFilesLines
2008-02-04netlogon.idl: don't use pointer_default_top() and specify "unique" explizitStefan Metzmacher1-78/+77
Note: this doesn't change the generated output! metze (This used to be commit e4b12aa9a44210a7d76a75db6a1fa4fecaf3e76f)
2008-01-25Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).Günther Deschner1-1/+7
Guenther (This used to be commit 722b4dfdc4821ecf349f87f57146f3b52e719b3d)
2008-01-24Add IDL for netr_LogonGetTrustRid.Günther Deschner1-1/+5
Guenther (This used to be commit d0893014ab02f4a628bc05135e7afedd11427116)
2008-01-24netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32Stefan Metzmacher1-4/+9
metze (This used to be commit 7222edb9cde5cdeb9d065e890775a7254b26648f)
2008-01-24netlogon.idl: make use of bitmap samr_GroupAttrsStefan Metzmacher1-1/+2
metze (This used to be commit 6d68161e676d381600c77c3f862bd7e013968724)
2008-01-24netlogon.idl: remove unused netr_GroupsMembership structureStefan Metzmacher1-5/+0
We have samr_RidWithAttribute and use that in all cases. metze (This used to be commit 3c5bae2249d01213ff4bd7df2b4e3ac04da4a52d)
2008-01-12idl: Use typedef rather than declare.Jelmer Vernooij1-3/+3
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)
2007-12-24r26558: Add IDL for netr_GetForestTrustInformation().Günther Deschner1-1/+8
Guenther (This used to be commit 7aa34b48795d303ba600f34a4b1bc916007aee44)
2007-12-21r26286: IDL and torture test for netr_ServerTrustPasswordsGet().Günther Deschner1-1/+10
Guenther (This used to be commit 231fe8826b7d8b0f4307ffbb3cd71b4c7723a290)
2007-12-21r26285: Add IDL and torture test for netr_ServerPasswordGet().Günther Deschner1-1/+9
Guenther (This used to be commit d64244cfe871cd549a991ac2a708263fc77d2fef)
2007-12-21r26273: Add IDL and torture test for netr_NetrEnumerateTurstedDomains() andGünther Deschner1-44/+55
netr_NetrEnumerateTurstedDomainsEx(). Guenther (This used to be commit 32a189e85026f5b54f82df88306005d9a9f50beb)
2007-12-21r25951: Add missing DS_SERVER_NDNC bit to netr_DsR_DcFlags.Günther Deschner1-0/+1
Guenther (This used to be commit 1b49119c7318495cb3f2e5894e8faa3726a7fa0a)
2007-12-21r25894: Add IDL for netr_DsRAddressToSitenamesW and ↵Günther Deschner1-2/+28
netr_DsRAddressToSitenamesExW. Guenther (This used to be commit ee797e18c7c970d78dfc7f2592f9598003e72d60)
2007-10-10r23384: Fill in NETLOGON netr_DsRGetForestTrustInformation().Günther Deschner1-1/+9
Guenther (This used to be commit 82477b311e2a7a51906d0c00d8714f545b12b0bd)
2007-10-10r23381: Merge netr_GetDcName WERROR return and ↵Günther Deschner1-1/+1
WERROR_DOMAIN_CONTROLLER_NOT_FOUND from SAMBA_3_0. Guenther (This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
2007-10-10r23240: Fill in netr_DsrGetDcSiteCoverageW.Günther Deschner1-1/+10
Guenther (This used to be commit 9c2b9642336ed954c8f9fc0ccce95547d7c18aa8)
2007-10-10r23129: Merge from 3_0:Günther Deschner1-8/+52
* netr_DsRGetDCName_flags, netr_DsRGetDCNameInfo_AddressType and netr_DsR_DcFlags * the mask in netr_DsRGetDCNameEx2 turns out to be samr_AcctFlags Guenther (This used to be commit 9cdd6d9782a7a70f01d748228beb80c454d1468b)
2007-10-10r21403: Add netlogon tests.Jelmer Vernooij1-2/+2
(This used to be commit a620dc359476de9440f3b84dc8b45f569d103270)
2007-10-10r21301: - the history contains lm and nt historyStefan Metzmacher1-4/+4
- autoset the size values metze (This used to be commit 5e51845137a05b6c4ca6804feaced3b5251b455f)
2007-10-10r19588: Use include and import statements rather than depends() and helper().Jelmer Vernooij1-2/+3
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10r18639: Get rid of the keepref supportJelmer Vernooij1-2/+1
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10r18599: the netr_CryptPassword structure needs to use a uint8, as the data isAndrew Tridgell1-1/+1
passed to acrfour, and that assumes a byte buffer. This caused us to fail big endian boxes (or more specifically, to be incompatible with little endian boxes) (This used to be commit a44f2eda1eeb134292111dd857f0f65e4bf96399)
2007-10-10r17342: implement a SamLogon via IRPC in samba4's winbindStefan Metzmacher1-2/+2
metze (This used to be commit c3ce7a0c3708f0c8e784404e86034f7a00685f88)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+2
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r15653: Remove idl_types.h include where possible. RemoveJelmer Vernooij1-5/+5
types from .h file that are now in pidls' aliases list. (This used to be commit fadb9529ec7e1208b9f58a4e8b633d5a50633e82)
2007-10-10r13637: Adding more netr_UserFlags.Günther Deschner1-3/+13
Guenther (This used to be commit 3ad84a844c612104592ddee07c9512eddb3467ae)
2007-10-10r13583: Realise that the member server name appears in all calls that use theAndrew Bartlett1-3/+3
credentials. Consistantly rename these elements in the IDL to computer_name. Fix the server-side code to always lookup by this name. Add new, even nastier tests to RPC-SCHANNEL to prove this. Andrew Bartlett (This used to be commit 341a0abeb4a9f88d64ffd4681249cb1f643a7a5a)
2007-10-10r12084: added a comment on what is appropriate for parameter_controlAndrew Tridgell1-1/+1
(This used to be commit 040d798a88ad6e6d56179de2b9036e3d0c36afc8)
2007-10-10r11402: In response to comments by volker, expand our Netlogon DsRGetDCNameAndrew Bartlett1-17/+35
IDL and testsuites. The server-side of this remains a stub, we should probably be doing ldb searches for the server reference record. Andrew Bartlett (This used to be commit 0141ed309a664e7a9893c95232c2dcb9768f9315)
2007-10-10r11352: Add newly discovered (via the radiator lists) flags for controllingAndrew Bartlett1-0/+4
plaintext and machine account logins. Update tests to confirm this behaviour. Andrew Bartlett (This used to be commit a0ed41d379f4b15a7f44ca93de9907f02bada163)
2007-10-10r11100: Replace unistr with [string,charset(UTF16)]Jelmer Vernooij1-85/+85
(This used to be commit 48f45927ceb4f7d39c4cc47b3b843e43a53b7f2b)
2007-10-10r8986: As far as I can tell, given the ldif I get from behind this, we have aAndrew Bartlett1-1/+1
signed NTTIME here. Andrew Bartlett (This used to be commit 57b703a9d5c26ad410125b15587a52129a41fb91)
2007-10-10r8855: Share this enum (describing the SamSync databases) between nbt and ↵Andrew Bartlett1-6/+1
netlogon. Andrew Bartlett (This used to be commit 5e29e1c68c1b1a957419320cef55395ba0fe6b6f)
2007-10-10r8375: - move from netr_StringLarge to lsa_StringLargeStefan Metzmacher1-8/+2
- we need to use lsa_StringLarge in lsa_DnsDomainInfo, to make windows clients happy metze (This used to be commit 044d18f85f82b4ab5d71a6ae366052af0dbe8e7e)
2007-10-10r8252: Steal metze's thunder, and prove that with a few small tweaks, we canAndrew Bartlett1-2/+8
now push/pull a sample PAC, and still have the same byte buffer. (Metze set up the string code, and probably already has a similar patch). Unfortunetly win2k3 still doesn't like what we provide, but every step helps. Also use data_blob_const() when we are just wrapping data for API reasons. Andrew Bartlett (This used to be commit e7c8076fc1459ff2ccefdaf0b091d04ee6137957)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher1-92/+86
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r7993: Further work on the Krb5 PAC.Andrew Bartlett1-1/+5
We now generate the PAC, and can verifiy both our own PAC and the PAC from Win2k3. This commit adds the PAC generation code, spits out the code to get the information we need from the NETLOGON server back into a auth/ helper function, and adds a number of glue functions. In the process of building the PAC generation code, some hints in the Microsoft PAC specification shed light on other parts of the code, and the updates to samr.idl and netlogon.idl come from those hints. Also in this commit: The Heimdal build package has been split up, so as to only link the KDC with smbd, not the client utils. To enable the PAC to be veified with gensec_krb5 (which isn't quite dead yet), the keyblock has been passed back to the calling layer. Andrew Bartlett (This used to be commit e2015671c2f7501f832ff402873ffe6e53b89466)
2007-10-10r7872: another place we were relying on the old behaviour of value()Andrew Tridgell1-1/+1
(This used to be commit 25a64f8946274e07ca233751bc745b160ff3e7c1)
2007-10-10r7870: fixed the RPC-SCHANNEL test. It turned out it was my const changes, asAndrew Tridgell1-1/+1
they slightly changed the semantics of value() in pidl, which broke a optimisation hack in some of our IDL files. I've changed the idl files to remove the hack for now. Sometime we need to find a better way to handle these :-) (This used to be commit 765f75ea630b13b1605409ff47a52cc11a1e496b)
2007-10-10r7552: Use ParseExpr() for [value] attributes; allowsJelmer Vernooij1-4/+4
us somewhat cleaner IDL. (This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
2007-10-10r7029: Make array support in pidl similar to that in other IDL compilers. We ↵Jelmer Vernooij1-20/+20
should now able to use constructions like these: [size_is(20)] int *x; -> Pointer to array of 20 ints [size_is(20)] int x[]; -> Array of 20 ints [size_is(20)] int *x[]; -> Array of 20 pointers to ints [size_is(20,)] int *x[] -> Array of 20 pointers to ints [size_is(,20)] int *x[]; -> Pointer to array of 20 ints [size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints [size_is(20)] int x[][30]; -> 20 blocks of 30 ints (This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
2007-10-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij1-0/+1
The main difference in this new version is the extra data structure generated between the IDL data structure and the NDR parser: IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc } This makes the ndr_parser.pm internals much more sane. Other changes include: - Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags. - Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc.. - Use if() {} rather then if () goto foo; everywhere - NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC - By default, top level pointers are now "ref" (as is the default in most other IDL compilers). This can be overridden using the default_pointer_top() property. - initial work on new ethereal parser generators by Alan DeKok and me - pidl now writes errors in the standard format used by compilers, which is parsable by most editors - ability to warn about the fact that pidl extension(s) have been used, useful for making sure IDL files work with other IDL compilers. oh, and there's probably some other things I can't think of right now.. (This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2007-10-10r6719: pidl need to be told that the external type netr_SchannelType is an ↵Andrew Tridgell1-0/+2
enum, otherwise it will assume its a struct (This used to be commit 9a8f3e3c4cc3bad804b4fab3a7248e6fd88f3749)
2007-10-10r6565: Cludge, cludge, cludge...Andrew Bartlett1-10/+1
We need to pass the 'secure channel type' to the NETLOGON layer, which must match the account type. (Yes, jelmer objects to this inclusion of the kitchen sink ;-) Andrew Bartlett (This used to be commit 8ee208a926d2b15fdc42753b1f9ee586564c6248)
2007-10-10r6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.Andrew Bartlett1-2/+1
Fill out the group list for the SamLogon reply, so clients get the supplementary groups. Andrew Bartlett (This used to be commit d9c31e60a72c345e3a23a7eb742906bcfc18721c)
2007-10-10r6032: Fix up SetServerPassword2 on NETLOGON for [bigendian]. Clearly nobodyAndrew Bartlett1-1/+6
has the patience to run test_w2k3.sh to completion :-) It looks to me that the Windows server runs the RC4 over the C struct, not the NDR data. Andrew Bartlett (This used to be commit c324d974134c35b4c50c91d5a932a63c78b67046)
2007-10-10r5672: Use switch_type() and the token storage mechanism for unions:Jelmer Vernooij1-4/+4
- Makes union handling less special - Allows unions in arrays, etc - Compatible with midl - Pidl will warn about switch_type() and the type of the switch_is() variable being different (This used to be commit dc6b4ffc82a191631bc16a4b93a4916a39183ec6)
2007-10-10r5661: Be a little stricter on syntax regarding arrays. A pointer to anJelmer Vernooij1-21/+21
array can now only be : type *name[]; rather then : type *name; which was supported in the past. Warnings will be given when the first syntax is used. Reasons for this change in behaviour include improved readability and the fact that the second format makes dealing with multiple levels of pointers harder. (This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
2007-10-10r5090: Fix up the IDL for LogonGetDomainInfo in NETLOGON.Andrew Bartlett1-6/+5
Andrew Bartlett (This used to be commit e5afc3609382a7b534c9d845e809d135a0d4eb3a)
2007-10-10r5034: - added a type mapping function in pidl, so the type names in our IDLAndrew Tridgell1-8/+8
files don't need to match the type names in the generated headers - with this type mapping we no longer need definitions for the deprecated "int32", "uint8" etc form of types. We can now force everyone to use the standard types int32_t, uint8_t etc. - fixed all the code that used the deprecated types - converted the IDL types "int64" and "uint64" to "dlong" and "udlong". These are the 4 byte aligned 64 bit integers that Microsoft internally define as two 32 bit integers in a structure. After discussions with Ronnie Sahlberg we decided that calling these "int64" was confusing, as it implied a true 8 byte aligned type - fixed all the cases where we incorrectly used things like "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for those. The fact that it is hyper-aligned on the wire is not relevant to the API, and should remain just a IDL property (This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)