summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce36-795/+1227
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19743: merge from samba3:Stefan Metzmacher4-500/+1
remove old unused schema module metze (This used to be commit 3c16951b0d88013b34a0213ced79087653713ddf)
2007-10-10r19742: fix compiler warningsStefan Metzmacher1-4/+8
metze (This used to be commit 4edeef56dcd185869812bf622c5b496360eb6223)
2007-10-10r19740: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 666e674504c514033390bf69746fb3c35baf4b2a)
2007-10-10r19733: More work to fix ldb_map. With the wildcard present,Andrew Bartlett1-6/+2
map_attr_find_local() always returns, which is exactly what we don't want. Instead, rely on the overwrite behaviour. Andrew Bartlett (This used to be commit 9b9b7bae16a635d9a9ba72d21a4a4718d294c9b0)
2007-10-10r19731: Modify the ldb_map infrustructure to always map from requestedAndrew Bartlett5-52/+201
attributes to backend (remote) attributes. We can't do a reverse mapping safely where the remote attribute may be a source for multiple local attributes. (We end up with the wrong attributes returned). In doing this, I've modified the samba3sam.js test to be more realistic, and fixed some failures in the handling of primaryGroupID. I've added a new (private) helper function ldb_msg_remove_element() to avoid a double lookup of the element name. I've also re-formatted many of the function headers, to fit into standard editor widths. Andrew Bartlett (This used to be commit 186766e3095e71ba716c69e681592e217a3bc420)
2007-10-10r19720: - don't pass a pointer reference to ldb_search_default_callback()Stefan Metzmacher2-16/+18
as it's ugly when it free's the callers memory on failure! - only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently have not way to return them in a ldb_result (we should fix this!) metze (This used to be commit 47da62b15abf48f97ce6fc8dc4627792728349ae)
2007-10-10r19719: don't use 'new' as var name samba3 doesn't like it...Stefan Metzmacher1-4/+4
metze (This used to be commit 7a4f46c1c9ec8119db46ffc57d77fcf13ca0c5a8)
2007-10-10r19714: - add an explicit default target (needs to be the first target in ↵Stefan Metzmacher1-1/+3
the Makefile) - let 'make nss' work alone metze (This used to be commit 5685b6c8a267251bb21f2cc0e768b00f615e0f1b)
2007-10-10r19684: Talloc_guide text on multithreading by Remi TurboultVolker Lendecke1-0/+16
(This used to be commit 7b9b2e5358030aed5cb69dbc93d3175c9cac4455)
2007-10-10r19683: Guard GUID_from_string from walking off the end.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 1c3e9b27a793971b096192204c54338b5e571521)
2007-10-10r19679: Fix shared library build as well.Jelmer Vernooij1-1/+1
(This used to be commit ff9e1b4f0634847d0db178b2c283865c4fb39c9b)
2007-10-10r19678: Fix the build for now (ugly hack because of circular dependencies)Jelmer Vernooij1-0/+1
(This used to be commit 0953bb7d5f2f2a81688f5421e1fbfa3bc38aa810)
2007-10-10r19676: Fix some more dependencies.Jelmer Vernooij3-1/+6
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10r19672: Make LIBSAMBA-UTIL a subsystem again for now because it has ↵Jelmer Vernooij3-6/+8
interdependencies with LIBSAMBA-CONFIG. (This used to be commit 4a044fb529075044755a0b5cc21446bf24bec72e)
2007-10-10r19671: Fix remaining unresolved symbols in shared library build.Jelmer Vernooij3-3/+4
Fix starting tests in shared library build. (This used to be commit 3b65a0d6e491a57ed216dc0cd9c31d46e0cb6a35)
2007-10-10r19637: Leave --realm option only, as abartlet suggested.Rafal Szczesniak1-2/+2
rafal (This used to be commit 73e3f7efa71ca07a42215b044cd9a20762cf2694)
2007-10-10r19636: Add URLs to ldb and talloc pkg-config files.Jelmer Vernooij2-0/+2
Always build and install .pc files as they make sense for static libs as well. (This used to be commit 82cb91e2dd50899050066cccee82cb5be52ec3fe)
2007-10-10r19630: Support specifying the realm name from command line.Rafal Szczesniak1-0/+6
Useful when testing calls against windows servers with krb auth. rafal (This used to be commit 0725e2ddebde9c170340d0284a1573222caa2159)
2007-10-10r19609: fix uninitialized perl variabel, we need AC_SUBST() for all ↵Stefan Metzmacher1-17/+21
configure vars we want to use in perl... metze (This used to be commit 2b021e2d8cff1a097068810d379fc0dca6869654)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett6-3/+7
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19578: Fix trivial typ0.James Peach1-1/+1
(This used to be commit 664b4a84b60d4f8dddfe06e0619b882b322108ec)
2007-10-10r19570: Fix dependencies in pkg-config files.Jelmer Vernooij3-5/+7
(This used to be commit 1b046698521f77b843f4a2fcf91230ee2917b569)
2007-10-10r19539: Move pidfile to smbd/Jelmer Vernooij2-130/+1
(This used to be commit eefa64cbe392c4c4dcbf71b8bcf5128cce0339ba)
2007-10-10r19532: oops forgot thisSimo Sorce1-2/+2
(This used to be commit 9af225e319838a33141daa450473c157ecd65cd3)
2007-10-10r19531: Make struct ldb_dn opaque and local to ldb_dn.cSimo Sorce11-179/+206
(This used to be commit 889fb983ba1cf8a11424a8b3dc3a5ef76e780082)
2007-10-10r19521: Fix memory leak.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit cf1b0cc19fc7aad2a44777929861e70497ccef7d)
2007-10-10r19520: Try not to read past the end of the ldb buffer.Andrew Bartlett1-6/+5
Andrew Bartlett (This used to be commit 3a103149a6c083b80f25163c0f3762f86bb496c1)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij2-5/+14
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r19504: - fixed a free error in file_lines_parseAndrew Tridgell1-13/+25
- added a function to test for large file support - enable CAP_LARGE_FILES only if the test passes - don't test at large offsets if the server doesn't set CAP_LARGE_FILES (This used to be commit c5423ea22bdaa055807d4e6f7ac4be934194fe45)
2007-10-10r19498: the autofree test cannot be run as part of smbtortureAndrew Tridgell1-0/+3
(This used to be commit ebf1d523da45fe19757bca45262f7514702ee108)
2007-10-10r19496: remove unused fileStefan Metzmacher1-6/+0
metze (This used to be commit fe733f6307bb5801d523a968aeb5395f463ce6d6)
2007-10-10r19495: Stop linking binaries twice (once before installation, once during ↵Jelmer Vernooij4-9/+19
build). Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than separate binaries. (This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
2007-10-10r19490: better to check the return resultSimo Sorce1-4/+5
(This used to be commit abdc4edbb8f8b8234bad1be05fa92b3f3bc8876c)
2007-10-10r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth ↵Simo Sorce10-34/+44
argument. This is a pointer to an element pointer. If it is not null it will be filled with the pointer of the manipulated element. Will avoid double searches on the elements list in some cases. (This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)
2007-10-10r19485: Fix Coverity # 319Volker Lendecke1-1/+1
(This used to be commit d12bdb6133c1612b9d3e1a0c6692cbc4ab17fe32)
2007-10-10r19461: Make sqlite3 work again (semi-async)Simo Sorce2-398/+167
Still not all tests pass (This used to be commit cbfc7305ad594c672a16a7f6f82758d17eb5ba62)
2007-10-10r19460: currently building when there is an existing previous build in place ↵Simo Sorce1-1/+4
is broken (This used to be commit 59ac5cf96b208cebe2eb608d853314d335756068)
2007-10-10r19459: Do not build nss by default (it probably works only on linux)Simo Sorce2-4/+10
Fix warning with standalone.sh if build exists (This used to be commit d74fac574067ff2f3918ad435df2c2352e4b2ef7)
2007-10-10r19458: Some info on the "schema"Simo Sorce1-0/+34
(This used to be commit 724d8fb153cfe6f941ba2b8893e5221b24da9431)
2007-10-10r19457: committed by mistake, this binary is available from here anyway:Simo Sorce1-433/+0
http://www.samba.org/ftp/unpacked/junkcode/nsstest.c (This used to be commit 48e38abe7170a4ec9996079fd5c4672312cc96a0)
2007-10-10r19456: Add an example application for ldb using the tdb backendSimo Sorce6-3/+1598
(This used to be commit 778198f279b374222c737e5eda1c47efc2dce39c)
2007-10-10r19455: forgot thisSimo Sorce1-0/+1
(This used to be commit 2b770885cd234027f92ba543706df5d55f16f739)
2007-10-10r19454: In standalone build init asq tooSimo Sorce1-0/+1
(This used to be commit e58b03cd666c6e5df8e5720a62aef23f87be9362)
2007-10-10r19453: Expose helper functionsSimo Sorce2-3/+143
(This used to be commit ee86e88e4f523d67900b52b5a4d4040a76360c61)
2007-10-10r19452: Warn but don't die if registering against the rootdse is not possibleSimo Sorce3-8/+3
(This used to be commit 4ad2eba2aa7711d480a844766e2dd3da938b3413)
2007-10-10r19442: this real cause of the failures on *BSD came from the missingStefan Metzmacher2-4/+6
ICONV dependency and not from a broken configure test and incorrect ifdef's. metze (This used to be commit 3df2cb1ea82dae7395d3d19ba73f97dad26bb86b)
2007-10-10r19440: merged from samba3Andrew Tridgell1-4/+4
(This used to be commit c22fb040234d0cb808fb36e1b4b7ea7bfd45c8cb)
2007-10-10r19438: try to fix up the build breakages on BSD systems due to incorrectlyAndrew Tridgell2-8/+11
detecting iconv.h (This used to be commit e6baa13e1f9c35f95021512b713cebba680b2a72)
2007-10-10r19434: we need to force line buffering as the new torture code doesn't createAndrew Tridgell1-0/+2
a pty in the piped_child() code Jelmer, if you want to fix this on platforms that support it, see the forkpty() call, or see http://junkcode.samba.org/ftp/unpacked/junkcode/rline/ (This used to be commit 35908a29922b93d133b19881dc8205a7116cae8e)