1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

25788 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
defae9b501 build: Remove support for DESCRIPTION setting that is now unused.
(cherry picked from parts of commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)

Michael
(This used to be commit 4b03f88c1ed8c1a2c1e5e7d461ca2d64a8d6a054)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
df202a4ec4 talloc/tdb: Use manually written pc file.
(cherry picked from parts of c8947fda23eb874a7694bdee1b4de605744c2769)

Michael
(This used to be commit 77664bc482071798571096a299e7d8b190f53797)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
3d33ad711c r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.

(cherry picked from talloc part of commit c550c03372cb260b78f6a6c132e70571bc4cb852)

Michael
(This used to be commit a146145c28cc355fed47b8a1f322311ffc1a51ab)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
5a9f0cabf6 r26454: Add simple SWIG macro for wrapping talloced types.
(cherry picked from talloc parts of commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)

Michael
(This used to be commit f4c59316b9251477556dd22cdd246607f4dfa845)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
b59da67d2f r26292: Make sure swig directory exists.
(cherry picked from commit 7962d221fcb877c9fd3bbc890827338de54ca94a)
(This used to be commit d6198f2bd7d13b5f30bcc46e12026a00f52d9adc)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
6a7dff4a73 r26280: Fix installation if swig is not available.
(cherry picked from commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c)
(This used to be commit f1267f74a91374692c3564d783c527f94035b323)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
580bb2a6ad r26276: Install SWIG files if swig is present.
(cherry picked from talloc parts of commit dfd5b456f932268e2b1a82e2775037d356b9483e)

Michael
(This used to be commit 8276ec7596b41980aea3f93949edd224fe842fa5)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
461ad00b1f r26197: Add bindings for libsecurity.
(cherry picked from parts of commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135)

Michael
(This used to be commit 22d48224d3235403b916c98c92915165fe7ef330)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
fbc295fb37 r26187: Fix module name, indentation.
(cherry picked from parts of commit ef790ebf3a712dbbb85d6af65c804199c2c084fc)

Michael
(This used to be commit 8e35bbeac286c3b8d64d69ebe9bb4a8f5405a9c0)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
4e066d4f83 r26072: Import trivial SWIG wrapper for talloc.
(cherry picked from commit 02d259c2c45c03dbfcd16173df93d7ba96ed1419)
(This used to be commit 5938a732381abed9f5da1db505626b354fe7293e)
2008-02-13 01:40:10 +01:00
Stefan Metzmacher
68c7089552 r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
metze

(cherry picked from parts of commit c179807165b84dd832ab64f794034960668e5957.
The changes to lib/replaces have already been merged.)

Michael
(This used to be commit 6c092918725019274cd26218168c5b551ab3c7d2)
2008-02-13 01:40:10 +01:00
Stefan Metzmacher
8943a43a4b r25973: talloc: fix usage of SONAMEFLAG
metze
(cherry picked from commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a)
(This used to be commit ce3625a3866376d78edc23b137f41be72f07e5eb)
2008-02-13 01:40:10 +01:00
Jelmer Vernooij
12c81d1b55 r25953: AIX make doesn't support $^.
(cherry picked from parts of commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c)

Michael
(This used to be commit f231d03e53dcf291e0cb8870e531989ab855eae0)
2008-02-13 01:40:10 +01:00
Jelmer Vernooij
07a5bd6027 r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(cherry picked from parts of commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)

Michael
(This used to be commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28)
2008-02-13 01:40:10 +01:00