summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/samr.idl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1025: Rename (across the samr and netlogon pipes, so far)Andrew Bartlett1-27/+27
pwd -> password passwd -> password username -> account_name Also work on consistant structure feild names between these two pipes, and fix up some callers to use samr_Password for the netlogon credential code. Andrew Bartlett (This used to be commit 4e35418c2776f7b79be5b358ffd077754685d1ac)
2007-10-10r1009: Make all users of NT and LM passwords use the samr_Password structure.Andrew Bartlett1-16/+12
This includes the netlogon pipe, for the machine account password change system. Andrew Bartlett (This used to be commit 49d545a82057ee8b60d50aa55e908efe59875150)
2007-10-10r963: Tridge, according to ethereal this is an 'Acct Ctrl' field. My tests alsoVolker Lendecke1-1/+1
indicate this although I could not find any consistent pattern. I found this as 'net rpc group list local' in Samba3 sets this to 250 and only gets a fixed, but incomplete list of groups out of W2k3. I tried to correlate the results I got from w2k3 with the LDAP contents of the corresponding entries, but I could not find anything. Ethereal only decodes the lower byte, but to get all it seems necessary to have 0xffff here. If you have time, could you might want to spend some of it decoding the bits for SAMR completeness.... Volker (This used to be commit 74e59c45603a9f897a24e37fc7626cf8ffc81403)
2007-10-10r937: - added a simple QuerySecurity implementation in samr serverAndrew Tridgell1-1/+2
- moved some sec desc defines into misc.idl - fixed pw_len field in UserInfo26 - made some pipes available on TCP - added netr_DsrEnumerateDomainTrusts() to netlogon - added templates for remaining netlogon IDL calls (from ethereal) - added a unistr_noterm vs unistr error detector in ndr basic decoder - added torture test for netr_DsrEnumerateDomainTrusts() (This used to be commit ae5a5113fb83640dcb9ae4642c1b9eaf28487956)
2007-10-10r917: - added the start of a LSA server to samba4.Andrew Tridgell1-0/+8
- added start of QueryDomainInfo in samr server "net rpc info" from samba3 now works against a samba4 server. I suspect join will work fairly soon. (This used to be commit 0a2c6a1062d0e364356853001f5f39bdb542f453)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-6/+11
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
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-10r575: moved the SID_NAME_USE enum into samr.idlAndrew Tridgell1-0/+12
(This used to be commit 2cb06b39d91ef18b21c18e9376ccbd8076aeecf8)
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-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-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-10r358: added some more annotation on the samr unknown attributesAndrew Tridgell1-6/+9
(This used to be commit a946315193443feab786a588f371ad2a560327d4)
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 Tridgell1-6/+48
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-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-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-10r275: added IDL and test code for samr_QueryDisplayInfo3(),Andrew Tridgell1-6/+43
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)
2003-12-19addition of samr_SetSecurity() from kaiAndrew Tridgell1-4/+9
we needed to adjust the alignment of [relative] buffers for this to work. I wonder if they are always 4 byte aligned? (This used to be commit 9cd0a0b8b976e62c6da71b7e55cba5b38483620d)
2003-12-19added a bunch of alias functions in samr.idl based on work by Kai.Andrew Tridgell1-32/+62
(This used to be commit f740b02ac36780740700909da2bcdf672cb146cb)
2003-12-03My first stab at Samba4 IDL!Andrew Bartlett1-1/+11
This patch adds the samr_CreateUser2 function, which is create_user in Samba 3.0. This also adds a torture suite that checks for various valid and invalid account flags, and that they are persistant. Also, a patch by Anthony Liguori to fix the build Andrew Bartlett (This used to be commit 53e657b74572ab329d4598a85e6989547c324209)
2003-12-02added netr_DatabaseSync(). It doesn't work as I haven't done schannelAndrew Tridgell1-14/+4
yet, but at least the request is understood by w2k3 Also modified pidl to allow multiple branches in a union to have the same element. This is used in netlogon. (This used to be commit 983c0e9683fa9666a6e055d1776ebeef8cd2e700)
2003-12-01added netr_LogonSamLogon() and test codeAndrew Tridgell1-2/+1
(This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b)
2003-11-23 * better diagnostics in ndrdumpAndrew Tridgell1-1/+5
* added samr_Connect2() (This used to be commit 6b262ca37ca3fc0e3210b4379b2d9e46e1a2d336)
2003-11-23fixed the handling of value() attributes on scalars in IDL thatAndrew Tridgell1-1/+1
reference other elements of the same structure (This used to be commit d8d17be290730670bad0fea91188d394160cb879)
2003-11-22added support for enumerated types in IDL files. This makes unionsAndrew Tridgell1-4/+11
easier to work with. (This used to be commit 60be15d306e7b65efdd27df02250c0264996ccf3)
2003-11-22added support for 'const' in IDL files. This makes it easy to defineAndrew Tridgell1-8/+8
symbolic names for bitfields etc. (This used to be commit 344a6e1682cc1afab24735e73d05cf15f6eb9816)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell1-5/+5
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell1-3/+21
interface. We now support an arbitrary set of flags to each parser, and these can be used to control the string types. I have provided some common IDL string types in librpc/idl/idl_types.h which needs to be included in every IDL file. * added IDL for the endpoint mapper. Added a test suite that enumerates all endpoints on the server. (This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21added 4 more levels to samr_QueryDisplayInfo()Andrew Tridgell1-5/+38
(This used to be commit f4cc593a5c7d75adaced2c33dd83c2ec741751be)
2003-11-20Todd Sabin pointed out that a couple of the values I marked as hyper_tAndrew Tridgell1-3/+10
are in fact 4 byte aligned. Create a ULONG8 type in samr for those. This type should probably be made global later. (This used to be commit e7dd116138ed21922c8578bebe0452f03221b3b7)
2003-11-20added samr_QueryDisplayInfo() (only level 1 so far)Andrew Tridgell1-1/+29
(This used to be commit 8601305c8100f03ffaee4754eae12e9b332508a4)
2003-11-20extensive samr_SetUserInfo/samr_QueryUserInfo testing, withAndrew Tridgell1-5/+5
cross-checking of all settable fields (This used to be commit 3337906d52e95c127d64f81f9fc99aeb8a8d1ce6)
2003-11-20 * fixed level2 of QueryUserInfoAndrew Tridgell1-2/+1
* added per-field testing of SetUserInfo * fixed strlen_m() (This used to be commit 26238b0f8a5752bb0f611c4aa492b964e419209a)
2003-11-20started on samr_SetUserInfo()Andrew Tridgell1-3/+8
cope with the 'samrtorturetest' user already existing in the samr test (to cope with previously failed runs) (This used to be commit 47128b3d50b3481175a8b2580624316a4f7677db)
2003-11-20added samr_LookupRids() and test codeAndrew Tridgell1-1/+14
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
2003-11-20added samr_LookupNames() and test codeAndrew Tridgell1-4/+11
(This used to be commit f8397cbc8554b721093b8ae6ac6fb26d0ee9a7cf)