1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

1235 Commits

Author SHA1 Message Date
Michael Adam
769d6eb7eb Remove the regfio objects from the ldb commandlin tools object list - unused.
Michael
(This used to be commit 047c5ba740)
2008-02-14 16:32:40 +01:00
Michael Adam
b2b0a42fb8 Clean up LIBTDB-related Makefile variables a bit
(removing commented out stuff).

Michael
(This used to be commit 0755785d80)
2008-02-14 16:32:29 +01:00
Michael Adam
b09b3ac8f8 Create symbols to export in libtdb dynamically from tdb.h.
This adds a general mechanism to create version-scripts for
linking shared libraries from one or several header files,
similar to mkproto.sh/awk.

Michael
(This used to be commit 65817703c4)
2008-02-14 14:17:57 +01:00
Michael Adam
8e3ae7baaf Add support for building and using shared and static libtdb library.
This should work with m4_include(lib/tdb/libtdb.m4) like already
done with talloc, but currently this does not work (yet) - tdb
code has to be merged from s4 before that.

Michael
(This used to be commit e92fdf6b20)
2008-02-14 14:17:57 +01:00
Michael Adam
574dce7c0e Link in libnetapi as shared or static library (same mechanism as talloc).
This, too, can be turned to static linking by providing the configure
parameter --with-static-libs=netapi.

Michael
(This used to be commit a4c773de0f)
2008-02-13 14:45:13 +01:00
Michael Adam
4b18f4f222 Only use the needed objects for libnetapi.a
Michael
(This used to be commit 4ffc73d908)
2008-02-13 14:10:06 +01:00
Stefan Metzmacher
b397b5cb8f auth_winbind: use wbcAuthenticateUserEx()
smbd doesn't need $(WBCOMMON_OBJ) anymore,
it works with any libwbclient.so now
and may talk to an older winbindd.

metze
(This used to be commit e3435930a3)
2008-02-13 13:30:16 +01:00
Michael Adam
4cd4ff474e Add libreplace objects to libtalloc.so.
Michael
(This used to be commit a84bf0786f)
2008-02-13 11:54:41 +01:00
Günther Deschner
be4ca67316 Goodbye parse_samr.c, rest in peace - but never come back!
Guenther
(This used to be commit 8a8c5826e7)
2008-02-13 11:36:17 +01:00
Michael Adam
c3d7358994 Fix build: Add missing prerequisites for libwbclient.so
Michael
(This used to be commit fa3a78b815)
2008-02-13 10:52:21 +01:00
Stefan Metzmacher
f724a8ff58 libwbclient: include wb_common.o in libwbclient.a
And only link in wb_common.o directly into binaries
which really need it.

Note: It's important that $(WBCOMMON_OBJ) comes before
      @LIBWBCLIENT_STATIC@ overwise we may try to
      link in wb_common.o twice.

metze
(This used to be commit 135d9dd6d8)
2008-02-13 10:44:52 +01:00
Michael Adam
29bf356f26 Fix install: Add creation of include dir to installlibtalloc target.
Michael
(This used to be commit 26d012dd3d)
2008-02-13 10:36:48 +01:00
Michael Adam
85e3c091d4 Add linking -ltalloc to libwbclient.so. Noted by Metze.
Michael
(This used to be commit e904a3dd53)
2008-02-13 10:11:43 +01:00
Michael Adam
62c94e0acc Remove some unneded variables: we always build and install some talloc libs.
LIBTALLOC, INSTALL_LIBTALLOC, UNINSTALL_LIBTALLOC

Michael
(This used to be commit 97a60565ad)
2008-02-13 09:25:31 +01:00
Michael Adam
cb69724050 Put talloc lib targets into variables and uses these.
LIBTALLOC_STATIC_TARGET and LIBTALLOC_SHARED_TARGET.

Michael
(This used to be commit d1bec38829)
2008-02-13 09:25:31 +01:00
Michael Adam
ea22f75493 Add support for linking talloc library statically or dynamically into samba.
This also establishes a general configure mechanism to control static vs
dynamic linking of internal subsystems built as libraries:
This first simple approach is as follows.

* It applies only to "subsystems" that we build as libraries and for
  that linking samba against the libraries (as opposed to linking in
  the plain object files) has been configured in Makefile.in.

* If we do build the shared library, then we link dynamically by default.

* We only link statically if we don't build shared or if the library
  appears in the new --with-static-libs configure option
  (comma-separated list).

Example (currently only one):
  --with-static-libs=talloc makes use of libtalloc.a instead
  of linking the dynamic variant with -ltalloc.

A possilble way to setup linking against libraries in Makefile.in is this:
For a subsystem, "mylib" say, we build bin/libmylib.a and bin/libmylib.so.
The subsystem usually has a MYLIB_OBJ definition in Makefile.in.  Define
LIBMYLIB_STATIC=bin/libmylib.a and and LIBMYLIB_LIBS=-lmylib in configure.in
as controlled by presence of "mylib" in the list given to --with-static-libs
and change uses of $(MYLIB_OBJ) to @LIBMYLIB_STATIC@ in Makefile.in and
add @LIBMYLIB_LIBS@ to the link targets as needed.

In the example of talloc, which is needed everywhere, I have simply
added @LIBTALLOC_LIBS@ to the definition of "LIBS" in Makefile.in.
For other subsystems, one will have to be more careful.

Michael
(This used to be commit 71b990d9d6)
2008-02-13 09:25:31 +01:00
Michael Adam
2a9cbe3c13 Use data from lib/talloc/libtalloc.m4 instead of hard coded data.
Michael
(This used to be commit 880238c65c)
2008-02-13 09:25:31 +01:00
Michael Adam
c7e80b0c20 Add support for building libtalloc.a and libtalloc.so.
Michael
(This used to be commit cb7f42bcbc)
2008-02-13 09:25:31 +01:00
Günther Deschner
e2b3aad817 Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f44)
2008-02-12 22:05:39 +01:00
Günther Deschner
80d20d8e54 w00t! SAMR server-side conversion to pidl is finished.
Guenther
(This used to be commit c6d9650930)
2008-02-12 14:55:20 +01:00
Günther Deschner
6aa84ad8c5 Move some samr init functions around (to allow easier identification of new
calls).

Guenther
(This used to be commit c51c126049)
2008-02-12 12:30:51 +01:00
Michael Adam
03ccbd47d4 Fix building with "make -j2" or greater by building shared libs first.
Also build libwbclient before the other shared libs so
building libsmbclient (e.g.) won't fail.

Michael
(This used to be commit 09184e774b)
2008-02-08 00:56:39 +01:00
Michael Adam
7183e5811e Add support for LDAP debug output in Samba log file.
Logging of the ldap libraries appears with a [LDAP] prefix
inside the samba logs. This is controlled by two new parameters:

* "ldap debug level" sets the debug level of the ldap libraries.
  It is the bit-field as understood by the openldap server.

* "ldap debug threshold" is the samba debug level at which ldap
  logging appears inside the samba logs.

This probably needs some configure tests since it makes
use of the LBER_OPT_LOG_PRINT_FN option to redirect the
debug output of the ldap libraries.

Michael
(This used to be commit 15c25990bd)
2008-02-06 18:16:22 +01:00
Günther Deschner
09454362cf Enable build of pidl generated netlogon server.
Guenther
(This used to be commit cb0fad1c97)
2008-01-31 13:46:54 +01:00
Günther Deschner
3d507a2fca Let _samr_Close() use pidl generated server code.
Guenther
(This used to be commit 2df3408079)
2008-01-31 11:20:13 +01:00
Günther Deschner
80b2e330f9 Remove include/rpc_ds.h and all references to it completly.
Jerry, please have a look if you're fine with that.

Guenther
(This used to be commit beae25c808)
2008-01-29 17:51:05 +01:00
Günther Deschner
1a7583dd0b Remove unused rpc_ds marshalling code that is unused now.
Guenther
(This used to be commit 153253e14f)
2008-01-29 15:51:19 +01:00
Günther Deschner
5a89a4674e Finally delete rpccli_ds_enum_domain_trusts() completly.
Guenther
(This used to be commit c420e42adf)
2008-01-29 15:23:38 +01:00
Günther Deschner
7cab0f5c0c Fix the build. Avoid unrequired ndr_print_ads_struct dependencies.
Guenther
(This used to be commit c832882e49)
2008-01-29 15:17:02 +01:00
Günther Deschner
05ff7fd46e Use generated DSSETUP client & server rpc functions and remove the hand-written ones.
Guenther
(This used to be commit d5ebfccebb)
2008-01-25 15:30:43 +01:00
Günther Deschner
d7d4f1c132 Add generated dssetup code after make idl.
Guenther
(This used to be commit 4b3d96be80)
2008-01-25 15:25:12 +01:00
Günther Deschner
af7f24d979 Add winbindd debugging ndr_print helpers.
Guenther
(This used to be commit 4389e4dadb)
2008-01-24 16:21:59 +01:00
Günther Deschner
df5b03a780 Re-run make idl and use generated ndr based on samba4 security.idl (except for DOM_SID).
Guenther
(This used to be commit 1781a57b18)
2008-01-24 13:54:45 +01:00
Michael Adam
99dfd66488 Rename lib/util_reg_smbconf.c to registry/reg_init_smbconf.c
This actually is a counterpart to reg_init_full, in that is does
open and initialize the registry too, but only registeres the backends
necessary to access the SMBCONF key.

Michael
(This used to be commit 01bda3ab35)
2008-01-21 08:49:12 +01:00
Michael Adam
1b4dfc2e7d Move reg_frontend_hilvl.c to reg_dispatcher.c
This is actually the dispatcher to the registered registry backends.

Michael
(This used to be commit 39d65d11f8)
2008-01-21 08:49:12 +01:00
Michael Adam
42641d6321 Extend/fix comments.
Michael
(This used to be commit 4952417fca)
2008-01-21 08:49:12 +01:00
Michael Adam
99186bf726 Extract regkey_open_internal() from reg_frontend.c to new reg_util_legacy.c
reg_openpath should be used instead of this function (along with the
reg_api interface). Last callers of this function are in services_db.c

Michael
(This used to be commit 0005b88d74)
2008-01-21 08:49:12 +01:00
Michael Adam
b5666ceefb Rename reg_db.c to reg_backend_db.c
Michael
(This used to be commit c3f695d3b1)
2008-01-21 08:49:12 +01:00
Michael Adam
e7520f3ad8 Rename reg_shares.c to reg_backend_shares.c
Michael
(This used to be commit aaf33ae5b8)
2008-01-21 08:49:12 +01:00
Michael Adam
4ccee0dc0c Rename reg_smbconf.c to reg_backend_smbconf.c
Michael
(This used to be commit b85e5ee450)
2008-01-21 08:49:12 +01:00
Michael Adam
1e68e24c8e Rename reg_printing.c to reg_backend_printing.c
Start making naming of source files more systematic
to facilitate understanding of the structures.

Michael
(This used to be commit b3c2fb17a4)
2008-01-21 08:49:12 +01:00
Michael Adam
625c17e670 Makefile.in: Group together registry related object variables.
Michael
(This used to be commit cf485273f6)
2008-01-21 08:49:12 +01:00
Michael Adam
8f290dccc9 Makefile.in: extract registry backend objects to common variable.
Michael
(This used to be commit 562c3eb37e)
2008-01-21 08:49:12 +01:00
Michael Adam
ea725473b3 reg_eventlog.o and reg_perfcount.o are no longer neede for reg_smbconf.
This is an effect of the removal of the dynamic registry overlay.
This is the beginning of a restructuring of registry linkage in Makefile.in.

Michael
(This used to be commit 7453e78a8e)
2008-01-21 08:49:11 +01:00
Michael Adam
e45dacce89 Remove the dynamic registry overlay.
It is unnecessary now the dynamic functions have been made
registry backends of their own.

Michael
(This used to be commit e327953bd6)
2008-01-20 03:47:37 +01:00
Michael Adam
c16b74cc86 Add a registry backend perflib that replaces the former dynamic overlay.
Michael
(This used to be commit c3fba41595)
2008-01-20 03:47:37 +01:00
Michael Adam
2925d83573 Add a registry backend current_version that replaces the former dynamic overlay.
Make sure to only respond to the exact current version key since subkeys
are registered by other backends (printing and - soon - perflib).

Michael
(This used to be commit 2c650bf63c)
2008-01-20 03:47:36 +01:00
Michael Adam
949a88ee2f Add a registry backend hkpt_params that replaces the former dynamic overlay.
Michael
(This used to be commit 8e8bb6ba12)
2008-01-20 02:03:40 +01:00
Michael Adam
c5a5b404b4 Add a registry backend tcpip_params that replaces the former dynamic overlay.
Michael
(This used to be commit a8a743b693)
2008-01-20 02:03:40 +01:00
Michael Adam
663815ec2b Add a registry backend prod_options that replaces the former dynamic overlay.
Michael
(This used to be commit d9b89e9d30)
2008-01-20 02:03:39 +01:00