Michael Adam [Thu, 14 Feb 2008 14:35:07 +0000 (15:35 +0100)]
Use the proper boolean constants.
Michael
Michael Adam [Thu, 14 Feb 2008 13:21:49 +0000 (14:21 +0100)]
Clean up LIBTDB-related Makefile variables a bit
(removing commented out stuff).
Michael
Günther Deschner [Thu, 14 Feb 2008 14:29:51 +0000 (15:29 +0100)]
Remove unused marshalling for LSA_REMOVE_ACCT_RIGHTS.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:28:26 +0000 (15:28 +0100)]
Use rpccli_lsa_RemoveAccountRights() in net and rpcclient.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:20:18 +0000 (15:20 +0100)]
Use pidl for _lsa_RemoveAccountRights.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:21:54 +0000 (15:21 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:20:47 +0000 (15:20 +0100)]
Fix IDL for lsa_RemoveAccountRights.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:11:35 +0000 (15:11 +0100)]
Remove unused marshalling for LSA_ENUM_ACCT_RIGHTS.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:09:21 +0000 (15:09 +0100)]
Use rpccli_lsa_EnumAccountRights in net and rpcclient.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:02:59 +0000 (15:02 +0100)]
Fix IDL for lsa_EnumAccountRights.
Guenther
Günther Deschner [Thu, 14 Feb 2008 14:02:31 +0000 (15:02 +0100)]
Use pidl for _lsa_EnumAccountRights().
Guenther
Günther Deschner [Thu, 14 Feb 2008 13:35:27 +0000 (14:35 +0100)]
Remove unused marshalling for LSA_ADD_ACCT_RIGHTS.
Guenther
Günther Deschner [Thu, 14 Feb 2008 13:34:10 +0000 (14:34 +0100)]
Use rpccli_lsa_AddAccountRights in net and rpcclient.
Guenther
Günther Deschner [Thu, 14 Feb 2008 13:21:49 +0000 (14:21 +0100)]
Use pidl for _lsa_AddAccountRights().
Guenther
Günther Deschner [Thu, 14 Feb 2008 13:36:30 +0000 (14:36 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Thu, 14 Feb 2008 13:22:25 +0000 (14:22 +0100)]
Fix IDL for lsa_AddAccountRights.
Guenther
Michael Adam [Thu, 14 Feb 2008 13:15:07 +0000 (14:15 +0100)]
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
Michael Adam [Thu, 14 Feb 2008 12:29:44 +0000 (13:29 +0100)]
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
Michael Adam [Wed, 13 Feb 2008 23:31:37 +0000 (00:31 +0100)]
Fix a typo.
This had no negative side effect since currently TALLOC_OBJ
only consists of one object.
Michael
Günther Deschner [Thu, 14 Feb 2008 13:01:49 +0000 (14:01 +0100)]
Remove unused marshalling for LSA_ADDPRIVS and LSA_REMOVEPRIVS.
Guenther
Günther Deschner [Thu, 14 Feb 2008 12:50:32 +0000 (13:50 +0100)]
Use pidl for _lsa_AddPrivilegesToAccount and _lsa_RemovePrivilegesFromAccount.
Guenther
Günther Deschner [Thu, 14 Feb 2008 12:46:39 +0000 (13:46 +0100)]
Add lsaaddpriv and lsadelpriv commands to rpcclient.
Guenther
Günther Deschner [Thu, 14 Feb 2008 11:47:04 +0000 (12:47 +0100)]
Fix IDL for lsa_AddPrivilegesToAccount.
Guenther
Günther Deschner [Thu, 14 Feb 2008 12:31:55 +0000 (13:31 +0100)]
Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.
Guenther
Günther Deschner [Thu, 14 Feb 2008 12:29:18 +0000 (13:29 +0100)]
Use rpccli_lsa_LookupPrivValue() in rpcclient.
Guenther
Günther Deschner [Thu, 14 Feb 2008 12:25:42 +0000 (13:25 +0100)]
Use pidl for _lsa_LookupPrivValue().
Guenther
Günther Deschner [Thu, 14 Feb 2008 12:09:54 +0000 (13:09 +0100)]
Fix IDL for lsa_LookupPrivValue.
Guenther
Günther Deschner [Thu, 14 Feb 2008 11:15:17 +0000 (12:15 +0100)]
Remove unused marshalling for LSA_ENUMPRIVSACCOUNT.
Guenther
Günther Deschner [Thu, 14 Feb 2008 11:13:13 +0000 (12:13 +0100)]
Use rpccli_lsa_EnumPrivsAccount() in rpcclient.
Guenther
Günther Deschner [Thu, 14 Feb 2008 12:12:28 +0000 (13:12 +0100)]
Remove white space.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:53:00 +0000 (01:53 +0100)]
Use pidl for _lsa_EnumPrivsAccount().
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:55:22 +0000 (01:55 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:51:15 +0000 (01:51 +0100)]
Fix IDL for lsa_EnumPrivsAccount.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:53:42 +0000 (01:53 +0100)]
Fix typo.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:45:07 +0000 (01:45 +0100)]
Remove accidential commit.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:34:34 +0000 (01:34 +0100)]
Remove unused marshalling for LSA_ENUM_ACCOUNTS.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:32:56 +0000 (01:32 +0100)]
Use rpccli_lsa_EnumAccounts() in net and rpcclient.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:16:03 +0000 (01:16 +0100)]
Use pidl for _lsa_EnumAccounts.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:07:54 +0000 (01:07 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Thu, 14 Feb 2008 00:08:40 +0000 (01:08 +0100)]
Fix IDL for lsa_EnumAccounts.
Guenther
Michael Adam [Wed, 13 Feb 2008 23:09:17 +0000 (00:09 +0100)]
Try and fix the Darwin build with dynamic libs.
Golly gosh, this one took me quite some time to figure out!
Hopefully, I did not introduce any typos copying...
Michael
Günther Deschner [Wed, 13 Feb 2008 22:12:42 +0000 (23:12 +0100)]
Remove unused marshalling for NET_LOGON_CTRL and NET_LOGON_CTRL2.
Guenther
Günther Deschner [Wed, 13 Feb 2008 22:06:09 +0000 (23:06 +0100)]
Use pidl for _netr_LogonControl2.
Guenther
Günther Deschner [Wed, 13 Feb 2008 21:55:44 +0000 (22:55 +0100)]
Add some netr_NETLOGON_INFO init functions.
Guenther
Günther Deschner [Wed, 13 Feb 2008 21:54:43 +0000 (22:54 +0100)]
Fix logonctrl2 command in rpcclient.
Guenther
Günther Deschner [Wed, 13 Feb 2008 16:57:57 +0000 (17:57 +0100)]
Move some lsa init routines around.
Guenther
Günther Deschner [Wed, 13 Feb 2008 22:00:36 +0000 (23:00 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 13 Feb 2008 15:46:23 +0000 (16:46 +0100)]
Fix IDL for netr_ServerPasswordSet.
Guenther
Michael Adam [Wed, 13 Feb 2008 13:53:34 +0000 (14:53 +0100)]
Remove --enable-libwbclient-shared , use --with-static-libs=libwbclient instead.
Use the more general mechanism.
The enable_developer-check is preserved, of course.
Michael
Michael Adam [Wed, 13 Feb 2008 14:10:53 +0000 (15:10 +0100)]
Use --with-static-libs=libtalloc instead of --with-static-libs=talloc
for consistency (and similar for all other examples).
Michael
Michael Adam [Wed, 13 Feb 2008 13:43:56 +0000 (14:43 +0100)]
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
Günther Deschner [Wed, 13 Feb 2008 13:12:29 +0000 (14:12 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Wed, 13 Feb 2008 11:29:24 +0000 (12:29 +0100)]
Fix IDL for netr_LogonControl2.
Guenther
Günther Deschner [Wed, 13 Feb 2008 13:08:59 +0000 (14:08 +0100)]
Use pidl for _netr_ServerReqChallenge.
Guenther
Günther Deschner [Wed, 13 Feb 2008 11:24:56 +0000 (12:24 +0100)]
Pure cosmetics: remove trailing whitespace in netlogon server.
Guenther
Günther Deschner [Wed, 13 Feb 2008 13:10:10 +0000 (14:10 +0100)]
Remove const on policy handle in net rpc.
Volker, are you ok with that?
Guenther
Michael Adam [Wed, 13 Feb 2008 13:10:06 +0000 (14:10 +0100)]
Only use the needed objects for libnetapi.a
Michael
Michael Adam [Wed, 13 Feb 2008 12:48:00 +0000 (13:48 +0100)]
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
Stefan Metzmacher [Mon, 4 Feb 2008 17:18:36 +0000 (18:18 +0100)]
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
Stefan Metzmacher [Tue, 29 Jan 2008 15:21:14 +0000 (16:21 +0100)]
wbinfo: use wbcAuthenticateUserEx()
metze
Stefan Metzmacher [Thu, 24 Jan 2008 13:05:59 +0000 (14:05 +0100)]
libwbclient: add wbcAuthenticateUserEx() function
This function will be used by auth_winbind.c.
metze
Stefan Metzmacher [Fri, 18 Jan 2008 07:43:45 +0000 (08:43 +0100)]
winbindd: add rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode
metze
Michael Adam [Wed, 13 Feb 2008 11:41:00 +0000 (12:41 +0100)]
Only export talloc related symbols in libtalloc.so.
Michael
Günther Deschner [Wed, 13 Feb 2008 10:56:24 +0000 (11:56 +0100)]
Use pidl for _netr_LogonControl.
Guenther
Günther Deschner [Wed, 30 Jan 2008 22:43:57 +0000 (23:43 +0100)]
Use rpccli_netr_LogonControl() in rpcclient.
Guenther
Günther Deschner [Wed, 13 Feb 2008 10:43:45 +0000 (11:43 +0100)]
Remove redundant (and unused) set of samr opcodes.
Guenther
Michael Adam [Wed, 13 Feb 2008 10:54:41 +0000 (11:54 +0100)]
Add libreplace objects to libtalloc.so.
Michael
Günther Deschner [Wed, 13 Feb 2008 10:36:17 +0000 (11:36 +0100)]
Goodbye parse_samr.c, rest in peace - but never come back!
Guenther
Günther Deschner [Wed, 13 Feb 2008 10:17:40 +0000 (11:17 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_ALIASES.
Guenther
Günther Deschner [Wed, 13 Feb 2008 10:15:40 +0000 (11:15 +0100)]
Convert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.
Guenther
Günther Deschner [Wed, 13 Feb 2008 10:11:34 +0000 (11:11 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_GROUPS.
Guenther
Günther Deschner [Wed, 13 Feb 2008 10:08:49 +0000 (11:08 +0100)]
Convert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.
Guenther
Michael Adam [Wed, 13 Feb 2008 10:03:18 +0000 (11:03 +0100)]
Change hand written configure help strings to use AS_HELP_STRING().
Michael
Michael Adam [Wed, 13 Feb 2008 08:34:40 +0000 (09:34 +0100)]
Use AS_HELP_STRING instead of (deprecated) AC_HELP_STRING.
Existence is guaranteed by libreplace.
Michael
Günther Deschner [Wed, 13 Feb 2008 09:54:56 +0000 (10:54 +0100)]
Remove unused marshalling for SAMR_LOOKUP_RIDS.
Guenther
Günther Deschner [Wed, 13 Feb 2008 09:49:55 +0000 (10:49 +0100)]
Convert last caller (in winbindd) to rpccli_samr_LookupRids.
Guenther
Günther Deschner [Wed, 13 Feb 2008 09:54:16 +0000 (10:54 +0100)]
Remove unused init_sam_entry routine.
Guenther
Michael Adam [Wed, 13 Feb 2008 09:52:16 +0000 (10:52 +0100)]
Fix build: Add missing prerequisites for libwbclient.so
Michael
Stefan Metzmacher [Mon, 11 Feb 2008 17:36:45 +0000 (18:36 +0100)]
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
Stefan Metzmacher [Mon, 11 Feb 2008 17:35:58 +0000 (18:35 +0100)]
nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
metze
Michael Adam [Wed, 13 Feb 2008 09:36:43 +0000 (10:36 +0100)]
Fix install: Add creation of include dir to installlibtalloc target.
Michael
Günther Deschner [Wed, 13 Feb 2008 09:27:15 +0000 (10:27 +0100)]
Remove unused marshalling for NET_TRUST_DOM_LIST.
Guenther
Günther Deschner [Wed, 13 Feb 2008 09:23:45 +0000 (10:23 +0100)]
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
Günther Deschner [Wed, 13 Feb 2008 09:19:06 +0000 (10:19 +0100)]
Merge data_blob_talloc_zero() from samba4.
Guenther
Michael Adam [Wed, 13 Feb 2008 09:11:43 +0000 (10:11 +0100)]
Add linking -ltalloc to libwbclient.so. Noted by Metze.
Michael
Michael Adam [Wed, 13 Feb 2008 08:48:42 +0000 (09:48 +0100)]
Add forgotten file exports/libtalloc.syms ... Thanks Günther!
Michael
Günther Deschner [Tue, 12 Feb 2008 22:30:44 +0000 (23:30 +0100)]
Some minor, cosmetic cleanup in srv_samr_util.c.
Guenther
Michael Adam [Tue, 12 Feb 2008 14:28:51 +0000 (15:28 +0100)]
Fix some comment typos.
Michael
Michael Adam [Tue, 12 Feb 2008 14:26:00 +0000 (15:26 +0100)]
Remove some unneded variables: we always build and install some talloc libs.
LIBTALLOC, INSTALL_LIBTALLOC, UNINSTALL_LIBTALLOC
Michael
Michael Adam [Tue, 12 Feb 2008 14:18:56 +0000 (15:18 +0100)]
Put talloc lib targets into variables and uses these.
LIBTALLOC_STATIC_TARGET and LIBTALLOC_SHARED_TARGET.
Michael
Michael Adam [Tue, 12 Feb 2008 13:43:20 +0000 (14:43 +0100)]
Simplify code by moving duplicate assignment to common place.
Michael
Michael Adam [Fri, 8 Feb 2008 13:41:30 +0000 (14:41 +0100)]
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
Michael Adam [Fri, 8 Feb 2008 16:16:51 +0000 (17:16 +0100)]
Use data from lib/talloc/libtalloc.m4 instead of hard coded data.
Michael
Michael Adam [Mon, 11 Feb 2008 15:09:19 +0000 (16:09 +0100)]
Move the AC_LIBREPLACE_CC_CHECKS up before building SAMBA_CPPFLAGS.
Michael
Michael Adam [Fri, 8 Feb 2008 00:00:03 +0000 (01:00 +0100)]
Add support for building libtalloc.a and libtalloc.so.
Michael
Jeremy Allison [Wed, 13 Feb 2008 01:56:02 +0000 (17:56 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Wed, 13 Feb 2008 01:21:17 +0000 (17:21 -0800)]
Prevent "parameters" being used without initialization.
Jeremy.
Michael Adam [Wed, 13 Feb 2008 00:39:49 +0000 (01:39 +0100)]
Fix copy & paste typo in function prototype.
Michael
Michael Adam [Tue, 12 Feb 2008 21:52:58 +0000 (22:52 +0100)]
Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
Michael
(cherry picked from commit
38855a9f145b54d05f4a508562fc1a6595e0d895)
Jelmer Vernooij [Tue, 12 Feb 2008 11:46:33 +0000 (12:46 +0100)]
Make sure talloc.so is build before installing.
(cherry picked from commit
51769f5cfc0f3a9f85ea533598a1f769e108d075)