1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

25602 Commits

Author SHA1 Message Date
Günther Deschner
b94093173d Pure cosmetics: remove trailing whitespace in netlogon server.
Guenther
(This used to be commit 983ac0a6762b52945a784ccbc371f4df99a0a52b)
2008-02-13 14:18:23 +01:00
Günther Deschner
a2c0ca84d5 Remove const on policy handle in net rpc.
Volker, are you ok with that?

Guenther
(This used to be commit f1c7fa19e43d720f0d42e6d1999130462d5979da)
2008-02-13 14:17:29 +01:00
Michael Adam
4b18f4f222 Only use the needed objects for libnetapi.a
Michael
(This used to be commit 4ffc73d90883491b9d4dc6d0249e1d859939670b)
2008-02-13 14:10:06 +01:00
Michael Adam
1fee36432b Add -L./bin to LDFLAGS when building shared libs.
Formerly this was only needed for libwbclient, but now that we start
using more shared libs internally, this is needed more globally
to support linking internal libs dynamically on systemy without winbindd.

Michael
(This used to be commit ec793572187228deda7210dab02882e4e09f1972)
2008-02-13 13:48:51 +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 e3435930a307cff3066fe2047ed8c5c48911f001)
2008-02-13 13:30:16 +01:00
Stefan Metzmacher
5fb87ff3ef wbinfo: use wbcAuthenticateUserEx()
metze
(This used to be commit 923cb37837d508d5355038e95ed1ac09c5869a89)
2008-02-13 13:30:16 +01:00
Stefan Metzmacher
9d27ded946 libwbclient: add wbcAuthenticateUserEx() function
This function will be used by auth_winbind.c.

metze
(This used to be commit 72af96a320a97ce1a730d6e33d01950123d6a97c)
2008-02-13 13:30:15 +01:00
Stefan Metzmacher
3649f728ed winbindd: add rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode
metze
(This used to be commit c5e6dd1ca9611e2830ff773875998c01bf779a64)
2008-02-13 13:30:15 +01:00
Michael Adam
dc708ef3a2 Only export talloc related symbols in libtalloc.so.
Michael
(This used to be commit 60a4c8411b71f9f17956b51fd882f71273f5b0ca)
2008-02-13 12:41:03 +01:00
Günther Deschner
abba82ef5b Use pidl for _netr_LogonControl.
Guenther
(This used to be commit ec4947525e0881bfcde661f906ccd1f66fe54f5a)
2008-02-13 12:19:37 +01:00
Günther Deschner
c6acbc16a6 Use rpccli_netr_LogonControl() in rpcclient.
Guenther
(This used to be commit d54456f3c42f123af5516c6f75c87b279fdc775f)
2008-02-13 12:19:20 +01:00
Günther Deschner
7f09dcdd4b Remove redundant (and unused) set of samr opcodes.
Guenther
(This used to be commit 46d5989562bb771b3dcb2fdd197d2f90c3ff8653)
2008-02-13 12:19:19 +01:00
Michael Adam
4cd4ff474e Add libreplace objects to libtalloc.so.
Michael
(This used to be commit a84bf0786f269b8514e0a08e32fa429cefabe1d3)
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 8a8c5826e7a55742169e60d2145a7fe4d5786a23)
2008-02-13 11:36:17 +01:00
Günther Deschner
c60460a549 Remove unused marshalling for SAMR_ENUM_DOM_ALIASES.
Guenther
(This used to be commit 7e1f33436adb0625662969f52b501c57d4a4bc87)
2008-02-13 11:18:36 +01:00
Günther Deschner
ce7d5975b4 Convert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.
Guenther
(This used to be commit 33a97b447c1875bf1cd5a703871a84a7fb359fec)
2008-02-13 11:18:36 +01:00
Günther Deschner
4843df31de Remove unused marshalling for SAMR_ENUM_DOM_GROUPS.
Guenther
(This used to be commit 6f269ec8c0ad18bd0c04d5fc459fa80ab72dba63)
2008-02-13 11:18:36 +01:00
Günther Deschner
55a8d956d1 Convert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.
Guenther
(This used to be commit 8890bc481f60cd42d96b240b2ed8e34bc3d81f13)
2008-02-13 11:18:36 +01:00
Michael Adam
ee9d033e65 Change hand written configure help strings to use AS_HELP_STRING().
Michael
(This used to be commit d950174bcb50ecb70dfef71d4201feec4985c08b)
2008-02-13 11:03:50 +01:00
Michael Adam
5566b3372b Use AS_HELP_STRING instead of (deprecated) AC_HELP_STRING.
Existence is guaranteed by libreplace.

Michael
(This used to be commit 90bdd0fa2ee09bab8c661c241f5d5fe8fc57016b)
2008-02-13 11:03:49 +01:00
Günther Deschner
7c0796a494 Remove unused marshalling for SAMR_LOOKUP_RIDS.
Guenther
(This used to be commit c6db963dacb04a9b2ee12705d8cfb29b843c0ea2)
2008-02-13 10:56:56 +01:00
Günther Deschner
cdc07216e4 Convert last caller (in winbindd) to rpccli_samr_LookupRids.
Guenther
(This used to be commit 34c2566f026dbde4da10e2fc10c6960260eb6044)
2008-02-13 10:56:56 +01:00
Günther Deschner
af161cf49c Remove unused init_sam_entry routine.
Guenther
(This used to be commit c19847a02486414117425930367dcd210e911715)
2008-02-13 10:56:56 +01:00
Michael Adam
c3d7358994 Fix build: Add missing prerequisites for libwbclient.so
Michael
(This used to be commit fa3a78b815e0bcbb4ac08b6277f798593c0458e9)
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 135d9dd6d830ce6ae5c7917468763aa9a148d76a)
2008-02-13 10:44:52 +01:00
Stefan Metzmacher
cedfcaec0c nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
metze
(This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)
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 26d012dd3de8ec146eb22656f1ed8eef110e4be6)
2008-02-13 10:36:48 +01:00
Günther Deschner
111ea7682e Remove unused marshalling for NET_TRUST_DOM_LIST.
Guenther
(This used to be commit 9312755955eac9897c8117773f8cd7d1652b2bca)
2008-02-13 10:27:15 +01:00
Günther Deschner
3b45ebb1b7 Use pidl for _netr_NetrEnumerateTrustedDomains().
This call is completely broken. For now, just make sure that we return the exact same
data as before the conversion to pidl.

Guenther
(This used to be commit 243bdaeea7900ab6a65edfda877e8c225ec7b213)
2008-02-13 10:23:45 +01:00
Günther Deschner
0622fd72a3 Merge data_blob_talloc_zero() from samba4.
Guenther
(This used to be commit 9fca3ca37eaf10c24f852e854dd28b7155c3e536)
2008-02-13 10:20:10 +01:00
Michael Adam
85e3c091d4 Add linking -ltalloc to libwbclient.so. Noted by Metze.
Michael
(This used to be commit e904a3dd532d7510ac2393e598b3edcf8e1349e8)
2008-02-13 10:11:43 +01:00
Michael Adam
952e787e37 Add forgotten file exports/libtalloc.syms ... Thanks Günther!
Michael
(This used to be commit b1deb11a19f09325449fd30fb364173f9ba9d681)
2008-02-13 09:48:47 +01:00
Günther Deschner
b462e92b2a Some minor, cosmetic cleanup in srv_samr_util.c.
Guenther
(This used to be commit cd5bf3449adee7537ae6ca4e3b398e99d34555fd)
2008-02-13 09:42:47 +01:00
Michael Adam
c040b9be92 Fix some comment typos.
Michael
(This used to be commit bc4482cde1571bb1cb2d55106fc8ee22d26efa23)
2008-02-13 09:25:31 +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 97a60565ad6657af8e4a3b8b38b69b48597e3eec)
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 d1bec3882908086747e1176a275617700cada097)
2008-02-13 09:25:31 +01:00
Michael Adam
79a3ed88cc Simplify code by moving duplicate assignment to common place.
Michael
(This used to be commit dddfdee90ee30d225e08d7f1685409f62fabf7c1)
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 71b990d9d687b517dec3d4eff67b6a3fe417a12a)
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 880238c65c13c8b280e2f34431aa331a16af4a7b)
2008-02-13 09:25:31 +01:00
Michael Adam
57794a0550 Move the AC_LIBREPLACE_CC_CHECKS up before building SAMBA_CPPFLAGS.
Michael
(This used to be commit ed2337e3a24e800e0a445a9ffc7d735d49abc6d7)
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 cb7f42bcbc6cbe84823402cd3c7bb9327669ed9b)
2008-02-13 09:25:31 +01:00
Jeremy Allison
089227e520 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 5116c9d9f4bd1a523ac7a2a31b3b1552388f040f)
2008-02-12 17:56:02 -08:00
Jeremy Allison
a6997bb2ff Prevent "parameters" being used without initialization.
Jeremy.
(This used to be commit f0195e937d5d42a8d92e9d861199538fd44a3c9b)
2008-02-12 17:21:17 -08:00
Michael Adam
fbe8014b65 Fix copy & paste typo in function prototype.
Michael
(This used to be commit 4c2f0e027d2d0c5c5845550b72e6568c503f6cf9)
2008-02-13 01:40:12 +01:00
Michael Adam
114fe09af7 Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
Michael
(cherry picked from commit 38855a9f145b54d05f4a508562fc1a6595e0d895)
(This used to be commit 303a3eb128b410be0f4ebb936cd3b983e639c07f)
2008-02-13 01:40:12 +01:00
Jelmer Vernooij
3519e91a85 Make sure talloc.so is build before installing.
(cherry picked from commit 51769f5cfc0f3a9f85ea533598a1f769e108d075)
(This used to be commit da98f4d223997709b42b4f05ab94d564261f5aee)
2008-02-13 01:40:12 +01:00
Jelmer Vernooij
9a7e977a73 Fix out of tree builds.
(cherry picked from parts of commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)

Michael
(This used to be commit a780c0594aeea3705d601a327aa04d9182060cbd)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
81a44cb699 Split actual content out of talloc Makefile into talloc.mk.
(cherry picked from commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b)
(This used to be commit 7710d3dea350a85348d46747e4f4cde2b20741de)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
ff0065672e Split rules.mk out of Makefile.
(cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
(This used to be commit 6f8165e4b064f37335e2b0b185ae6433c06a061a)
2008-02-13 01:40:11 +01:00
Michael Adam
38b92adebc Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
Not sure if we can produce one from the other, so I manually made
them equal for now.

Michael
(cherry picked from commit 1c14c457bea75fb3055712547cca501e8ef3fc20)
(This used to be commit 0d9ae82f51302c9755b6e50f1df88eb2a079f12a)
2008-02-13 01:40:11 +01:00