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

25614 Commits

Author SHA1 Message Date
Günther Deschner
7acdc9e8d6 Use pidl for _netr_LogonControl2.
Guenther
(This used to be commit 4bd02aa6cdfdfd8f3b678fc81a0a1bd70cef9a67)
2008-02-13 23:06:09 +01:00
Günther Deschner
3722208ddf Add some netr_NETLOGON_INFO init functions.
Guenther
(This used to be commit f0c66688588a4e62c4a250b0d21a0fe14bbc5099)
2008-02-13 23:01:34 +01:00
Günther Deschner
6f05330e4a Fix logonctrl2 command in rpcclient.
Guenther
(This used to be commit c58be24cd43092e5ebf7aa84f167a5cc8344edfc)
2008-02-13 23:01:33 +01:00
Günther Deschner
834fa856da Move some lsa init routines around.
Guenther
(This used to be commit 8d3e7e8bb067b9e0aab79bc460647e8a6176102e)
2008-02-13 23:01:33 +01:00
Günther Deschner
a15db9cada Re-run make idl.
Guenther
(This used to be commit a111167062f0bee9477b5988a3ce796af81407fc)
2008-02-13 23:01:33 +01:00
Günther Deschner
354a99eee1 Fix IDL for netr_ServerPasswordSet.
Guenther
(This used to be commit da951e278c5253b0d23145790c817b2f01ac47ef)
2008-02-13 16:47:33 +01:00
Michael Adam
adcbc2439c Remove --enable-libwbclient-shared , use --with-static-libs=libwbclient instead.
Use the more general mechanism.
The enable_developer-check is preserved, of course.

Michael
(This used to be commit 4321d5aba7ec808aee473c1123027f14bfa19f19)
2008-02-13 15:11:55 +01:00
Michael Adam
8a8c71e08e Use --with-static-libs=libtalloc instead of --with-static-libs=talloc
for consistency (and similar for all other examples).

Michael
(This used to be commit 198768a83242cca3f03d839598200d794bb11606)
2008-02-13 15:11:23 +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 a4c773de0fbd303f633e120e817b4c88fcff2064)
2008-02-13 14:45:13 +01:00
Günther Deschner
120939d5d6 Re-run make idl.
Guenther
(This used to be commit 782ad12e3c100cf74ca0bc353379efe90da69b98)
2008-02-13 14:20:32 +01:00
Günther Deschner
24aeb67d5c Fix IDL for netr_LogonControl2.
Guenther
(This used to be commit d16af5105d307ebb88190176d7f89971d0f40351)
2008-02-13 14:19:56 +01:00
Günther Deschner
4140f3213d Use pidl for _netr_ServerReqChallenge.
Guenther
(This used to be commit ef424319410b7a29ecdfefca53b7e9704beb6139)
2008-02-13 14:18:58 +01:00
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