summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r610: - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.Andrew Bartlett5-31/+17
- This required using NETLOGON_NEG_AUTH2_FLAGS for the SetupCredentials2 negotiation flags, which is what Samba3 does, because otherwise the server uses different crypto. - This tests the returned session keys, which we decrypt. - Update the Samba4 notion of a 'session key' to be a DATA_BLOB in most places. - Fix session key code to return NT_STATUS_NO_SESSION_KEY if none is available. - Remove a useless argument to SMBsesskeygen_ntv1 - move netr_CredentialState from the .idl to the new credentials.h Andrew Bartlett (This used to be commit 44f8b5b53e6abd4de8a676f78d729988fadff320)
2007-10-10r601: added the server code for all the samr_SetUserInfo and ↵Andrew Tridgell1-3/+18
samr_QueryUserInfo levels except for the password set levels. This means that a large part of the RPC-SAMR torture test now runs correctly against Samba4 (This used to be commit ec0a51898f543578e755207d81ed5c1524861c64)
2007-10-10r593: add a constant for the records size multiplier for max_size in ↵Andrew Tridgell1-0/+2
samr_EnumDomainUsers (This used to be commit 252b11112ce22152de3d53d0ba657879346ff243)
2007-10-10r587: added server code for samr_EnumDomainUsers, and started addingAndrew Tridgell1-0/+4
samr_SetUserInfo and samr_QueryUserInfo (This used to be commit e0db9659a85b59e52fbe033a94b411d6c64d9f9c)
2007-10-10r582: added the LMSessKey in SamInfo and SamInfo2, thanks to work by abartletAndrew Tridgell1-3/+11
added test code for SamLogon validation level 2 and 3, so we test both SamInfo and SamInfo2 (This used to be commit 321dbb61cc0743379ceb6b8fff6a0ca37f308bc2)
2007-10-10r575: moved the SID_NAME_USE enum into samr.idlAndrew Tridgell1-0/+12
(This used to be commit 2cb06b39d91ef18b21c18e9376ccbd8076aeecf8)
2007-10-10r511: fix some const handlingAndrew Tridgell1-3/+3
(This used to be commit be94cc4032b23fd99823902ddcd1472a72314a88)
2007-10-10r469: considerably improved the ChangePasswordUser3() IDL thanks to an idea ↵Andrew Tridgell1-6/+13
from abartlet (This used to be commit 5f30c3b077b59fc7ec40644e3af7236292100c6b)
2007-10-10r464: a big improvement to the API for writing server-side RPCAndrew Tridgell1-28/+28
servers. Previously the server pipe code needed to return the RPC level status (nearly always "OK") and separately set the function call return using r->out.result. All the programmers writing servers (metze, jelmer and me) were often getting this wrong, by doing things like "return NT_STATUS_NO_MEMORY" which was really quite meaningless as there is no code like that at the dcerpc level. I have now modified pidl to generate the necessary boilerplate so that just returning the status you want from the function will work. So for a NTSTATUS function you return NT_STATUS_XXX and from a WERROR function you return WERR_XXX. If you really want to generate a DCERPC level fault rather than just a return value in your function then you should use the DCESRV_FAULT() macro which will correctly generate a fault for you. As a side effect, this also adds automatic type checking of all of our server side rpc functions, which was impossible with the old API. When I changed the API I found and fixed quite a few functions with the wrong type information, so this is definately useful. I have also changed the server side template generation to generate a DCERPC "operation range error" by default when you have not yet filled in a server side function. This allows us to correctly implement functions in any order in our rpc pipe servers and give the client the right information about the fault. (This used to be commit a4df5c7cf88891a78d82c8d6d7f058d8485e73f0)
2007-10-10r420: added nicer names for the field bits in userinfo21Andrew Tridgell1-2/+14
added tests for the level 23 and 25 password change methods (This used to be commit d49f7a6a0d1895de3d654a5b46c6aec3a57fde76)
2007-10-10r392: added IDL for 3 more netlogon Delta levels, thanks to a dump from ↵Andrew Tridgell1-5/+21
Richard Renard (This used to be commit 2d8772ec9607c4e06bbc559b35979e27d4b988d9)
2007-10-10r390: added my best guess for how session keys are supposed to work when youAndrew Tridgell4-5/+34
use NTLMSSP sign or seal at the RPC layer It doesn't work yet, but then again neither does the old code (which just assumed the SMB session key was used, which of course makes no sense on a ncacn_ip_tcp connection) (This used to be commit e8782329269bc78d36d8ca83fb7a4e38b9c6b167)
2007-10-10r388: added IDL for 3 more set user info levels (all of which set theAndrew Tridgell1-0/+22
password). That makes 8 ways to change a password just on the SAMR pipe! Thanks to Luke Howard from PADL for this. (This used to be commit c8a49a7e004468d13f656f67eac4b7b4e1759022)
2007-10-10r365: improved the IDL for samr_Connect5()Andrew Tridgell1-11/+16
(This used to be commit 4b4f025504cb5b92c8b119259f1df622cd72ec7c)
2007-10-10r364: finally worked out the ancient samr_ChangePasswordUser() interfaceAndrew Tridgell1-15/+12
yay! (This used to be commit 0221566cf5ff7dc5ce0de9af451b935ed8615f4e)
2007-10-10r359: moved the share type definitions to srvsvc.idlAndrew Tridgell1-0/+8
I'd like to see more protocol defininitions in the IDL files and less in smb.h where possible. (This used to be commit 854b875bbe447955fb0c3876f046931d0bfde06c)
2007-10-10r358: added some more annotation on the samr unknown attributesAndrew Tridgell1-6/+9
(This used to be commit a946315193443feab786a588f371ad2a560327d4)
2007-10-10r354: Tridge convinced me that writing some wrapper functions by hand was aTim Potter2-400/+1
bad idea. (This used to be commit 6eb0b17015071790fb0108b140936ac81f4c7f92)
2007-10-10r336: added a -X command line option to smbtorture to enable dangerous orAndrew Tridgell1-2/+13
possibly destructive tests. Use with care! Added IDL and test code for samr_Shutdown() and samr_SetDsrmPassword() (This used to be commit 84de0b7e58c69e0817b9d475de0895a54cc95927)
2007-10-10r335: added much better handling of servers that die unexpectedly during aAndrew Tridgell3-14/+72
request (a dead socket). I discovered this when testing against Sun's PC-NetLink. cleaned up the naming of some of the samr requests add IDL and test code for samr_QueryGroupMember(), samr_SetMemberAttributesOfGroup() and samr_Shutdown(). (actually, I didn't leave the samr_Shutdown() test in, as its fatal to windows servers due to doing exactly what it says it does). (This used to be commit 925bc2622c105dee4ffff809c6c35cd209a839f8)
2007-10-10r327: fixed an uninitialised variable found by valgrindAndrew Tridgell1-0/+1
(This used to be commit 10844cf925d6a8164191a6dbbcaacc7bf8179933)
2007-10-10r326: tweaks to the RPC-SAMR test code to allow win2003 to pass the test ↵Andrew Tridgell1-2/+2
(for example, not filling in extra fields in level21 setuserinfo) (This used to be commit d06ed158f9aef94159bfc09065ca5ad0c4c99de3)
2007-10-10r325: added IDL and test code for samr_ChangePasswordUser3().Andrew Tridgell1-1/+12
Also added much better handling of random password generation in the password change test code (This used to be commit 67ae0b2a9851c1e77fdaa9f317a83bd54950618f)
2007-10-10r310: add missing ','Stefan Metzmacher1-1/+1
metze (This used to be commit d0aa749667cf0d9e7c290982d2b4232c27ced706)
2007-10-10r307: added IDL and test code for samr_GetDomPwInfo(), samr_SetUserInfo2(),Andrew Tridgell1-5/+31
samr_GetBootKeyInformation() and samr_Connect3() also added some stub IDL for samr_SetBootKeyInformation() although I don't yet have working test code. This one is tricky, as if you get it wrong then the target system won't boot any more :) (This used to be commit 118b6fc292ba3257511b1b83846582013fb59b23)
2007-10-10r306: added another define for a DCERPC fault codeAndrew Tridgell1-0/+1
(This used to be commit 3c8d580d2c2ae528c5725145d81761296b8be04d)
2007-10-10r305: - added IDL and test code for samr_RidToSid()Andrew Tridgell1-5/+15
- completed the IDL and test code for the various set user password mechanisms in samr. Three password mechanisms are now working, the UserInfo24 method, the OemChangePasswordUser2() method (which only sets the LM password) and the ChangePasswordUser2() method which sets both the LM and NT passwords. - updated some crypto routines to support the password change tests (This used to be commit 051efa2abf9d1fbbf783df411c02f2714027f813)
2007-10-10r295: more correct IDL for the netr_AcctLock structure (I hope)Andrew Tridgell1-7/+8
(This used to be commit b10127800a3101769241abf42ed76cbddf71a5fa)
2007-10-10r287: patch from Richard Renard to add AcctLockStr and the delete user andAndrew Tridgell1-38/+81
delete group levels of Deltas also reworked the Deltas IDL to use an enum to make it a little clearer (This used to be commit cabf93f8c8f5ad0f6f348e0f7e206b952690995c)
2007-10-10r275: added IDL and test code for samr_QueryDisplayInfo3(),Andrew Tridgell3-8/+67
samr_AddMultipleMembersToAlias(), samr_RemoveMultipleMembersFromAlias(), samr_OemChangePasswordUser2(), and samr_ChangePasswordUser2() The password change functions don't actually work yet (but should soon). At this stage I have just completed the IDL for them. Next step is to get the hash verifiers right and the torture test should be able to do password changes. (This used to be commit 849d0d314a2add80f2b2be6b503fea05973f998e)
2007-10-10r268: added IDL and test code for samr_QueryDomainInfo2(),Andrew Tridgell1-4/+43
samr_QueryUserInfo2(), samr_QueryDisplayInfo2() and samr_GetDisplayEnumerationIndex2() (This used to be commit fddda52500d482bde79994c14a0a822a1d305ac3)
2007-10-10r267: added IDL and test code for samr_ChangePasswordUser(),Andrew Tridgell1-6/+64
samr_GetDisplayEnumerationIndex(), samr_TestPrivateFunctionsDomain(), samr_TestPrivateFunctionsUser() and samr_RemoveMemberFromForeignDomain() (This used to be commit 53c66708874f9f8e7868530cd2a780160e2eca01)
2007-10-10r259: added samr_DeleteGroupMember() IDL and test codeAndrew Tridgell1-1/+4
(This used to be commit 747351140b839879abe1a79a005d81ca4b35a658)
2007-10-10r258: added samr_AddGroupMember() IDL and test codeAndrew Tridgell1-1/+5
(This used to be commit 0b8203306d9eb61aaec9549d56c40831fcd091c3)
2007-10-10r257: added samr_SetGroupInfo() IDL and test codeAndrew Tridgell1-1/+5
(This used to be commit fe1fc81ba76515b79069881d2d62f60201314d04)
2007-10-10r256: added samr_CreateDomainGroup() and samr_DeleteDomainGroup() IDL and ↵Andrew Tridgell1-2/+11
test code (This used to be commit 46185a71ba0e06544cacf117654e4dbf39385378)
2007-10-10r255: added samr_SetDomainInfo IDL and test codeAndrew Tridgell1-1/+10
(This used to be commit 9f12fb39dbac886582d0ccce418491522c042fe6)
2007-10-10r210: More work on DCERPC client functions:Tim Potter1-3/+318
- implement lsa_LookupNames, lsa_LookupSids and lsa_Close - add stubs for remaining functions from idl - fix lsa_OpenPolicy and lsa_OpenPolicy2 to use a temporary talloc context for the rpc call (This used to be commit f8c41bd5216be4a4e657ee5081df60aab5a5d02c)
2007-10-10r199: More registry rpc updatesJelmer Vernooij1-1/+1
(This used to be commit 02ddf78e5563b15cb45ae4bc6234469be0dc0210)
2007-10-10r190: More RPC updatesJelmer Vernooij1-1/+14
(This used to be commit 0a67057e9626c1539f964e978537e24544784263)
2007-10-10r165: Add support for viewing registry values in gregeditJelmer Vernooij1-1/+3
(This used to be commit 1d8a6d762aa4dab54bb58959cb1e7957a76e5b6e)
2007-10-10r152: a quick airport commit ....Andrew Tridgell2-2/+1
added ldbedit, a _really_ useful command added ldbadd, ldbdel, ldbsearch and ldbmodify to build solved lots of timezone issues, we now pass the torture tests with client and server in different zones fixed several build issues I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that fix. (This used to be commit af34710d4da1841653624fe304b1c8d812c0fdd9)
2007-10-10r132: fill in the correct default case for the WKSSVC GetInfo callAndrew Tridgell1-0/+1
(This used to be commit 117a82ada32919a91f3bba9c00236fc0112b230c)
2007-10-10r128: Another registry update. Changes:Jelmer Vernooij1-5/+30
- Start with the LDB backend - The API is now more windows-like, which should make it easier to use in rpc_server - Added a GTK+ front-end - Added some more IDL More updates will follow, especially in the RPC field.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)
2007-10-10r101: added lsa_SetSecret() and lsa_QuerySecret()Andrew Tridgell2-2/+45
this required some crypto infrastructure and some sid utilities (This used to be commit 37d0efa9c2af8532536bea88412f0dd3ed39ecfc)
2007-10-10r62: Fix the buildJelmer Vernooij1-1/+1
(This used to be commit 1396db85372af1824592ef66f963603e3f35803c)
2007-10-10r46: Add CreateKey function (still working on it)Jelmer Vernooij1-0/+8
(This used to be commit 9f13b7c60cc7e6edd095eee96625ee02cd0dd73b)
2007-10-10r42: importing .cvsignore filesGerald Carter2-4/+0
(This used to be commit 11717ae912449bde596ff6cf7d8fddcc86548f15)
2007-10-10r31: More registry updates. regdiff/regpatch work now.Jelmer Vernooij1-14/+1
(This used to be commit 98224f5436695eb265f5d997cf4bc9cf735a4fb9)
2004-04-03added IDL and test for lsa_OpenSecret()Andrew Tridgell1-1/+8
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)