summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r874: This patch is a pile of work on NTLMSSP:Andrew Bartlett2-14/+57
Samba's NTLMSSP code is now fully talloc based, which should go a long way to cleaning up the memory leaks in this code. This also avoids a lot of extra copies of data, as we now allocate the 'return' blobs on a caller-supplied context. I have also been doing a lot of work towards NTLM2 signing and sealing. I have this working for sealing, but not for the verifier (MD5 integrity check on the stream) which is still incorrect. (I can aim a rpcecho sinkdata from a Win2k3 box to my server, and the data arrives intact, but the signature check fails. It does however match the test values I have...). The new torture test is cludged in - when we get a unit test suite back, I'll happliy put it in the 'right' place.... Andrew Bartlett (This used to be commit 399e2e2b1149b8d1c070aa7f0d5131c0b577d2b9)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell5-117/+55
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-10r862: remove acl and sendfile stuffStefan Metzmacher2-383/+0
it will be readded inside the ntvfs_posix module metze (This used to be commit ec624aefa86934da23105a5c014080b464efac28)
2007-10-10r861: remove the next round of unused stuffStefan Metzmacher6-4168/+0
metze (This used to be commit 8f59daba0d03a2c58f7f23655153de05cbe47e81)
2007-10-10r858: - remove unused account policy stuff it's in our sam.ldb now:-)Stefan Metzmacher1-2/+0
- don't link lib/ldap_escape.c it's currently unused metze (This used to be commit be472beea3a7ae60cbacada8047b13d4de30643e)
2007-10-10r857: fix the build of gregedit (typo:-)Stefan Metzmacher1-1/+1
metze (This used to be commit 44de741038ccdbca1e3c950670748e99483a7417)
2007-10-10r853: remove a real big bunch of unused codeStefan Metzmacher2-84/+1
I really think that this is needed to get a better overview of what is currently used Also this stuff is really out of date so if we really ever need some of this stuff back, a 'svn copy' from the SAMBA_3_0 branch should be no big problem... metze (This used to be commit 972598d511c64f29bdc849fe58c9c82fbcf6a4a2)
2007-10-10r851: convert lib/registry/ to a config.mk fileStefan Metzmacher2-17/+147
metze (This used to be commit b5567601464a649374e0ef280661292322b3334c)
2007-10-10r849: move tdb/tools/Makefile to tdb/Makefile.tdbStefan Metzmacher2-29/+29
like in ldb also fix the makefile to let it compile the tools fine metze (This used to be commit e3191b54ea583913a9fd21eeb4e57d82e996c847)
2007-10-10r848: convert lib/tdb into the same layout as lib/ldbStefan Metzmacher15-3/+1307
metze (This used to be commit bacab322ce89979f0ad0811cd15b73d81eceb69d)
2007-10-10r845: convert SUBSYSTEM LIBBASIC to a .mk fileStefan Metzmacher2-24/+65
metze (This used to be commit 81f50fbc95c8c81a18dc1e87a76c53657a24af7b)
2007-10-10r834: Fix gconf and dir backendsJelmer Vernooij3-14/+40
(This used to be commit fe5166ee88d401cdd493644af4876e803f546aef)
2007-10-10r833: Compile errorJelmer Vernooij1-1/+2
(This used to be commit e4f6ca85223b86beac237398ea5474f4f56404a2)
2007-10-10r832: Only show menu items for backends if they're presentJelmer Vernooij2-24/+39
(This used to be commit 9228aeeafd956a2885b5f1dfaa6feacb555b7483)
2007-10-10r831: These functions duplicate the push/pull charcnv interfaces that we useAndrew Bartlett1-83/+0
everywhere else in the Samba code, so remove them for clarity. (ok, so also just never liked the names ;-) Andrew Bartlett (This used to be commit 5f5786ad5ff6cc133a143476e8968b00ed057a62)
2007-10-10r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.Jelmer Vernooij1-5/+2
(This used to be commit ad88561becf59cd38a3e329e68cbe5518a3373d7)
2007-10-10r829: Implement 'hive' commandJelmer Vernooij2-1/+20
(This used to be commit 2a87981bd0a79f0d685441d690e2f810d6ed86d0)
2007-10-10r828: Some fixes in the core and regshell concerning hives andJelmer Vernooij6-17/+33
unicode (This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)
2007-10-10r827: remove a few more unused functions that we are unlikely to use againAndrew Tridgell2-263/+1
(This used to be commit 121dd9ba0038f6e076c464cddad0b788fe6076fa)
2007-10-10r826: removed a pile of old code, in preparation for a new ACL handling ↵Andrew Tridgell5-1528/+1
system. I'd like to get rid of DOM_SID completely soon (This used to be commit e306e27cf333e176195a47b19e3de591b4a59650)
2007-10-10r825: - Introduce support for multiple roots (or 'hives')Jelmer Vernooij12-168/+213
- Clean up rpc backend (possible now that multiple hives are supported) (This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)
2007-10-10r819: Fix seg fault in rpc backend, found by Andrew BartlettJelmer Vernooij1-1/+1
(This used to be commit d4cc4b3d682eb828208a621fe6b795f3e77c746a)
2007-10-10r816: - Make use of tridge's new samdb_result_sid_prefix() helper function.Andrew Bartlett1-70/+0
- Remove legacy sid_to_string (which contained a memleak) - Remove some unused parts of lib/util_sid.c Andrew Bartlett (This used to be commit 7c69a85984e47c004ddfd9bb5eadcb3191b56f9d)
2007-10-10r811: make the ldb_modify REPLACE semantics better match LDAP (ie. no errorAndrew Tridgell1-7/+6
on the attribute not existing and allow an empty replace) (This used to be commit 1418b667d9041430786089713eafee63dd7b4a28)
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)