summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4483: - rename same structs, enums and uninons of the dssetup pipeStefan Metzmacher1-36/+42
to match the style we are using in other pipes - first fillin local vars and only set the out parameter on success - for the server code only to the samdb lookup when it's needed NOTE: the DsRoleGetPrimaryDomainInformation() code with DS_ROLE_MEMBER_SERVER is not tested yet, does someone has a w2k3 member server to test with? metze (This used to be commit e6d1136497f501fe0687bfb34a155db6a9d87bde)
2007-10-10r4479: added the function talloc_autofree_context() which returns a talloc ↵Andrew Tridgell1-4/+5
context that will automatically be freed on program exit. This is useful for reducing clutter in leak reports (This used to be commit cf73dda652e0a121901f22771104be6751c0fcb9)
2007-10-10r4462: - enable DSSETUP on ncalrpcAndrew Tridgell1-1/+1
- add DSSETUP to the list of tests run in test_rpc.sh (This used to be commit 73c3cdc8ed8dafd544ce4dcac9141124d2b85670)
2007-10-10r4461: finished the remaining information levels in the DSSETUP pipe. The ↵Andrew Tridgell1-2/+49
pipe is now complete! The only glitch is that I am returning DS_ROLE_MEMBER_SERVER when I should be returning DS_ROLE_PRIMARY_DC. This is needed for the moment or ACL editing doesn't work from w2k3. Once we have some more ADS calls we should be able to fix this. (This used to be commit 6566dc2805a9f6473ebab70b0dbd381c4dbd42c8)
2007-10-10r4459: GENSEC refinements:Andrew Bartlett1-4/+13
In developing a GSSAPI plugin for GENSEC, it became clear that the API needed to change: - GSSAPI exposes only a wrap() and unwrap() interface, and determines the location of the signature itself. - The 'have feature' API did not correctly function in the recursive SPNEGO environment. As such, NTLMSSP has been updated to support these methods. The LDAP client and server have been updated to use the new wrap() and unwrap() methods, and now pass the LDAP-* tests in our smbtorture. (Unfortunely I still get valgrind warnings, in the code that was previously unreachable). Andrew Bartlett (This used to be commit 9923c3bc1b5a6e93a5996aadb039bd229e888ac6)
2007-10-10r4457: Fix IDL + add torture test for InqObjectJelmer Vernooij1-1/+1
(This used to be commit dbcaff7c71c9b7ee984a2ed458b6c3ce27772740)
2007-10-10r4456: NT4 usrmgr.exe asks for 4096 accounts, allow twice that.Volker Lendecke1-1/+1
Volker (This used to be commit f8588a769c185f871fdcd5db35428ad587bdfad3)
2007-10-10r4455: LSADS was a duplicate of DSSETUP, and is now goneAndrew Tridgell1-12/+1
(This used to be commit 05c8fd81ddec969ed5280e2fe9f838ac4399f1c9)
2007-10-10r4452: the beginnings of a dssetup rpc server.Andrew Tridgell1-12/+12
(This used to be commit 1c2170ae21d60c22ee3053fbf249dba59de576ba)
2007-10-10r4450: the beginnings of IDL for the dssetup pipe. I need this pipe for ACL ↵Andrew Tridgell2-27/+40
editing from w2k3 when we present ourselves as a DC in the registry (This used to be commit 9651901791e0553f106ab957c5787c109098248b)
2007-10-10r4449: fixed the helpstring for LSA IDLAndrew Tridgell1-1/+1
(This used to be commit 40a68a160e43b2e5d018e393ddecdfc50bad5360)
2007-10-10r4442: fix lsa_TranslatedSid3 (its a dom_sid2 not a dom_sid)Andrew Tridgell1-1/+1
(This used to be commit 0dd258709554265efaa0d25ad5bc86b559139c2e)
2007-10-10r4437: added IDL and test code for lsa_LookupSids3() and lsa_LookupNames3().Andrew Tridgell1-2/+35
For some reason I am getting ACCESS_DENIED from w2k3 on lsa_LookupSids3(). I will investigate. (This used to be commit c759fa0000e37c3e93a7529a7701998af6727612)
2007-10-10r4436: add one more flagStefan Metzmacher1-0/+1
metze (This used to be commit 7886000e031622795fecb6ec37990c133b1e66f7)
2007-10-10r4434: - fix some NetShare* idl functionsStefan Metzmacher1-4/+4
- add torture test for NetShareCheck() metze (This used to be commit 96000a2261ed56fda613a45e3aa460eb3c87082a)
2007-10-10r4433: added the boilerplate for the new w2k3 LSA functions in preparationAndrew Tridgell1-0/+67
for adding LookupSids3 (needed for ACL editing from w2k3) (This used to be commit 745bbc0e1717c1e0068be00cff36071dbdc451a6)
2007-10-10r4432: - add srvsvc_NetShareInfo level 1006 and 1501 idlStefan Metzmacher1-6/+17
- implement srvsvc_NetGetShareInfo() - add more error checks - bring the rest of the code in the same layout metze (This used to be commit 0dd14d9fc611a33dad4e559321d6c50d82efb5d1)
2007-10-10r4426: fix same namesStefan Metzmacher1-12/+12
metze (This used to be commit 18bbe40fe1e400546ff3750213f6c0505895e357)
2007-10-10r4425: - move srvsvc and wkssvc server code to the new ↵Stefan Metzmacher1-3/+3
W_ERROR_HAVE_NO_MEMORY() macro - add parameters for server_info:platform_id = 500 /* this is PLATFORM_ID_NT */ server_info:version_major = 5 server_info:version_minor = 2 - implmented srvsvc_NetSrvGetInfo level 101 - make dcesrv_common_get_server_name() match w2k3 metze (This used to be commit 16f43207704397c6e3c0132e9f17c8a1a846ddca)
2007-10-10r4392: Fix samr_GetAliasMembership idlVolker Lendecke1-2/+2
(This used to be commit b0b9332519ab6461967a5fe10698dcf4e9950834)
2007-10-10r4375: Implement samr_OpenAlias, samr_QueryAliasInfo and samr_SetAliasInfo. ↵Volker Lendecke1-4/+10
Fix IDL for samr_SetAliasInfo. Volker (This used to be commit d70e2371903fb21e24ab2e23d04ee4b0b2ef55e5)
2007-10-10r4360: destroy the gensec contextStefan Metzmacher1-0/+1
metze (This used to be commit a25770983b34bac5bd7dcce69241716386dc8509)
2007-10-10r4358: At metze's request, the Christmas elves have removed gensec_end inAndrew Bartlett3-8/+9
favor of talloc_free(). Andrew Bartlett (This used to be commit 1933cd12fbaed56e13f2386b19de6ade99bf9478)
2007-10-10r4355: More work from the elves on Christmas eve:Andrew Bartlett1-15/+14
- 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-10r4338: reuse netlogon structs in the krb5 PACStefan Metzmacher1-63/+5
that simplifies the code a lot... also add a note: we should fail the krb5 auth if there's no PAC present (when heimdal is ready for that:-) metze (This used to be commit 532641a7003d23b034a253d166482f18c2de6191)
2007-10-10r4310: fixed the authority_name field in lsa_GetUserName()Andrew Tridgell1-1/+1
(This used to be commit f78506697ad23456fcac6e8916d0dad05b0df6cc)
2007-10-10r4309: idl and torture test for lsa_GetUserName()Stefan Metzmacher1-2/+10
why does samba3 return domain_name as in the unknown_name field in the code and on the wire it returns DCERPC_FAULT_OP_RNG_ERROR? all of my test machines NT4,W2K,W2K3,XP returned NULL and if I file the string in the .in.* the server echos the strings back and returns NT_STATUS_INVALID_PARAMETER metze (This used to be commit 67e765b7e984d7aac2a7786b5bd0c80d10d6de5d)
2007-10-10r4279: added IDL and test code for lsa_AddPrivilegesToAccount() and ↵Andrew Tridgell1-3/+13
lsa_RemovePrivilegesFromAccount() (This used to be commit 705b870c73995609c8d3ebb24418538bfe20c05b)
2007-10-10r4203: the bind_info blob isn't a const.Stefan Metzmacher1-17/+75
here's the idl to parse it, because we don't want the callers to manually de/encode this metze (This used to be commit 983f74c3651759991378b0d7b13b0952d77b3544)
2007-10-10r4195: added IDL, test suite and server side code for lsa_LookupPrivValueAndrew Tridgell1-8/+11
(This used to be commit 7bddd4740332017bb5f4bddcc9ba0234d05378bd)
2007-10-10r4181: use int32 for levelStefan Metzmacher1-2/+2
metze (This used to be commit 3a6047bc47671bfab14272dfa81f80f4457b209c)
2007-10-10r4178: the level is mostly singed not unsignedStefan Metzmacher1-1/+1
metze (This used to be commit 6411c00b3c2c4e11da2b41bfa53e0d42368e3e76)
2007-10-10r4176: I just remeber that I have already implement STR_CONFORMANTStefan Metzmacher1-2/+1
so use it in DsReplicaSync() metze (This used to be commit ca610da1fc3c059d35e17238e8cac5e5b38790c3)
2007-10-10r4175: InitiateSystemShutdownEx IDL and torture testJelmer Vernooij1-1/+7
(This used to be commit 3538130bf5d656ed4b0e2c84294e995814860e34)
2007-10-10r4174: nicer debug outputStefan Metzmacher1-1/+1
metze (This used to be commit 79bdcabcc57da9f7d01b09d3b33fe22770c6e7e8)
2007-10-10r4171: an attempt at better IDL for DsReplicaSyncAndrew Tridgell1-3/+4
(This used to be commit a4ebef4f53d0eb5aef1bc4ae76ac9ad66bf3b528)
2007-10-10r4168: Implement QueryValue in the serverJelmer Vernooij1-0/+7
IDL for NotifyChangeKeyValue (This used to be commit a40214243136ed5208a1bec494ad1fbf821524ba)
2007-10-10r4167: Fix CreateKeyJelmer Vernooij1-3/+2
Support CreateKey in the RPC registry backend (This used to be commit ad8d9e6f73619332d93c38a1879233e199e8ba25)
2007-10-10r4158: Fix IDL for InitiateShutdown and AbortShutdown and run both onlyJelmer Vernooij1-5/+5
when dangerous tests are enabled. (This used to be commit a763bd838558bdd7bcab3ca7ee91c1846d7a950f)
2007-10-10r4157: QueryMultipleValues IDL and torture testJelmer Vernooij1-2/+17
Initialisation data pointer in QueryValue torture test (This used to be commit 72618dfe95c785d3a3a71cc4a70b59696f2d418e)
2007-10-10r4156: GetKeySecurity() IDL and torture testJelmer Vernooij1-10/+4
(This used to be commit 1c49de51aeb6041a3b53b8da7dc8e2bcf089bfe0)
2007-10-10r4147: converted from NT_USER_TOKEN to struct security_tokenAndrew Tridgell1-45/+28
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-10r4139: 2nd attempt at fixing the null ptr in size_is() problem.Andrew Tridgell1-8/+2
(This used to be commit 3040cd65151dbcc54404f9be9d1fbcf539c7b635)
2007-10-10r4115: check for gensec errors before calling memcpy on a set of credentials,Andrew Tridgell1-0/+6
otherwise the creds structure might be invalid (This used to be commit 76285b3390f20366d53c7b2509ac07e1f88f7309)
2007-10-10r4114: added have_features bits to gensec schannel code. This fixes ourAndrew Tridgell1-0/+4
schannel code. I would also like to give a gentle reminder to everyone to please run the appropriate test scripts when you change a subsystem. It's a shame to have this test code and not use it, and it takes much longer for another developer to track down a bug in your new code than it would take for you fix to it at the time you first add it. - for rpc changes run test_rpc.sh - for CIFS changes run test_posix.sh - for ldb changes run test-tdb in lib/ldb/ (This used to be commit 0c58b254cabd236911021aff87c73183356fa8e3)
2007-10-10r4113: modified EnumValue in winreg to take advantage of the new pidl handlingAndrew Tridgell1-31/+19
of arrays. (This used to be commit b47e203a054e26d5d0c133a3c3b8d9502bd6ac69)
2007-10-10r4111: fixed winreg to use much simpler (and I believe correct) IDL for ↵Andrew Tridgell1-16/+8
QueryValue (This used to be commit 659d0295314c6a070698fc81223044f4d7366993)
2007-10-10r4110: fixed pidl to allow arrays to have size_is() and length_is() elementsAndrew Tridgell2-35/+110
that depend on variables that come after the array in the structure or function. This has been something that has been problematic for a while, but the winreg QueryValue problem finally prompted me to fix it properly. We should now go back and fix up all the ugly workarounds we have used to avoid this problem in other calls. Unfortunately the solution is fairly complex, and involves the use of the internal ndr token lists (similar to the solution for relative pointers). I wonder if anyone else will be able to follow the logic if I get run over by a bus :-) (This used to be commit e839b19ec5581f669f2a7705b1fb80845313251c)
2007-10-10r4105: Fix IDL for QueryValue() and add a torture test for it.Jelmer Vernooij1-8/+7
Thanks to Michael Allen for some hints on what was wrong with the previous IDL. (This used to be commit 0fa6d847433eb281eaff15b8be4a26f898689f0a)
2007-10-10r4102: more uint64 vs HYPER_T fixesStefan Metzmacher4-14/+20
NOTE: [u]int64 uses 4 Byte alignment and HYPER_T uses 8 Byte alignment metze (This used to be commit 717454eb2fd2bf90e67074acefdae5304cd7433f)