summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r626: make the code a bit more readableStefan Metzmacher1-151/+151
metze (This used to be commit 81b94718e4145a53947d401c4b4b88b71c71e4a4)
2007-10-10r625: - handle passwords longer than length 14 (thanks to abartlet for ↵Andrew Tridgell2-44/+82
pointing out the bug) - delete unicodePwd if not storing a plaintext password (This used to be commit 6c3f22a685c55f183f4e0e4303e3d9990f4b39b5)
2007-10-10r624: all templates should be in class TemplateAndrew Tridgell1-0/+2
(This used to be commit 0431d309037e97456895095f8e0a44b71de1454e)
2007-10-10r623: setUserInfo level 24 (password set) now works in the SAMR server. This ↵Andrew Tridgell7-15/+354
includes all of the password complexity, password history and other password restrictions. (This used to be commit cb070b9084d95cf5178edbef951b75eab62b7220)
2007-10-10r622: removed some unused functions to make smbd compile again afterAndrew Tridgell1-169/+0
andrew's recent chainsaw job :) (This used to be commit 20166f4e19a599a85dfff045a738309d191db9e7)
2007-10-10r620: Remove more ununsed code.Andrew Bartlett3-127/+1
Andrew Bartlett (This used to be commit 795ace17a8905f495e9e191ffbd559927894941b)
2007-10-10r619: Remove more code that is no longer called.Andrew Bartlett2-57/+0
Andrew Bartlett (This used to be commit 4e614cbe922ddc591b17b2357e17eff8ce1d546c)
2007-10-10r617: Sync some minor updates with repository:Tim Potter1-7/+81
- start handing idl string types - comments - generate field types - code to select field types and bases (This used to be commit 3d4148c07c46d5d99bd91e1985540cc4e59db2bc)
2007-10-10r615: Implement samr_OpenGroup, samr_QueryGroupInfo, samr_SetGroupInfo,Volker Lendecke3-50/+243
samr_DeleteDomainGroup. I've added the hidden attribute numMembers that must be maintained by Add/DelGroupMember for the GroupInfoAll query. Volker (This used to be commit 945d7478605c1bd67e4162ebb0635ab7da11faaf)
2007-10-10r614: Clean out the POSIX assumptions from the Samba4 auth subsystem.Andrew Bartlett5-257/+2
This removes the code that tried to lookup posix groups, as well as the code that was tied to the SAM_ACCOUNT. This should make auth_ldb much easier to write :-) Andrew Bartlett (This used to be commit e096ee2112adecaa69b6b3eb155a4e8f80dfc0f7)
2007-10-10r613: Fix the RPC-SAMR torture test, for my session_key changes.Andrew Bartlett1-16/+18
Andrew Bartlett (This used to be commit a04b074c049db832f4c02a35d951d40875fce6d1)
2007-10-10r612: fixed a timezone call typo noticed by abartletAndrew Tridgell1-3/+3
(This used to be commit 329c5ccd74680381b30c4a2235010c766ac46ecc)
2007-10-10r611: Fix breakage from my last commit:Andrew Bartlett2-10/+10
Now that all session keys are DATA_BLOBs, fix the callers. This assumes some things about the behaviour of certain crypto algorithms, without the ability to test it on session keys != 16 bytes in length. We will just need to retest when we get the KRB5 support in (DES keys are 8 bytes). Andrew Bartlett (This used to be commit e4355a7ec1eba92bdecef8cc478272897276dbae)
2007-10-10r610: - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.Andrew Bartlett17-141/+778
- 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-10r609: allow ldbedit to take a list of attributes to edit, just likeAndrew Tridgell1-2/+9
ldbsearch. This allows you to edit the description of all users using something like: ldbedit 'objectclass=user' description and not get overwhelmed with fields. It also allows you to edit HIDDEN attributes by specifying them explicitly (This used to be commit dd83d39de23cdf8c574005829972dae8dc6bee6a)
2007-10-10r608: - a couple of very minor fixes to the CreateGroup codeAndrew Tridgell2-11/+49
- added samr_GetUserPwInfo() samr server call (This used to be commit 0250f5d6aaf4f9325ace707c69f5e24bcd7a0ed9)
2007-10-10r607: When our code is looking for an 'empty' data blobAndrew Bartlett1-0/+1
some of it tests the .length, other code checks the .data. Ensure that we always NULL the .data, so that talloc-based blobs behave just like their direct malloc equivalents. Andrew Bartlett (This used to be commit 64121aa1a9d037d3969f24be62f4521611c89888)
2007-10-10r606: added a HIDDEN attribute on fields in ldb (in @ATTRIBUTES). This ↵Andrew Tridgell3-0/+6
allows you to mark an attribute as only appearing in searches that explicitly name it. It will be used for attributes like nTSecurityDescriptor (This used to be commit f5cd3d733b71368ea652f8a4d653d87f45ff983f)
2007-10-10r605: Implement CreateDomainGroup, essentially cut&paste from CreateUser2.Volker Lendecke3-12/+146
Volker (This used to be commit 59241c0c9aa2d64d66eb04e81aa5500681604061)
2007-10-10r604: Better dumping of in,out,ref properties.Tim Potter1-0/+12
(This used to be commit 209f5a25a950e8780e9512b71fbb12b1cdbe1a17)
2007-10-10r602: Autogenerated packet-dcerpc-samr.c now compiles!Tim Potter2-8/+148
(This used to be commit 0c1069b56e7c80e2b428f6a6b550eacd5ac3d762)
2007-10-10r601: added the server code for all the samr_SetUserInfo and ↵Andrew Tridgell6-55/+400
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-10r600: Get rid of trailing whitespace which freaks out emacs' fontification.Tim Potter1-6/+6
(This used to be commit d0383e9a7a0a5bee9a52ddc81d5f89c9f01c269b)
2007-10-10r597: Start generating parser code - only supports uint16, uint32 and policyTim Potter1-229/+61
handle types. (This used to be commit 1e02ccd94edc87f4107d21f7f778f1a88c9e197d)
2007-10-10r596: log all ldb searches at level 4 in samdbAndrew Tridgell1-0/+2
(This used to be commit defaf0d817a7c207da59692245aa65bc30c9bd19)
2007-10-10r595: nicer handling on max_size multiplierAndrew Tridgell1-2/+3
(This used to be commit 994baba7ebc267cb3051109aee022d71472aa6b6)
2007-10-10r594: - make sure all users in the domain have the same base sid!Andrew Tridgell1-2/+11
- added proper ldap time construction to provisioning (This used to be commit 0f12584b4b1b90aa20c6a4a5199829b5beba2a1d)
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-10r591: don't need to init non-ref out ptrs (thanks to abartlet for spotting this)Andrew Tridgell1-2/+0
(This used to be commit 3ac0cff83752b98ee7b8af7f4f9a33ffe9ae05e7)
2007-10-10r589: Fix IDL dump module so --dump and --diff options to pidl.pl workTim Potter1-23/+62
again. Still a few problems left though. (This used to be commit e921a5879f8a5a867dce61e684a0010a5dab9472)
2007-10-10r587: added server code for samr_EnumDomainUsers, and started addingAndrew Tridgell4-10/+293
samr_SetUserInfo and samr_QueryUserInfo (This used to be commit e0db9659a85b59e52fbe033a94b411d6c64d9f9c)
2007-10-10r586: removed --clientfns from build_idl.sh (tim removed that code from pidl)Andrew Tridgell1-1/+1
(This used to be commit d1dcde1d913803a44b07a1937262ae627680072c)
2007-10-10r583: fixed two bugs in the handling of index entry deletionAndrew Tridgell2-8/+13
(This used to be commit 7b5f3370e6c078bf506ac3eb24fb330d4aee7688)
2007-10-10r582: added the LMSessKey in SamInfo and SamInfo2, thanks to work by abartletAndrew Tridgell2-17/+29
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-10r578: initial server side implementation of samr_CreateUser(),Andrew Tridgell5-102/+666
samr_CreateUser2(), samr_LookupNames(), samr_OpenUser(), and samr_DeleteUser() this uses a user template in the SAM db, of objectclass "userTemplate" and dn CN=TemplateUser,CN=Templates,$BASEDN. Using a template allows an admin to add any default user attributes that they might want to the user template and all new users will receive those attributes. (This used to be commit 10b6e0011b5952c98432dc2d4b2058ac89a9cc2d)
2007-10-10r577: extended the LookupNames test to check for correct handling of ↵Andrew Tridgell1-5/+21
unmapped names (This used to be commit e3b31625f476cb1b8a4d5003dee2c574582c9b46)
2007-10-10r576: added a ldap_timestring() function (needed for fields like whenChanged ↵Andrew Tridgell1-0/+19
in SAM db) (This used to be commit b2a63555189fea41184a2cac796945bca4e98995)
2007-10-10r575: moved the SID_NAME_USE enum into samr.idlAndrew Tridgell2-13/+14
(This used to be commit 2cb06b39d91ef18b21c18e9376ccbd8076aeecf8)
2007-10-10r574: - another attempt at const cleanliness in ldbAndrew Tridgell13-37/+111
- fixed a problem with searching for values containing an '=' sign - fixed the semantics of attempting an attribute deletion on an attribute that doesn't exist. - added some more ldb_msg_*() utilities (This used to be commit 62b4ec367d170330d837b0f1fe5cd13205a53b59)
2007-10-10r550: Remove clientfns.pm module - it was a bad idea.Tim Potter3-137/+2
Start to resurrect eparser.pm for auto-generating ethereal dissectors for rpc. (This used to be commit 993a18dd35fb0b09c088eb2bb38d3e14ff755130)
2007-10-10r549: added support for DOS error codes in NTSTATUS returns. This uses aAndrew Tridgell3-2/+25
range of NTSTATUS codes that are normally invalid to prevent conflicts with real error codes. use the new DOS facility to fix the ERRbaduid return that volker found (This used to be commit 10fdfb52398857b604fff9684ee65a96d970bdaa)
2007-10-10r514: added a context pointer to the samdb interface, as suggested byAndrew Tridgell2-43/+138
metze. Also added a reference count so that a client can close the connection handle and still used a derived domain handle. (This used to be commit b1cd98188d6f1f8236f5dbc7a3605a39ae27fb73)
2007-10-10r513: added a generic ldb debug system to allow the Samba debug functions toAndrew Tridgell14-10/+171
be cleanly interfaced to ldb (This used to be commit 74b89d5f960d6b936751e3f057b4540eb80b79cd)
2007-10-10r511: fix some const handlingAndrew Tridgell1-3/+3
(This used to be commit be94cc4032b23fd99823902ddcd1472a72314a88)
2007-10-10r510: converted the samdb code to give ldb a talloc context rather than ↵Andrew Tridgell2-37/+86
letting ldb use malloc (This used to be commit a3edd4bca8769cd804a5908286c7a18ca5c8fa00)
2007-10-10r509: fixed a memory handling bug that affects ldb with memory pools thatAndrew Tridgell1-1/+6
change with each request (This used to be commit 18695cefa16b867427e3ca2fb0d787d850ea25c3)
2007-10-10r508: fixed a place where we used free() on memory from a talloc(). The newAndrew Tridgell1-2/+1
talloc code catches errors like this. (This used to be commit 22aa425c96030f55f6202bca1e1a876b0bc03f03)
2007-10-10r507: the new ldb code will use talloc_free() a lot, so I have madeAndrew Tridgell1-137/+151
talloc_free() O(1) in preparation. This also halves the number of malloc() calls and increases our internal consistency checking, without breaking valgrind testing. (This used to be commit 2331d4e76e40ff08215853f747f7063213ac92ce)
2007-10-10r506: got rid of unused function secrets_get_trusted_domains()Andrew Tridgell1-132/+0
(This used to be commit bb74a94e2610620987a44ab7289115a8ee361529)
2007-10-10r504: fixed a bad call to list_union()Andrew Tridgell1-2/+3
(This used to be commit 4404056cd5fd65d72a38ea474fe330281b3ee19e)