summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r503: we don't need to include ldb_parse.h any moreAndrew Tridgell1-1/+0
(This used to be commit 85e57684b4dc4edcfd6d4cd1492d63810f8ce211)
2007-10-10r502: modified ldb to allow the use of an external pool memoryAndrew Tridgell25-492/+693
allocator. The way to use this is to call ldb_set_alloc() with a function pointer to whatever memory allocator you like. It includes a context pointer to allow for pool based allocators. (This used to be commit 3955c482e6c2c9e975a4bb809ec8cb6068e48e34)
2007-10-10r491: regtree and gregedit also depend on LIBCMDLINE (popt stuff)Stefan Metzmacher1-4/+4
metze (This used to be commit ace939a5882bd35295246b5816a3344f70d20e29)
2007-10-10r490: - expanded the test suite to test modify and delete operationsAndrew Tridgell13-41/+222
- made yet another attempt to make ldb const clean. - "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility with and without indexing - added prototypes in ldb.h for ldb_msg_*() public functions (This used to be commit 01e87406768cb5a98ac8530a2f361a4987a36cd3)
2007-10-10r476: i forgot the argument to get_time_zone()Andrew Tridgell1-1/+1
(This used to be commit 34ff18839c97dbb77c76097b4484ebec398da192)
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-10r468: fixed timegm() on broken systemsAndrew Tridgell1-1/+5
(This used to be commit a3d639d04ff25deabd299ea24917adde9192ed38)
2007-10-10r467: hopefully get the buildfarm compiling fine now...Stefan Metzmacher5-10/+13
metze (This used to be commit d15f0e18bb43608c611cfe78fc79db9ee10e1eb2)
2007-10-10r466: implemented samr_OpenDomain() and samr_GetDomPwInfo() server side callsAndrew Tridgell2-10/+116
if you take a look at samr_GetDomPwInfo() then you will get a fairly good idea of what I am planning for the database oriented SAMR server implementation. (This used to be commit bba0044a514cf86cbcf14bc82dd6c49808c22dab)
2007-10-10r465: we need common.h in two more rpc server pipesAndrew Tridgell2-0/+2
(This used to be commit d96b68169a5ab46cc0550732d4fe94af75e06fd6)
2007-10-10r464: a big improvement to the API for writing server-side RPCAndrew Tridgell11-594/+521
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-10r463: build ldb with debugging when standaloneAndrew Tridgell1-1/+1
(This used to be commit 77269e7ad6f569585d5fad37ee63169c4eee3f01)
2007-10-10r462: added an explanation about the rather complex ltdb_key() functionAndrew Tridgell1-0/+9
(This used to be commit 894e44022d16d9ff43f421fb15495845710000ab)
2007-10-10r459: added an initial provision.ldif - this is temporary, and needs to beAndrew Tridgell1-0/+734
replaced with a more sophisticated provisioning system (This used to be commit 86604bef236568028e84e6b1e8d935c3cfd70112)
2007-10-10r458: this is the (very primitive) beginnings of a SAMR server forAndrew Tridgell5-1/+1235
Samba4. I'm committing this now so I can get comments on the approach. Note that you need to do something like this to initialise the SAM db: edit script/provision.pl script/provision.pl > provision.ldif.out bin/ldbadd /path/to/private/sam.ldb provision.ldif.out (This used to be commit e2002e40a5abe0cd33a2056b1da8ba5732f9021f)
2007-10-10r457: added some more samr tests to help me work out the right error codesAndrew Tridgell1-1/+27
in our new samr server (This used to be commit 0f2503111498e809237e0155962db55dfde8cbfb)
2007-10-10r456: - added -i option to ldbsearchAndrew Tridgell7-49/+75
- fixed sorting bug in ldb index handing (This used to be commit cdd48e2b9b3ca6be5503eec401e09db162408ac8)
2007-10-10r454: allow a non-URL form of a filename to be used in ldb_connect(). ThisAndrew Tridgell2-6/+10
makes it a little easier to work with the ldb tools (This used to be commit 03df31cef025b2087531579437d6bae1ec36e82f)
2007-10-10r453: added a comment about indexing on objectclassAndrew Tridgell1-1/+4
(its usually a bad idea) (This used to be commit f88760c3cc81324d3d339702b411603139af6224)
2007-10-10r452: move from first-fit to best-fit in tdb record allocation. For aAndrew Tridgell1-48/+97
situation where we are continually increasing the size of a record (such as ldb index records) this reduces the resulting tdb size by a factor of over 100x, due to reductions in fragmentation. It appears to have no noticable effect on the speed in other cases. (This used to be commit b61d7f8bbc0c01d648ce204ffb6ea657e0b04c03)
2007-10-10r451: More NTLMSSP work.Andrew Bartlett3-90/+167
The work here is trying to get the LM_KEY option for NLTMSSP operating, however until that functions properly, it is now controlled by some new smb.conf options, defaulting off. Andrew Bartlett (This used to be commit c63eb35b45c6db6e4c5302d1832bb5cef49a14f6)
2007-10-10r448: Fix 'auth' in Samba4, by making 'auth methods' a normal smb.confAndrew Bartlett2-41/+2
paramter, without special links to other variables. When we get 'server role' ideas back into Samba4, we can fix this properly. The default is: guest, sam_ignoredomain which is the expected behaviour for a stand-alone server. Andrew Bartlett (This used to be commit 56ebc4275fedc8141d43a4ae9a4f4f0e1eccaf49)