1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

932 Commits

Author SHA1 Message Date
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f)
2007-10-10 14:25:29 -05:00
Jelmer Vernooij
dbe5084f8e r19636: Add URLs to ldb and talloc pkg-config files.
Always build and install .pc files as they make sense for static libs
as well.
(This used to be commit 82cb91e2dd)
2007-10-10 14:25:22 -05:00
Andrew Bartlett
13dbee3ffe r19598: Ahead of a merge to current lorikeet-heimdal:
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 2b569c42e0)
2007-10-10 14:25:00 -05:00
James Peach
7218b3b878 r19578: Fix trivial typ0.
(This used to be commit 664b4a84b6)
2007-10-10 14:24:55 -05:00
Jelmer Vernooij
8f89522a3f r19570: Fix dependencies in pkg-config files.
(This used to be commit 1b04669852)
2007-10-10 14:24:54 -05:00
Simo Sorce
9ec6f0a3a1 r19532: oops forgot this
(This used to be commit 9af225e319)
2007-10-10 14:24:45 -05:00
Simo Sorce
b7774527fa r19531: Make struct ldb_dn opaque and local to ldb_dn.c
(This used to be commit 889fb983ba)
2007-10-10 14:24:44 -05:00
Andrew Bartlett
74adb98b65 r19521: Fix memory leak.
Andrew Bartlett
(This used to be commit cf1b0cc19f)
2007-10-10 14:24:44 -05:00
Andrew Bartlett
abe0c30aba r19520: Try not to read past the end of the ldb buffer.
Andrew Bartlett
(This used to be commit 3a103149a6)
2007-10-10 14:24:43 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067)
2007-10-10 14:24:41 -05:00
Simo Sorce
cc22f65d7b r19490: better to check the return result
(This used to be commit abdc4edbb8)
2007-10-10 14:24:38 -05:00
Simo Sorce
7f833458ca r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth 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 0fa5d4bc22)
2007-10-10 14:24:38 -05:00
Volker Lendecke
3cee746a3f r19485: Fix Coverity # 319
(This used to be commit d12bdb6133)
2007-10-10 14:24:37 -05:00
Simo Sorce
a326893159 r19461: Make sqlite3 work again (semi-async)
Still not all tests pass
(This used to be commit cbfc7305ad)
2007-10-10 14:21:36 -05:00
Simo Sorce
766193da3f r19460: currently building when there is an existing previous build in place is broken
(This used to be commit 59ac5cf96b)
2007-10-10 14:21:36 -05:00
Simo Sorce
8e82a76105 r19459: Do not build nss by default (it probably works only on linux)
Fix warning with standalone.sh if build exists
(This used to be commit d74fac5740)
2007-10-10 14:21:35 -05:00
Simo Sorce
566c7481d9 r19458: Some info on the "schema"
(This used to be commit 724d8fb153)
2007-10-10 14:21:35 -05:00
Simo Sorce
d29c54385a r19457: committed by mistake, this binary is available from here anyway:
http://www.samba.org/ftp/unpacked/junkcode/nsstest.c
(This used to be commit 48e38abe71)
2007-10-10 14:21:35 -05:00
Simo Sorce
803a6dbaca r19456: Add an example application for ldb using the tdb backend
(This used to be commit 778198f279)
2007-10-10 14:21:35 -05:00
Simo Sorce
002338283f r19455: forgot this
(This used to be commit 2b770885cd)
2007-10-10 14:21:34 -05:00
Simo Sorce
92ec8e5c1e r19454: In standalone build init asq too
(This used to be commit e58b03cd66)
2007-10-10 14:21:34 -05:00
Simo Sorce
21e63dca9b r19453: Expose helper functions
(This used to be commit ee86e88e4f)
2007-10-10 14:21:34 -05:00
Simo Sorce
5203031007 r19452: Warn but don't die if registering against the rootdse is not possible
(This used to be commit 4ad2eba2aa)
2007-10-10 14:21:33 -05:00
Andrew Tridgell
4b9eee02c4 r19402: - use the new tdb_lockall_read() to make ldb_search() more efficient,
by avoiding chain locks on each tdb_fetch() within the search

- use the tdb_get_seqnum() call to avoid re-reading the @BASEINFO
  record when it hasn't changed.

These speed up the LOCAL-DBSPEED test for ldb from 7k ops/sec to a bit
over 11k ops/sec
(This used to be commit 1347ad254e)
2007-10-10 14:21:26 -05:00
Simo Sorce
946225b683 r19375: very basic helper script to build ldb standalone
(This used to be commit b4c8bf7398)
2007-10-10 14:21:19 -05:00
Simo Sorce
8c015370d2 r19370: Handle errors if talloc_reference fails
(This used to be commit 05134a90e3)
2007-10-10 14:21:18 -05:00
Andrew Tridgell
0cf42c464e r19365: fixed a memory leak in the ldb attribute handling
(This used to be commit d7e0768516)
2007-10-10 14:21:17 -05:00
Andrew Tridgell
1865044d5c r19363: - don't need to store the baseinfo message after cache load
(This used to be commit 8c091bcdec)
2007-10-10 14:21:17 -05:00
Andrew Tridgell
e36ea2e8eb r19362: - don't need to store the baseinfo message after cache load
- set better names on talloc structures in ldb modules, making leaks
  easier to track down
(This used to be commit 3bf76db42d)
2007-10-10 14:21:17 -05:00
Andrew Tridgell
5535b43efd r19361: added a comment
(This used to be commit 1581babfb5)
2007-10-10 14:21:16 -05:00
Simo Sorce
0f2347e417 r19338: leak on error
(This used to be commit 326389afed)
2007-10-10 14:21:12 -05:00
Simo Sorce
549dd10f0f r19332: ldb_parse_tree leaks
(This used to be commit 3e0e2787c1)
2007-10-10 14:21:11 -05:00
Andrew Tridgell
64eed1e78e r19327: fixed a leak in ldif_canonicalise_objectCategory()
(This used to be commit 5cc92d915b)
2007-10-10 14:21:10 -05:00
Andrew Tridgell
91c33d44b6 r19324: fixed a leak on deleting records when no index is in place
(This used to be commit 0824b3b8c1)
2007-10-10 14:21:09 -05:00
Andrew Tridgell
888458d434 r19323: fixed a leak in the ldif parse code
(This used to be commit 06387e1cf2)
2007-10-10 14:21:08 -05:00
Andrew Tridgell
7f00bee3dc r19322: fix a minor memory leak in the ltdb cache code
(This used to be commit e03ed5822a)
2007-10-10 14:21:08 -05:00
Simo Sorce
1b8e6fa6e9 r19314: Commit tridge's fixes for a big mem leak in ltdb I introduced
when the code has been changed to be async.
With the other committed fixes now this works.
(This used to be commit 49fc640b5c)
2007-10-10 14:21:07 -05:00
Simo Sorce
508a04fe57 r19312: This should fix a nasty bug with values and names being freed before the results where used.
Seem that el is hanging out of a request, and the target is put on the final results.

Still one to catch and fix, but this seem to cure most of them
(This used to be commit bfeaa08fde)
2007-10-10 14:21:07 -05:00
Andrew Bartlett
e0294c9f66 r19310: Add another conflicting oid
Cope with there being no attributes to skip in the ad2oLscheam tool

Andrew Bartlett
(This used to be commit 942d7ad0c3)
2007-10-10 14:21:06 -05:00
Simo Sorce
3cabd0dcae r19305: Potential memleak on the ldb_context if we don't use a temp mem context
(This used to be commit c989dfbe18)
2007-10-10 14:21:05 -05:00
Simo Sorce
59b66744f7 r19299: Fix possible memleaks
(This used to be commit 6fad80bb09)
2007-10-10 14:21:04 -05:00
Andrew Tridgell
d0ba572fab r19289: fixed a memory leak in ldb_dn_string_compose()
(This used to be commit 669aa1424c)
2007-10-10 14:21:02 -05:00
Andrew Tridgell
04140ac3c7 r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
fails
(This used to be commit 330a722f13)
2007-10-10 14:21:00 -05:00
Andrew Tridgell
2ad8e1443d r19273: - fixed error handling with the ldap backend
- propogate errors to the ldbadd command line tool

- use the rdn_name module when testing the tdb backend to allow the
  same test code to correctly test the ldap and non-ldap backends
(This used to be commit dd82c474a1)
2007-10-10 14:21:00 -05:00
Andrew Bartlett
fa67b43ae8 r19264: Clarify behaviour in ldb_search_callback() and provide more
information when modules fail to load.

Andrew Bartlett
(This used to be commit 512ef62f4a)
2007-10-10 14:20:59 -05:00
Stefan Metzmacher
bbc056e067 r19196: merge from samba3:
pass always a mem_ctx to functions and a ldb_context where needed

metze
(This used to be commit 67a6a41ba3)
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
c403dd11fb r19188: merge from samba3:
fix compiler warnings

metze
(This used to be commit dc139d8715)
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
47f90dde40 r19146: merge from samba3:
talloc_reference() can fail

metze
(This used to be commit 542cd5d029)
2007-10-10 14:20:43 -05:00
Volker Lendecke
109bf77ea3 r19134: Merge the second set of C++ warning fixes from Samba3. I'll leave r19132 to
metze to merge until the questions have been answered.

Volker
(This used to be commit e946717bf6)
2007-10-10 14:20:38 -05:00
Simo Sorce
f7005d48d2 r19129: Add comment to clarify behavior
(This used to be commit 7180f38e9e)
2007-10-10 14:20:37 -05:00