]>
git.ipfire.org Git - thirdparty/samba.git/log
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
Günther Deschner [Tue, 12 Feb 2008 09:07:50 +0000 (10:07 +0100)]
Cosmetics: remove new whitespace, sorry.
Guenther
Günther Deschner [Tue, 12 Feb 2008 09:07:18 +0000 (10:07 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 12 Feb 2008 08:26:17 +0000 (09:26 +0100)]
Fix IDL for samr_QueryUserInfo.
Guenther
Günther Deschner [Tue, 12 Feb 2008 02:33:41 +0000 (03:33 +0100)]
Use pidl for _samr_EnumDomainUsers().
Guenther
Günther Deschner [Tue, 12 Feb 2008 09:02:02 +0000 (10:02 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 12 Feb 2008 02:34:14 +0000 (03:34 +0100)]
Fix IDL for samr_EnumDomainUsers.
Guenther
Günther Deschner [Tue, 12 Feb 2008 02:15:03 +0000 (03:15 +0100)]
Use pidl for _samr_EnumDomainGroups() and _samr_EnumDomainAliases().
Guenther
Günther Deschner [Tue, 12 Feb 2008 08:54:11 +0000 (09:54 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 12 Feb 2008 02:14:32 +0000 (03:14 +0100)]
Fix IDL for samr_EnumDomainAliases.
Guenther
Günther Deschner [Tue, 12 Feb 2008 08:52:46 +0000 (09:52 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Tue, 12 Feb 2008 02:14:12 +0000 (03:14 +0100)]
Fix IDL for samr_EnumDomainGroups.
Guenther
Günther Deschner [Tue, 12 Feb 2008 01:38:22 +0000 (02:38 +0100)]
Remove some more unused samr headers.
Guenther
Günther Deschner [Mon, 11 Feb 2008 23:07:41 +0000 (00:07 +0100)]
Removing unused ACCT_-flags.
Guenther
Günther Deschner [Mon, 11 Feb 2008 22:28:01 +0000 (23:28 +0100)]
Fix SAMR_FIELD_PARAMETERS handling in rpc_server/srv_samr_util.c.
Guenther
Günther Deschner [Mon, 11 Feb 2008 22:17:45 +0000 (23:17 +0100)]
Fix SAMR_FIELD_LOGON_HOURS handling in rpc_server/srv_samr_util.c.
Guenther
Günther Deschner [Mon, 11 Feb 2008 22:06:05 +0000 (23:06 +0100)]
Use SAMR_FIELDS for fields_present in rpc_server/srv_samr_util.c.
Guenther
Günther Deschner [Mon, 11 Feb 2008 21:47:49 +0000 (22:47 +0100)]
Allow to set correct info level log prefix in duplicates of copy_id21_to_sam_passwd.
Guenther
Günther Deschner [Mon, 11 Feb 2008 20:09:21 +0000 (21:09 +0100)]
Use pidl for _samr_SetUserInfo and _samr_SetUserInfo2.
Guenther
Günther Deschner [Mon, 11 Feb 2008 19:32:17 +0000 (20:32 +0100)]
Remove unused LSA_CLOSE headers.
Guenther
Günther Deschner [Mon, 11 Feb 2008 19:31:34 +0000 (20:31 +0100)]
Remove unused marshalling for LSA_UNK_GET_CONNUSER.
Guenther
Günther Deschner [Mon, 11 Feb 2008 19:29:31 +0000 (20:29 +0100)]
Use pidl for _lsa_GetUserName().
Guenther
Günther Deschner [Mon, 11 Feb 2008 19:22:01 +0000 (20:22 +0100)]
Add cmd_lsa_get_username command to rpcclient.
Guenther
Günther Deschner [Mon, 11 Feb 2008 19:49:24 +0000 (20:49 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Mon, 11 Feb 2008 19:21:04 +0000 (20:21 +0100)]
Fix IDL for lsa_GetUserName.
Guenther
Please enter the commit message for your changes.
Günther Deschner [Mon, 11 Feb 2008 17:11:11 +0000 (18:11 +0100)]
Remove unused marshalling for LSA_PRIV_GET_DISPNAME.
Guenther
Günther Deschner [Mon, 11 Feb 2008 11:17:27 +0000 (12:17 +0100)]
Use rpccli_lsa_LookupPrivDisplayName() in net and rpcclient.
Guenther
Günther Deschner [Mon, 11 Feb 2008 10:57:29 +0000 (11:57 +0100)]
Use pidl for _lsa_LookupPrivDisplayName().
Guenther
Günther Deschner [Mon, 11 Feb 2008 16:56:22 +0000 (17:56 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Mon, 11 Feb 2008 10:56:15 +0000 (11:56 +0100)]
Fix IDL for lsa_LookupPrivDisplayName (based on samba3 code).
Guenther
Volker Lendecke [Mon, 11 Feb 2008 17:36:06 +0000 (18:36 +0100)]
Add a missing return
If I'm not completely blind, we should return here. Not doing it here seems not
to be a major flaw, as far as I can see we're only missing the error code. This
might account for some of the very unhelpful NT_STATUS_UNSUCCESSFUL error
messages people see during joins.
All with stake in Samba client, please check!
Stefan Metzmacher [Mon, 4 Feb 2008 12:47:15 +0000 (13:47 +0100)]
smbd: use make usage of wbcDomainInfo()
metze
Stefan Metzmacher [Mon, 11 Feb 2008 15:29:28 +0000 (16:29 +0100)]
libwbclient: implement wbcErrorString()
metze
Günther Deschner [Mon, 11 Feb 2008 16:50:18 +0000 (17:50 +0100)]
Let rpccli_lsa_open_policy[2] be convenience wrappers around their pidl equivalents.
Guenther
Günther Deschner [Mon, 11 Feb 2008 09:28:36 +0000 (10:28 +0100)]
Only call display_lsa_query_info on success in rpcclient.
Guenther
Günther Deschner [Mon, 11 Feb 2008 09:38:06 +0000 (10:38 +0100)]
Remove unused marshalling for LSA_ENUM_PRIVS.
Guenther
Günther Deschner [Mon, 11 Feb 2008 09:33:31 +0000 (10:33 +0100)]
Use rpccli_lsa_EnumPrivs() in net and rpcclient.
Guenther
Günther Deschner [Mon, 11 Feb 2008 09:19:54 +0000 (10:19 +0100)]
Use pidl for _lsa_EnumPrivs().
Guenther
Günther Deschner [Mon, 11 Feb 2008 09:49:15 +0000 (10:49 +0100)]
Re-run make idl.
Guenther
Günther Deschner [Mon, 11 Feb 2008 09:18:41 +0000 (10:18 +0100)]
Fix IDL for lsa_EnumPrivs.
Guenther