1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

3361 Commits

Author SHA1 Message Date
Jelmer Vernooij
91fe80a555 r26090: Make building tdb python bindings independent of use of external tdb.
(This used to be commit bfe54e2f19)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
29cf3a93cc r26089: Move python detection to a separate file, and don't make it an error if it isn't available.
(This used to be commit 4e7709379d)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
39adc2418a r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
(This used to be commit cbf656ff05)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
f2b9a9ae11 r26087: Fix include, add setup.py for tdb
(This used to be commit 4b94d5ca74)
2007-12-21 05:45:57 +01:00
Jelmer Vernooij
efc0cc6be2 r26080: Import updated LDB bindings.
(This used to be commit 19342e66a7)
2007-12-21 05:45:56 +01:00
Jelmer Vernooij
2a98fd770a r26077: Import updated TDB bindings.
(This used to be commit afe091d92e)
2007-12-21 05:45:55 +01:00
Jelmer Vernooij
75c7fd4030 r26073: Import Python bindings for the registry.
(This used to be commit 777205b570)
2007-12-21 05:45:53 +01:00
Jelmer Vernooij
c027a0d111 r26072: Import trivial SWIG wrapper for talloc.
(This used to be commit 02d259c2c4)
2007-12-21 05:45:53 +01:00
Jelmer Vernooij
ea85165841 r26068: Import improved Python bindings for LDB, including tests.
(This used to be commit fc3a8caef7)
2007-12-21 05:45:51 +01:00
Jelmer Vernooij
6b62805ce7 r26066: Use TALLOC_CTX consistently for talloc contexts rather than void \* (it was already being used for some).
(This used to be commit d8b1750165)
2007-12-21 05:45:49 +01:00
Stefan Metzmacher
b41a25c104 r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG
metze
(This used to be commit 8ec94633c4)
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
c5e16f339c r26026: libreplace: split some linker macros
create:
AC_LIBREPLACE_LD_SHLIB_LINKER
AC_LIBREPLACE_LD_SHLIB_FLAGS
AC_LIBREPLACE_LD_SHLIB_DISALLOW_UNDEF_FLAG

and prerequire them for:
AC_LIBREPLACE_SHLD
AC_LIBREPLACE_SHLD_FLAGS
AC_LIBREPLACE_MDLD
AC_LIBREPLACE_MDLD_FLAGS

metze
(This used to be commit cc8692265d)
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
662cda2138 r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill LD_ALLOW_SHLIB_UNDEF_FLAG
metze
(This used to be commit d2fb7d876b)
2007-12-21 05:45:44 +01:00
Stefan Metzmacher
35f115b402 r26020: GENCACHE depends on TDB_WRAP
metze
(This used to be commit 76b6376990)
2007-12-21 05:45:43 +01:00
Stefan Metzmacher
669a4e14fc r26019: use <tdb.h> instead of "tdb.h"
metze
(This used to be commit e162958e6f)
2007-12-21 05:45:43 +01:00
Stefan Metzmacher
e5e362567d r26018: dsdb/schema/proto.h doesn't exist anymore
metze
(This used to be commit 3b8215270c)
2007-12-21 05:45:43 +01:00
Stefan Metzmacher
7f3b941976 r26017: db_wrap.h doesn't exist anymore and we now need tdb_wrap.h
metze
(This used to be commit 88f11a88f3)
2007-12-21 05:45:42 +01:00
Jelmer Vernooij
ca0b72a1fd r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
b7c5d2b0c9 r26002: Use osf rather than tru64 - pointed out by metze.
(This used to be commit df10de4295)
2007-12-21 05:45:35 +01:00
Jelmer Vernooij
4b546eada1 r26001: Share some code between macros, add macro specifically for testing the ld flag that allows undefined symbols.
(This used to be commit 6cd3a3a46a)
2007-12-21 05:45:35 +01:00
Stefan Metzmacher
25f1ea1269 r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS
metze
(This used to be commit c7b0b4c21e)
2007-12-21 05:45:33 +01:00
Jelmer Vernooij
413e992ae4 r25998: Add test for run time library path environment variable.
(This used to be commit b2355857ba)
2007-12-21 05:45:33 +01:00
Stefan Metzmacher
ff23cad8e3 r25992: ldb: use AC_LIBREPLACE_SHLD and use it for linking shared libraries
metze
(This used to be commit 7ee9700abe)
2007-12-21 05:45:31 +01:00
Stefan Metzmacher
5b79c134c1 r25991: tdb: use AC_LIBREPLACE_SHLD and use it for linking the shared library
metze
(This used to be commit 1f2ba20a11)
2007-12-21 05:45:31 +01:00
Stefan Metzmacher
08d4a44f92 r25990: talloc: use AC_LIBREPLACE_SHLD and use it for linking the shared library
metze
(This used to be commit c179807165)
2007-12-21 05:45:31 +01:00
Stefan Metzmacher
0aa43592cb r25988: libreplace: add AC_LIBREPLACE_SHLD
metze
(This used to be commit 2abae42d70)
2007-12-21 05:45:30 +01:00
Stefan Metzmacher
676bb230fc r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
metze
(This used to be commit 410cdf789a)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
896e46aa6c r25986: libreplace: warn about unresolved symbols when link shared libraries
On Tru64 and Mac OS X this hopefully works

Note: -Wl,--no-allow-shlib-undefined doesn't tests what we want
      on Linux.

metze
(This used to be commit 7bee9a62ff)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
15cb7772f8 r25984: ldb: use MDLD macros from libreplace and use results to build share modules
metze
(This used to be commit 113efcd856)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
d47be61769 r25983: ldb: link shared library against $(LDAP_LIBS)
metze
(This used to be commit 0437ae1845)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
31fe478cec r25982: libreplace: try to ignore unresolved symbols in modules on Tru64
metze
(This used to be commit bfde13b70b)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
b415712d3f r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros
They define the linker and link flags for building shared modules

metze
(This used to be commit 128b4e1a51)
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
f744d3bc9f r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific

metze
(This used to be commit d19ab62081)
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
fc2df89cd7 r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600
On Tru64 this brings in socklen_t and some other socket stuff

metze
(This used to be commit d42f2e5759)
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
911fbed635 r25973: talloc: fix usage of SONAMEFLAG
metze
(This used to be commit 7fecb8f3cd)
2007-12-21 05:45:25 +01:00
Stefan Metzmacher
4cfea7da77 r25972: tdb: fix usage of SONAMEFLAG
metze
(This used to be commit 5aa20bb649)
2007-12-21 05:45:24 +01:00
Stefan Metzmacher
ae75b11578 r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
metze
(This used to be commit 05b4619c5b)
2007-12-21 05:45:24 +01:00
Stefan Metzmacher
0f134fab53 r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h
metze
(This used to be commit a07c983fde)
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
de119cc807 r25969: ldb: link libnss_ldb.so.2 against the shared library
metze
(This used to be commit 36ef127c8b)
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
45e9a5ef6d r25968: ldb: we need to use @SONAMEFLAG@ directly so that the '#' trick can work
metze
(This used to be commit 48957e4b2a)
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
9338ca3968 r25967: ldb: a module doesn't need to link against $(LIBS)
As the main library already links to it.

metze
(This used to be commit f6a8c36be6)
2007-12-21 05:45:22 +01:00
Andrew Bartlett
fab68fd4d9 r25965: Remove duplicate block - thanks metze!
Andrew Bartlett
(This used to be commit d7e65da564)
2007-12-21 05:45:21 +01:00
Andrew Bartlett
fe61b63393 r25964: Fix comment and use talloc hirachy in ldb_tdb initialisation.
Andrew Bartlett
(This used to be commit 05cc2a7d96)
2007-12-21 05:45:21 +01:00
Stefan Metzmacher
04cf937b8d r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this
metze
(This used to be commit e145accfc2)
2007-12-21 05:45:20 +01:00
Andrew Bartlett
f6312d1b5a r25962: Move to more modern ldb functions loading module list.
Andrew Bartlett
(This used to be commit c3bfcf44a4)
2007-12-21 05:45:20 +01:00
Andrew Bartlett
d544879e43 r25959: Add a new special DN to LDB: @OPTIONS
Use the checkBaseOnSearch attribute to control if we should check the
base DN on search requests.

Also ensure we honour any errors in searching, not just errors in the
supplied 'done' callback.

Andrew Bartlett
(This used to be commit deaac92f43)
2007-12-21 05:45:18 +01:00
Andrew Bartlett
f8bf16960e r25958: Callers of gendb_search_dn() don't expect to get
LDB_ERR_NO_SUCH_OBJECT for base searches.  Return 0 in this case.

Andrew Bartlett
(This used to be commit eb180f6a6a)
2007-12-21 05:45:18 +01:00
Jelmer Vernooij
36a1640b27 r25956: Try metze's suggestion for Mac OS X shld flags.
(This used to be commit 5fea6e0d9a)
2007-12-21 05:45:17 +01:00
Stefan Metzmacher
85dd023f99 r25955: libreplace: add a useful link about linking shared libraries
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

metze
(This used to be commit 403c5521d1)
2007-12-21 05:45:17 +01:00
Jelmer Vernooij
35efbc84c7 r25953: AIX make doesn't support $^.
(This used to be commit 91133d2711)
2007-12-21 05:45:16 +01:00
Jelmer Vernooij
3e0efe2383 r25945: Fix flags for MacOS X.
(This used to be commit b01303b567)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
0969ac9e61 r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830e)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
5adade2f2f r25943: Fix soname on hpux.
(This used to be commit fd762b01ed)
2007-12-21 05:45:11 +01:00
Jelmer Vernooij
81ad27b309 r25935: Fix registry tests.
(This used to be commit b311094714)
2007-12-21 05:45:09 +01:00
Andrew Bartlett
08dd389ddf r25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the
modules.

This will be useful when we start enforcing validity in base DNs.

Andrew Bartlett
(This used to be commit aa8348a27a)
2007-12-21 05:45:08 +01:00
Andrew Bartlett
f1ec8da56d r25933: LDB: Don't free errstring until after the printf, in case it is one of
the arguments.

Andrew Bartlett
(This used to be commit af40b1cd88)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
d0d0a69d0b r25932: Remove unnecessary include - should fix the build on hosts without popt.
(This used to be commit f250ae0c36)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
73f88ad250 r25931: Add config .mk file for crypto lib.
(This used to be commit 21ab43158f)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
0b2780a6a4 r25930: fix test name
(This used to be commit 41dcd8c261)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
dbc78e2016 r25928: Split up torture-local a bit.
(This used to be commit c6b1090408)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
a86920600a r25926: Move iconv test to iconv code directory.
(This used to be commit e20c4b90e4)
2007-12-21 05:45:05 +01:00
Stefan Metzmacher
529763a9aa r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
(This used to be commit 6223c7fddc)
2007-12-21 05:45:02 +01:00
Stefan Metzmacher
88f0c3bfa7 r25912: Two patches
Hi!

Can you check and push them?

Thanks,

Volker

From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sat, 27 Oct 2007 14:20:09 +0200
Subject: [PATCH] Fix some warnings and errors

merge from v3-2-test commit e17d3e10e8
(This used to be commit 4087731e1b)
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
2baec5a557 r25911: Remove more fstring/pstring bad useage. Go talloc !
Jeremy.

merge from v3-2-test commit 2a0173743d
(This used to be commit cb0eca66dc)
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
319ecac5b1 r25910: Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy

merge from v3-2-test commit a68bbea0d4
(This used to be commit b833dce5e6)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
a4a7447f13 r25909: Fix the snprintf checks, and fix a typo in pointer indirection.
These fixes are needed for a working getaddrinfo etc. replacement.
Fixes from Wayne Davison <wayned@samba.org> from rsync.

Jeremy.

from v3-2-test commit 494bf6293b
(This used to be commit e562832ad1)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
82ae4d5543 r25908: add some wikipedia links about LDAP and LDIF
metze
(This used to be commit e1eea92788)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
92897b1153 r25906: libreplace: we need to link to make sure the functions are available
metze
(This used to be commit 895d2644fb)
2007-12-21 05:44:48 +01:00
Jelmer Vernooij
0bccc88392 r25903: Move more files out of torture/
(This used to be commit f734df3144)
2007-12-21 05:44:46 +01:00
Jelmer Vernooij
f924ac9744 r25902: Move messaging tests to same directory as code.
(This used to be commit d174dcbb76)
2007-12-21 05:44:45 +01:00
Jeremy Allison
523445cdaa r25893: Fix ldb, tdb builds (and one warning).
Jeremy.
(This used to be commit 52b26645b0)
2007-12-21 05:44:42 +01:00
Jeremy Allison
2cb22d93ae r25892: Keep the tdb code in sync between 3.2.x and 4.0.
Add in the alarm fix to allow locks to exit on
alarm signal.
Sync up the changes in tools.
Jeremy.
(This used to be commit cb6c663fa8)
2007-12-21 05:44:42 +01:00
Jelmer Vernooij
1cbb73f235 r25888: Attempt to fix standalone tdb build.
(This used to be commit c758db2709)
2007-12-21 05:44:41 +01:00
Jelmer Vernooij
e7cf933d41 r25887: Build Samba-specific ldb modules as dso's.
(This used to be commit 9d73becbb2)
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
2109bf0515 r25886: Try to fix building dso's on hpux with gcc
(This used to be commit 146c5226e6)
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
575678557b r25884: Specify shldflags first, as required by some compilers.
(This used to be commit 40a8cd0d2f)
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
e76e5dafc7 r25883: Fix tdb dependency.
(This used to be commit af99cd3e00)
2007-12-21 05:44:39 +01:00
Jelmer Vernooij
4347f8fc37 r25882: Build shared library of talloc as well.
(This used to be commit 3692ba8299)
2007-12-21 05:44:39 +01:00
Jelmer Vernooij
831d738374 r25881: Add ability to build .so of tdb.
(This used to be commit 03bc4896e6)
2007-12-21 05:44:38 +01:00
Jelmer Vernooij
2ca86c7769 r25880: Try to get some more flags right.
(This used to be commit bbc36fd3f6)
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
b05601f568 r25879: Don't use shared library for command-line utilities for now - breaks the testsuite, and there is no portable equivalent of LD_LIBRARY_PATH.
(This used to be commit 9730c29509)
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
414e5eca2e r25877: Add libreplace macro for soname flags.
(This used to be commit 25aa875119)
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
a564ca1c73 r25875: Try to fix the build on some HPUX machines.
(This used to be commit 773a7cf234)
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
336eddb5f2 r25873: nss_wrapper: hopefully a better fix for the solaris get*ent_r functions
metze
(This used to be commit 084aad7980)
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
8867f82611 r25872: nss_wrapper: revert solaris get*ent_r() functions
This was the wrong approach, as in future lib/replace
should hide this special solaris stuff.

metze
(This used to be commit e99feb5ff5)
2007-12-21 05:44:34 +01:00
Stefan Metzmacher
32bed4d0fb r25871: nss_wrapper: set the destination pointer in the get*_r functions
metze
(This used to be commit e68d1c9276)
2007-12-21 05:44:34 +01:00
Stefan Metzmacher
37f6b948b7 r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze
(This used to be commit c6b6466c33)
2007-12-21 05:44:34 +01:00
Stefan Metzmacher
49c4a40e2f r25868: nss_wrapper: add solaris versions of getpwent_r and getgrent_r
metze
(This used to be commit 386b28f988)
2007-12-21 05:44:33 +01:00
Stefan Metzmacher
49cb694041 r25867: libreplace: solaris has different prototypes for getpwent_r and getgrent_r
metze
(This used to be commit 44250ac6f9)
2007-12-21 05:44:33 +01:00
Stefan Metzmacher
70cf786aab r25866: nss_wrapper: not all systems have get*_r calls
metze
(This used to be commit 6a3f97aeac)
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
29598b83e0 r25865: libreplace: check for nss passwd|group get*_r functions
metze
(This used to be commit 98095b3425)
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
046cd2512e r25864: libreplace: we should only have one location where we check for required functions
metze
(This used to be commit 8748516d16)
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
9ed91eabdd r25863: libreplace: we need include <unistd.h> before nss_wrapper.h
metze
(This used to be commit a16f0e3cdb)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
abee59c0f5 r25862: Avoid po, causes trouble on BSD systems.
(This used to be commit c7fd5a5172)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
eea596951d r25861: Fix export dynamic for HPUX.
(This used to be commit 45ccf09bf9)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
0cab8cc79f r25860: Remove flag that causes problems on some hosts.
(This used to be commit 85b3326500)
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
3d6d80daba r25859: Wrap native HPUX functions in dl implementation.
(This used to be commit bf1685faa1)
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
4ef9649c8c r25858: Clean up po files.
(This used to be commit af135938c1)
2007-12-21 05:44:30 +01:00
Andrew Bartlett
0d5c5cb372 r25857: Indent
(This used to be commit f42690a90c)
2007-12-21 05:44:30 +01:00
Andrew Bartlett
e3198b3acd r25856: If the search fails, it is not valid to steal 'res'.
Andrew Bartlett
(This used to be commit f4d733c3d0)
2007-12-21 05:44:29 +01:00