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)
Jelmer Vernooij [Mon, 11 Feb 2008 22:51:59 +0000 (23:51 +0100)]
Fix out of tree builds.
(cherry picked from parts of commit
35c8ebdca2612b52cd3eb2aafd35041d17173722)
Michael
Jelmer Vernooij [Mon, 11 Feb 2008 21:52:42 +0000 (22:52 +0100)]
Split actual content out of talloc Makefile into talloc.mk.
(cherry picked from commit
2b8939975267fc4774bccd2a35ea9a35129d0a2b)
Jelmer Vernooij [Mon, 11 Feb 2008 21:05:52 +0000 (22:05 +0100)]
Split rules.mk out of Makefile.
(cherry picked from commit
75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
Michael Adam [Mon, 11 Feb 2008 11:50:03 +0000 (12:50 +0100)]
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)
Jelmer Vernooij [Tue, 22 Jan 2008 17:49:51 +0000 (18:49 +0100)]
build: Remove support for DESCRIPTION setting that is now unused.
(cherry picked from parts of commit
91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
Michael
Jelmer Vernooij [Tue, 22 Jan 2008 17:24:00 +0000 (18:24 +0100)]
talloc/tdb: Use manually written pc file.
(cherry picked from parts of
c8947fda23eb874a7694bdee1b4de605744c2769)
Michael
Jelmer Vernooij [Mon, 24 Dec 2007 01:19:41 +0000 (19:19 -0600)]
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
Jelmer Vernooij [Fri, 14 Dec 2007 13:28:07 +0000 (14:28 +0100)]
r26454: Add simple SWIG macro for wrapping talloced types.
(cherry picked from talloc parts of commit
760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)
Michael
Jelmer Vernooij [Tue, 4 Dec 2007 17:24:16 +0000 (18:24 +0100)]
r26292: Make sure swig directory exists.
(cherry picked from commit
7962d221fcb877c9fd3bbc890827338de54ca94a)
Jelmer Vernooij [Tue, 4 Dec 2007 01:04:25 +0000 (02:04 +0100)]
r26280: Fix installation if swig is not available.
(cherry picked from commit
3320bd401f7b669bd62f83bf16a1c16ad0543a5c)
Jelmer Vernooij [Tue, 4 Dec 2007 00:37:28 +0000 (01:37 +0100)]
r26276: Install SWIG files if swig is present.
(cherry picked from talloc parts of commit
dfd5b456f932268e2b1a82e2775037d356b9483e)
Michael
Jelmer Vernooij [Thu, 29 Nov 2007 13:49:47 +0000 (14:49 +0100)]
r26197: Add bindings for libsecurity.
(cherry picked from parts of commit
8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135)
Michael
Jelmer Vernooij [Wed, 28 Nov 2007 21:41:34 +0000 (22:41 +0100)]
r26187: Fix module name, indentation.
(cherry picked from parts of commit
ef790ebf3a712dbbb85d6af65c804199c2c084fc)
Michael
Jelmer Vernooij [Wed, 21 Nov 2007 11:31:23 +0000 (12:31 +0100)]
r26072: Import trivial SWIG wrapper for talloc.
(cherry picked from commit
02d259c2c45c03dbfcd16173df93d7ba96ed1419)
Stefan Metzmacher [Fri, 16 Nov 2007 09:10:58 +0000 (10:10 +0100)]
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
Stefan Metzmacher [Thu, 15 Nov 2007 14:41:03 +0000 (15:41 +0100)]
r25973: talloc: fix usage of SONAMEFLAG
metze
(cherry picked from commit
7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a)
Jelmer Vernooij [Wed, 14 Nov 2007 09:51:32 +0000 (10:51 +0100)]
r25953: AIX make doesn't support $^.
(cherry picked from parts of commit
91133d27110ee6447dbc64f1c8d52cb90ca1a86c)
Michael
Jelmer Vernooij [Wed, 14 Nov 2007 00:01:31 +0000 (01:01 +0100)]
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(cherry picked from parts of commit
228dd6830eb9c91287bb3e0233d8b3a404ff3676)
Michael
Jelmer Vernooij [Tue, 6 Nov 2007 18:53:33 +0000 (19:53 +0100)]
r25884: Specify shldflags first, as required by some compilers.
(cherry picked from commit
40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)
Jelmer Vernooij [Tue, 6 Nov 2007 18:24:12 +0000 (19:24 +0100)]
r25882: Build shared library of talloc as well.
(cherry picked from commit
3692ba8299d4177289ca401fa467143ad14ccad4)
Günther Deschner [Wed, 13 Feb 2008 00:29:52 +0000 (01:29 +0100)]
Fix the build of winbindd, sorry.
Guenther
Günther Deschner [Tue, 12 Feb 2008 23:37:19 +0000 (00:37 +0100)]
Remove unused marshalling for LSA_ENUM_TRUST_DOM.
Guenther
Günther Deschner [Tue, 12 Feb 2008 23:25:40 +0000 (00:25 +0100)]
Use rpccli_lsa_EnumTrustDom all over the place.
Guenther
Günther Deschner [Tue, 12 Feb 2008 23:02:21 +0000 (00:02 +0100)]
Use pidl for _lsa_EnumTrustDom()
Guenther
Günther Deschner [Tue, 12 Feb 2008 23:28:12 +0000 (00:28 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 12 Feb 2008 22:38:28 +0000 (23:38 +0100)]
Fix IDL for lsa_EnumTrustDom.
Guenther
Günther Deschner [Tue, 12 Feb 2008 21:05:39 +0000 (22:05 +0100)]
Collect all init_lsa_string varients in one place.
Guenther
Günther Deschner [Tue, 12 Feb 2008 15:39:02 +0000 (16:39 +0100)]
Re-add support for samr_QueryDisplayInfo2/samr_QueryDisplayInfo3.
Günther Deschner [Tue, 12 Feb 2008 20:34:39 +0000 (21:34 +0100)]
Add querydispinfo2 and querydispinfo3 to rpcclient.
Guenther
Günther Deschner [Tue, 12 Feb 2008 20:11:03 +0000 (21:11 +0100)]
The final SAM_USER_INFO massacre.
I compared those very thoroughly with the idl ones but couldn't find any bits
that were missing (except for the very obscure (and totally unused)
SAM_USER_INFO_17 structure which I think was totally wrong).
Guenther
Günther Deschner [Tue, 12 Feb 2008 19:01:36 +0000 (20:01 +0100)]
Use rpccli_samr_SetUserInfo2() in place of rpccli_samr_set_userinfo().
Guenther
Günther Deschner [Tue, 12 Feb 2008 00:31:32 +0000 (01:31 +0100)]
Remove unused marshalling for SAMR_SET_USERINFO2.
Guenther
Günther Deschner [Mon, 11 Feb 2008 23:51:51 +0000 (00:51 +0100)]
Remove all callers of rpccli_samr_setuserinfo2 and replace with
rpccli_samr_SetUserInfo (see the opcode mixup in rpc_samr.h).
Guenther
Günther Deschner [Tue, 12 Feb 2008 17:27:57 +0000 (18:27 +0100)]
Remove unused marshalling for SAMR_QUERY_USERINFO.
Guenther
Günther Deschner [Tue, 12 Feb 2008 17:21:52 +0000 (18:21 +0100)]
Use every
Günther Deschner [Tue, 12 Feb 2008 17:13:30 +0000 (18:13 +0100)]
Use rpccli_samr_QueryUserInfo in net and winbindd.
Guenther
Günther Deschner [Tue, 12 Feb 2008 17:04:07 +0000 (18:04 +0100)]
Use rpccli_samr_QueryUserInfo() in rpcclient.
Guenther
Günther Deschner [Tue, 12 Feb 2008 13:26:10 +0000 (14:26 +0100)]
w00t! SAMR server-side conversion to pidl is finished.
Guenther
Günther Deschner [Tue, 12 Feb 2008 11:58:47 +0000 (12:58 +0100)]
Use pidl for _samr_QueryUserInfo.
Guenther
Günther Deschner [Tue, 12 Feb 2008 13:26:56 +0000 (14:26 +0100)]
Add get_logon_hours_from_pdb() (inspired by samba4).
Guenther
Günther Deschner [Tue, 12 Feb 2008 01:10:40 +0000 (02:10 +0100)]
Merge _samr_SetUserInfo and _samr_SetUserInfo2 into one call.
Guenther
Günther Deschner [Tue, 12 Feb 2008 13:45:49 +0000 (14:45 +0100)]
Document that we were mixing up opcodes for SAMR_SET_USERINFO/2 all the time.
Guenther
Günther Deschner [Tue, 12 Feb 2008 11:16:02 +0000 (12:16 +0100)]
Move some samr init functions around (to allow easier identification of new
calls).
Guenther
Günther Deschner [Tue, 12 Feb 2008 10:38:31 +0000 (11:38 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_USERS.
Guenther
Günther Deschner [Tue, 12 Feb 2008 10:36:33 +0000 (11:36 +0100)]
Use rpccli_samr_EnumDomainUsers in net and rpcclient.
Guenther
Günther Deschner [Tue, 12 Feb 2008 10:17:53 +0000 (11:17 +0100)]
Use rpccli_samr_EnumDomainGroups in rpcclient.
Guenther
Günther Deschner [Tue, 12 Feb 2008 10:09:23 +0000 (11:09 +0100)]
Use rpccli_samr_EnumDomainAliases() in net and rpcclient.
Guenther
Volker Lendecke [Tue, 12 Feb 2008 10:08:49 +0000 (11:08 +0100)]
Remove a bogus comment