summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r808: fix libtdb build by ifedffing out an smb_panic() and copying over ↵Simo Sorce1-3/+44
CatchSignal fn from lib/signal changing it's name to TdbCatchSignal (This used to be commit e1afaa1e9c8de5615030015b1360529b450d2047)
2007-10-10r792: - changed the ldb ldif_* functions to be in the ldb_ namespaceAndrew Tridgell12-39/+80
- added better error reporting in ldbdel - fixed a bug in handling packing of records which contain elements with no values (it caused db corruption) - allow search with "dn" as target attribute (This used to be commit 36575396234e3d35dbd442c8f1ff54a17ae64e64)
2007-10-10r791: added ldb man page build to ldb makefileAndrew Tridgell1-2/+5
(This used to be commit ec38392888d20991abe18dd3e6ca226a62c7d4ae)
2007-10-10r790: started working on some documentation (manual pages) for ldbAndrew Tridgell3-0/+309
(This used to be commit dcb9d1a897f7186824e997064902f3d50bad1887)
2007-10-10r743: Start on a NETLOGON server in Samba4.Andrew Bartlett1-6/+5
Currently this only authentiates the machine, not real users. As a consequence of running the Samba4 NETLOGON test against Samba4, I found a number of issues in the SAMR server, which I have addressed. There are more templates in the provison.ldif for this reason. I also added some debug to our credentials code, and fixed some bugs in the auth_sam module. The static buffer in generate_random_string() bit me badly, so I removed it in favor of a talloc based system. Andrew Bartlett (This used to be commit 94624e519b66def97758b8a48a01ffe9029176f0)
2007-10-10r734: Fix crash bugJelmer Vernooij1-3/+8
(This used to be commit 178cd902fc7069e3d613c46fc4845101a0229655)
2007-10-10r728: - let libldb_tdb depend on new subsystem LIBTDBStefan Metzmacher7-62/+140
- remove tdb logging helper functions out of LIBTDB subsystem - build libtdb shared lib with 'make library_libtdb' the libs are not usable for now, tridge: please remove the dependecy of CatchSignal() and smb_panic() from libtdb maybe use function pointers in the TDB_CONTEXT then run make library_libtdb and then make build/tests/trivial.o and then gcc -o trivial -L./bin -ltdb and then gcc -o trivial -L./bin -lldb metze (This used to be commit 520b9762161d9b5d5223b42910494af80fd5c1e3)
2007-10-10r715: Finish the ldb conversion for the auth_sam module.Andrew Bartlett1-1/+2
Andrew Bartlett (This used to be commit 099151cdabd40e724b36482c0ffc169d231146d2)
2007-10-10r714: make sure ldb formats are portable between big/little endian machinesAndrew Tridgell2-16/+24
(This used to be commit 166a664a00d2befe30978072e6f3f266b18ba9f4)
2007-10-10r711: don't hide attributes inside the special ldb_tdb records (so the factAndrew Tridgell1-1/+1
that a attribute is hidden is not itself hidden!) (This used to be commit b42d1f39842ac25fee2238040ac01321f71a79c5)
2007-10-10r700: fix SMB_LIBRARY() to disable the lib by defaultStefan Metzmacher1-1/+1
metze (This used to be commit b6ac3021f275ba6b0ee0035933c290db4e8bda00)
2007-10-10r697: make use of SMB_EXT_LIB for LDAP and KRB5Stefan Metzmacher1-1/+4
metze (This used to be commit b054f7d4906d1d2b96b352af09c6bdcf96553c2a)
2007-10-10r693: Make staticJelmer Vernooij1-2/+2
(This used to be commit 30d3915c760ac5ee5e632539a3503fc7fed9cc63)
2007-10-10r692: Add libwinregistryJelmer Vernooij1-0/+5
(This used to be commit 0ace3bf289777c30310a05e66fd674337413f0d8)
2007-10-10r690: - ignore source/tagsStefan Metzmacher2-0/+17
- add support for shared libraries - enable libldb shared lib when --enable-experimental metze (This used to be commit dcef69dc54a2575e7f57d67d1983482b4ff57bdb)
2007-10-10r686: - Add SMB_EXT_LIB_FROM_PKGCONFIG()Jelmer Vernooij1-9/+16
- Build gregedit and registry_gconf again if the required libs are found (gconf and gtk) (This used to be commit a63b704c36f2f5b52e932b6b2c99e7d664c9bdc7)
2007-10-10r685: The SAM is dead! Long live the new SAM! ;-)Andrew Bartlett3-387/+81
This commit kills passdb, which was only hosting the auth subsystem. With the work tridge has done on Samba4's SAM backend, this can (and now is) all hosted on ldb. The auth_sam.c file now references this backend. You will need to assign your users passwords in ldb - adding a new line: unicodePwd: myPass to a record, using ldbedit, should be sufficient. Naturally, this assumes you have had your personal SAMR provisioning tutorial from tridge. Everybody else can still use the anonymous logins. Andrew Bartlett (This used to be commit 2aa0b55fb86648731d5f2201fa5a6aa993b7ca48)
2007-10-10r681: don't init r.out.result.vStefan Metzmacher1-1/+0
metze (This used to be commit f7ded36699dabecf31ccaf765d667b7240822f8d)
2007-10-10r673: disable registry_gconf for nowStefan Metzmacher1-1/+2
metze (This used to be commit 5bbf0c240730fc27b7341eb7c6891c7741640e74)
2007-10-10r672: disable gregedit for nowStefan Metzmacher1-1/+2
metze (This used to be commit 63600a2a9b2607130efe8e4336a48b5e9584d929)
2007-10-10r668: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit ba5e71f59e0547aa8329661c7fec73a6469726a5)
2007-10-10r665: merge over the new build system from my tmp branchStefan Metzmacher20-121/+189
to the main SAMBA_4_0 tree. NOTE: that it's not completely ready, but it's functional:-) metze (This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
2007-10-10r655: Fix if() logicJelmer Vernooij1-2/+2
(This used to be commit 09096cfc3e1b35b4ac944cf84bfdec6ee44e06bf)
2007-10-10r623: setUserInfo level 24 (password set) now works in the SAMR server. This ↵Andrew Tridgell1-1/+1
includes all of the password complexity, password history and other password restrictions. (This used to be commit cb070b9084d95cf5178edbef951b75eab62b7220)
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-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-10r601: added the server code for all the samr_SetUserInfo and ↵Andrew Tridgell2-22/+40
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-10r587: added server code for samr_EnumDomainUsers, and started addingAndrew Tridgell1-0/+18
samr_SetUserInfo and samr_QueryUserInfo (This used to be commit e0db9659a85b59e52fbe033a94b411d6c64d9f9c)
2007-10-10r583: fixed two bugs in the handling of index entry deletionAndrew Tridgell2-8/+13
(This used to be commit 7b5f3370e6c078bf506ac3eb24fb330d4aee7688)
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-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-10r513: added a generic ldb debug system to allow the Samba debug functions toAndrew Tridgell13-10/+154
be cleanly interfaced to ldb (This used to be commit 74b89d5f960d6b936751e3f057b4540eb80b79cd)
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-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-10r504: fixed a bad call to list_union()Andrew Tridgell1-2/+3
(This used to be commit 4404056cd5fd65d72a38ea474fe330281b3ee19e)
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-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-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-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-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-10r444: - added the beginnings of a ldb test suite and benchmarkAndrew Tridgell8-11/+266
- updated the test slapd config to use bdb and indexing (This used to be commit 7ad0858c060ee212a33434dc4be75e7a0cd1a0e3)
2007-10-10r442: fixed some uninitialised variables pointed out by gcc -O3Andrew Tridgell3-4/+3
(This used to be commit ff31cfb941b77e99e648011a6b7639b2a5923a6a)
2007-10-10r437: fixed handling of a corner case with multi-valued indexingAndrew Tridgell2-0/+14
(This used to be commit b38612185657512419c4b3dc806cf1183e0db0cb)