1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
Commit Graph

1256 Commits

Author SHA1 Message Date
Günther Deschner
e99f740b0a Add very basic ntsvcs client to rpcclient.
Guenther
(This used to be commit 0358ad7e93)
2008-02-17 23:29:56 +01:00
Günther Deschner
d8fcfb1615 Build the generated ntsvcs server (not at all useable yet).
Guenther
(This used to be commit acce1092d9)
2008-02-17 23:03:22 +01:00
Günther Deschner
082392d975 Use pidl for NTSVCS.
Guenther
(This used to be commit 84a9bf0b73)
2008-02-17 22:32:30 +01:00
Günther Deschner
f68ddb1a1a Remove rpc_parse/parse_net.c and some last unused netlogon headers.
Guenther
(This used to be commit b9cc5cfaf9)
2008-02-17 03:00:31 +01:00
Günther Deschner
9f8f9c1483 Finally let our samlogon routines call rpccli_netr_LogonSamLogon internally and
return netr_SamInfo3.

Guenther
(This used to be commit 9e5b732d45)
2008-02-17 02:12:01 +01:00
Günther Deschner
f47d642ca7 Add krb5pac IDL from samba4.
Guenther
(This used to be commit dc2e563e1f)
2008-02-17 01:13:05 +01:00
Michael Adam
c013ff7902 Add missing dependency to libtdb to libnss_wins.so
Michael
(This used to be commit 05e6399318)
2008-02-17 01:09:15 +01:00
Günther Deschner
b4989afbab YES! NETLOGON rpc server side migration to pidl finished.
Guenther
(This used to be commit 7845a0d9a8)
2008-02-16 14:53:45 +01:00
Günther Deschner
c164f1dd80 Add init_netr_SamInfo3 routine.
Guenther
(This used to be commit bf598744c5)
2008-02-16 13:44:33 +01:00
Michael Adam
355faf2e3d Move the implementation of _winreg_RestoreKey to reg_api.c
This removes the internals of reg_api from srv_winreg_nt.c entirely,
only reg_api is used there, now. This enlarges the dependencies of
reg_api somewhat now since it adds regfio. But this can be separated
out later. The current goal is to achieve a complete use of reg_api.

Michael
(This used to be commit 2222acbac9)
2008-02-15 16:23:10 +01:00
Michael Adam
6fe7ed0b12 Add libtdb dependency to libsmbclient, libsmbsharemodes and libnetapi.
Michael
(This used to be commit 94d9d5023e)
2008-02-15 15:59:55 +01:00
Michael Adam
71c34ad4e0 Use -ltdb instead of bin/libtdb.so for linking.
Michael
(This used to be commit 47b952b9a5)
2008-02-15 13:40:28 +01:00
Michael Adam
66ad7e82dc Fix the build on IRIX by placing the object files before the shared libs in linking.
Michael
(This used to be commit f2c6585329)
2008-02-15 13:39:24 +01:00
Michael Adam
6b88ba1761 Remove libwbclient.a from standard (static) libsmbclient object list.
Michael
(This used to be commit 8e57df2886)
2008-02-15 12:20:02 +01:00
Michael Adam
f4c8b85532 Add orphaned target smbiconv to "make everything" targets.
Michael
(This used to be commit 92cc5d88bb)
2008-02-15 11:52:15 +01:00
Michael Adam
a4b93e2063 Fix linkage of bin/smbiconv by adding needed libs and objects.
Michael
(This used to be commit fc08bf5a46)
2008-02-15 11:42:31 +01:00
Michael Adam
a3e38fd921 Remove useless build-target bin/samtest. (The objects exist no more.)
Michael
(This used to be commit e78831cf59)
2008-02-15 11:27:01 +01:00
Michael Adam
9aa1c9f7fe Fix build of cifs.spnego with libtdb.
Michael
(This used to be commit e5e621681d)
2008-02-15 11:15:13 +01:00
Michael Adam
895ab0368a Use -ltdb instead of bin/libtdb.so for linking.
Michael
(This used to be commit c470051896)
2008-02-15 11:11:46 +01:00
Michael Adam
3756759f21 Fix build of smbumount with shared libtdb.
Michael
(This used to be commit 61fb01f17b)
2008-02-15 11:10:53 +01:00
Michael Adam
48f3c385bc Fix building smbmount with shared libtdb.
Michael
(This used to be commit 7f2c4b1a33)
2008-02-15 11:08:56 +01:00
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