summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r6867: this code will change the way the @ATTRIBUTES object is handledSimo Sorce8-33/+93
this object properties are now used as multivalue attributes now all values inserted are checked against a "valid values table" eg: this form is now accepted: dn: @ATTRIBUTES uid: CASE_INSENSITIVE uid: WILDCARD this form is now rejected: dn: @ATTRIBUTES uid: CASE_INSENSITIVE WILDCARD please update your .ldb files if you make use of @ATTRIBUTES (sam.ldb heavily uses it) the code passes all make test tests for both tdb and ldap, it also passes the new test to check for wrong @ATTRIBUTES attribute values Simo. (This used to be commit 1295b891a26c2cb2c34540f90ded83390cf87da2)
2007-10-10r6863: lib-friendlier names + fix some dependenciesJelmer Vernooij2-9/+5
(This used to be commit cab81a51bfd435b54e6f0d5a308aaf6828d38c00)
2007-10-10r6845: make the talloc header align to 40 bytes, which costs us an extra 4Andrew Tridgell1-8/+11
bytes per allocation, but makes it much more portable (This used to be commit 257027a571da254c16b0b456cb1cbec284d7fda0)
2007-10-10r6833: split out the routine that calculates the diff between two ldb ↵Andrew Tridgell3-43/+63
messages from ldbedit, so other progs can use it. (This used to be commit fa4f33558af3c65ff31424c01db16cb9d427503d)
2007-10-10r6831: talloc now requires config.h (this fixes ldb build)Andrew Tridgell1-2/+0
(This used to be commit aac86583a9bff7d882ed56633126a1d9f27eea6a)
2007-10-10r6830: put header checks in config.m4 so when it is included by other ↵Andrew Tridgell2-1/+1
projects the right configure checks are done (This used to be commit 57c8db4f9aecd161d61cf0011e960edc718d7cf0)
2007-10-10r6829: include the talloc autoconf tests when building ldb standaloneAndrew Tridgell1-0/+2
(This used to be commit 3339a886178eebf19ce9bbe0dcca16e9d6e3c12c)
2007-10-10r6828: More portability fixesJelmer Vernooij3-2/+11
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
2007-10-10r6825: Fall back to chsize if ftruncate is not availableJelmer Vernooij1-0/+4
patch from Steven Edwards (This used to be commit 82be4978116b73cd6d964da4fad59b5c5b11217e)
2007-10-10r6817: - fixed empty ldap search elements in filtersAndrew Tridgell1-1/+1
- added support for guids in cldap netlogon searches. the cldap server now passes the LDAP-CLDAP torture test (This used to be commit eb7979d9def389942fa1c54693d2dfcb8828f544)
2007-10-10r6812: more talloc portability tweaksAndrew Tridgell3-6/+3
(This used to be commit 450ac2e4dea25910ee5384747bdb6ad7323e967d)
2007-10-10r6808: - test for gcov not neededAndrew Tridgell3-15/+10
- samba malloc wrapper avoidance not needed now we don't use includes.h - make testsuite work when BOOL, True, False already defined (This used to be commit c8a274c8735957a8a8dd21421abd65a8a1af20f7)
2007-10-10r6807: Fix in-tree build of talloc testsuiteJelmer Vernooij1-7/+0
(This used to be commit 3541ebe31bef8ccae7a8a1ea4f451ddfbd24460a)
2007-10-10r6804: Add config.h for talloc (and use it)Jelmer Vernooij5-9/+31
(This used to be commit c2ce09d38003fd43212de9cd08e4a781cc2aff88)
2007-10-10r6802: - fixed CFLAGSAndrew Tridgell1-6/+4
- don't fail if we don't have xsltproc (This used to be commit 235f5c510b4b68edf2a36d049bc0ff2afb73fd72)
2007-10-10r6798: Valgrind pain is not something I look forward to - if we ever fallAndrew Bartlett1-2/+6
back to the 'not /dev/urandom' method of random number generation, I don't want to be chasing down 'use of uninitialised value' though all the crypto code. Andrew Bartlett (This used to be commit 31ff2cd8e11dee36c42f82dcfd85338d3ff704d3)
2007-10-10r6795: Make some functions static and remove some unused ones.Jelmer Vernooij8-59/+7
(This used to be commit 46509eb89980bfe6dabd71264d570ea356ee5a22)
2007-10-10r6790: Use config.h file for ldb and add test for stdint.hJelmer Vernooij4-2/+10
(This used to be commit c1f1b5a9455c827f7baf382d919ab8a0eab49bb3)
2007-10-10r6759: let us have a wildcard attribute so that we can set a default for all ↵Simo Sorce1-1/+7
attributes example: *: CASE_INSENSITIVE by placing it in the @ATTRIBUTES object you make all the matching be case insensitive to make an excepion to the general rule now you just need to create an entry like: name: CASE_SENSITIVE the key CASE_SENSITIVE currently does not exist but has the effect of making the code ignore the wildcard default flag and being ldb case sensitive by default it let the "name" attribute be case sensitive again Tridge, can you look at this commit? Should we introduce a CASE_SENSITVE/BINARY flag and handle it in the code ? Simo. (This used to be commit 5f10707e8ac36db03f3aa3e1ee1c40a9d9da2016)
2007-10-10r6741: prevent talloc_strndup() from reading one byte past the end of a buffer,Andrew Tridgell1-1/+1
giving valgrind errors (This used to be commit 7af0c547e0c0da3bc78a1ee6c2ab29114d8625cc)
2007-10-10r6700: Upper case realms in kerberos-specific parts of the code, as this isAndrew Bartlett1-1/+5
no longer done globally. This keeps MIT client libraries happy, because otherwise the windows KDC will return a different case to what was requested. Andrew Bartlett (This used to be commit 9098b9321f938473c367f906cfe2f001ca1d8e6a)
2007-10-10r6688: removed unused binary_string() functionAndrew Tridgell1-23/+0
(This used to be commit 0b48c69e0b94571173a12714b22d3d5e2af17bcf)
2007-10-10r6687: added a idr helper function for creating random IDsAndrew Tridgell1-0/+18
(This used to be commit ef573df2a012e9a192487f207502ef1027c66d4b)
2007-10-10r6664: Obey overrided CC in the MakefileJelmer Vernooij1-1/+2
(should fix build on several buildfarm hosts) (This used to be commit cbd7af4fcf72fd21b2a8ea2ee8f9f61f90f36f03)
2007-10-10r6663: only use -Wall for gccAndrew Tridgell2-3/+4
(This used to be commit b7fbe2173d45456c77fad9673073173704a1b266)
2007-10-10r6662: add an installcheck target for tallocAndrew Tridgell1-0/+3
(This used to be commit 2f78428cfd823b499c60ac3cc02650183b760ef0)
2007-10-10r6661: fix up talloc autoconf to have a chance of working on the build farmAndrew Tridgell3-4/+250
(This used to be commit 9318744fd496a829a57fc8e0f21d4b26b1eb74c7)
2007-10-10r6660: Sorry for the spam... I think now I've got a version that should ↵Volker Lendecke2-2/+23
compile on trunk, 3_0 and 4_0. Volker (This used to be commit 777c489cad610fef140ec80d5644111b04a314c1)
2007-10-10r6650: keep style consistentSimo Sorce1-1/+2
(This used to be commit 34671674ee326ea835408f8c1fdb105ea50ccc55)
2007-10-10r6645: Add talloc_get_size() function.Simo Sorce3-0/+19
Sometimes it is usefull to know this data. Simo. (This used to be commit df401847827ef660d8b9d55af9b27bb85bad6b5f)
2007-10-10r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry ↵Jelmer Vernooij3-1/+650
Williams (This used to be commit 62550eac1e56e95c8080a0519579fd97ee5d465a)
2007-10-10r6621: Warn when the user is trying to use socket wrapperJelmer Vernooij1-0/+3
while it is not compiled in. (This used to be commit d63086918ba79307089b3992dc7ed8fc8c6d18a8)
2007-10-10r6617: Let --enable-developer imply --enable-socket-wrapperJelmer Vernooij1-3/+13
Add socket-wrapper-enabled test target and use that by default when the socket wrapper was included (This used to be commit d3b0ad8b4b6f8ee80a9c77e1102960d51ced5a5f)
2007-10-10r6578: brown paper bag time with the new messaging code ....Andrew Tridgell1-1/+1
(This used to be commit d465ff67bd10340ecd46480039f483daa82c7ebe)
2007-10-10r6573: Start on my project to implement an NT4 compatible BDC in Samba4.Andrew Bartlett5-1/+225
This brings in a compatability layer for Samba3 in Samba4 - where we will start to define file formats and similar details. The 'net samdump' command uses 'password server = ' for now, and performs a similar task to Samba3's 'net rpc samsync'. Andrew Bartlett (This used to be commit 550f17f9924fe783917318753de7d1a388423908)
2007-10-10r6565: Cludge, cludge, cludge...Andrew Bartlett1-1/+30
We need to pass the 'secure channel type' to the NETLOGON layer, which must match the account type. (Yes, jelmer objects to this inclusion of the kitchen sink ;-) Andrew Bartlett (This used to be commit 8ee208a926d2b15fdc42753b1f9ee586564c6248)
2007-10-10r6564: - Fix bug in socket_wrapperJelmer Vernooij1-1/+2
- Add options --quiet and --outputdir options to the provisioning script - Add simple 'make test' and 'make test-swrap' (This used to be commit 7d2d4a57e0e58a51c76c2e86ea447e81a1d79544)
2007-10-10r6562: added support for datagram unix domain sockets in the socket libraryAndrew Tridgell2-9/+26
(This used to be commit 23b2046dcb5c4593cba6964f400a2e5246fb35f7)
2007-10-10r6561: re-did the internal message system based on DGRAM unix domainAndrew Tridgell1-138/+64
sockets. This gains us about 40% in messaging speed. (This used to be commit f244a64ed537447e44229172427b5b6a5c64800c)
2007-10-10r6560: added a tdb_chainlock_read() call in ldb_search(). This guaranteesAndrew Tridgell3-0/+43
that ldb_search() sees a single consistent view of the database (by blocking writes during a ldb_search) (This used to be commit 917f2a8a073fd501f0626bea4f9deb91b95fdc90)
2007-10-10r6546: Fix ldb standalone buildJelmer Vernooij4-4/+39
Add autoconf to tdb (This used to be commit 95fed657f458a856feec2fb256edd642e4179979)
2007-10-10r6528: - in tdb_fetch() we effectively disallowed zero length records byAndrew Tridgell2-8/+5
returning NULL/0, which is the same as we used for a failure. Having to look at tdb->ecode (which we never do) is too error prone. Instead, tdb_fetch() should behave like malloc() and talloc(), where zero length is not special and malloc(0) returns a valid pointer. - similarly in data_blob(), asking for data_blob(NULL, 0) should return a zero blob, but asking for data_blob(ptr, 0) should return a zero length blob with a valid pointer, just like talloc() and malloc() This change fixes the SummaryInformation stream stored in the tdb backend when manipulated from w2k. The w2k client was using SET_EOF_INFORMATION to create a zero-length stream, which we return STATUS_NOT_FOUND on, as the tdb_fetch() gave us back a NULL/0 blob, which we returned as not-found (This used to be commit 162bbe4402b9de6ac06103df904b9fc204fbff29)
2007-10-10r6520: Fix unused variable warning.Tim Potter1-1/+1
(This used to be commit 36de31a63189dcc6126dd0c10b1af8d183d8c235)
2007-10-10r6513: Commit talloc_free_children.Volker Lendecke2-20/+45
Volker (This used to be commit 9fa26d2c971a7baee64d8938e31909cac80f0e5a)
2007-10-10r6487: Use autoconf for standalone build of tdbJelmer Vernooij3-1/+18
(This used to be commit 78bf8026bde34b7accc78f07c940ef1dcfc0dea7)
2007-10-10r6486: Add 'make install' and pkg-config file.Jelmer Vernooij3-1/+22
(This used to be commit e3be094fb7b0c0fec50abcb4b242414e84a9a32d)
2007-10-10r6485: Move LDAP detection M4 file and use it for the standalone ldb buildJelmer Vernooij2-0/+90
Remove a couple of unused M4 macros. The standalone LDB build will not work until I've figured out what AC_CHECK_LIB_EXT() does exactly (it's Samba-specific) (This used to be commit cc20d6bb7f06e077ebe4c366e545e187a0c79472)
2007-10-10r6483: fix anonymous connections, '-U %' or '-U ""%""' can be used for thisStefan Metzmacher2-1/+6
metze (This used to be commit d31b4d7df375c0d4ea962a0df1693778d56f03ec)
2007-10-10r6481: change download instructions to include tdb and tallocAndrew Tridgell1-2/+6
(This used to be commit ebe7071b2e93db93d7963211fce6ef02bc9e978e)
2007-10-10r6480: fixed whitespace typoAndrew Tridgell1-1/+1
(This used to be commit 1265c9b8a89177db94de5a8e188b666914c1d33c)