samba.git
12 years agoOnly export talloc related symbols in libtalloc.so.
Michael Adam [Wed, 13 Feb 2008 11:41:00 +0000 (12:41 +0100)]
Only export talloc related symbols in libtalloc.so.

Michael
(This used to be commit 60a4c8411b71f9f17956b51fd882f71273f5b0ca)

12 years agoUse pidl for _netr_LogonControl.
Günther Deschner [Wed, 13 Feb 2008 10:56:24 +0000 (11:56 +0100)]
Use pidl for _netr_LogonControl.

Guenther
(This used to be commit ec4947525e0881bfcde661f906ccd1f66fe54f5a)

12 years agoUse rpccli_netr_LogonControl() in rpcclient.
Günther Deschner [Wed, 30 Jan 2008 22:43:57 +0000 (23:43 +0100)]
Use rpccli_netr_LogonControl() in rpcclient.

Guenther
(This used to be commit d54456f3c42f123af5516c6f75c87b279fdc775f)

12 years agoRemove redundant (and unused) set of samr opcodes.
Günther Deschner [Wed, 13 Feb 2008 10:43:45 +0000 (11:43 +0100)]
Remove redundant (and unused) set of samr opcodes.

Guenther
(This used to be commit 46d5989562bb771b3dcb2fdd197d2f90c3ff8653)

12 years agoAdd libreplace objects to libtalloc.so.
Michael Adam [Wed, 13 Feb 2008 10:54:41 +0000 (11:54 +0100)]
Add libreplace objects to libtalloc.so.

Michael
(This used to be commit a84bf0786f269b8514e0a08e32fa429cefabe1d3)

12 years agoGoodbye parse_samr.c, rest in peace - but never come back!
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
(This used to be commit 8a8c5826e7a55742169e60d2145a7fe4d5786a23)

12 years agoRemove unused marshalling for SAMR_ENUM_DOM_ALIASES.
Günther Deschner [Wed, 13 Feb 2008 10:17:40 +0000 (11:17 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_ALIASES.

Guenther
(This used to be commit 7e1f33436adb0625662969f52b501c57d4a4bc87)

12 years agoConvert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.
Günther Deschner [Wed, 13 Feb 2008 10:15:40 +0000 (11:15 +0100)]
Convert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.

Guenther
(This used to be commit 33a97b447c1875bf1cd5a703871a84a7fb359fec)

12 years agoRemove unused marshalling for SAMR_ENUM_DOM_GROUPS.
Günther Deschner [Wed, 13 Feb 2008 10:11:34 +0000 (11:11 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_GROUPS.

Guenther
(This used to be commit 6f269ec8c0ad18bd0c04d5fc459fa80ab72dba63)

12 years agoConvert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.
Günther Deschner [Wed, 13 Feb 2008 10:08:49 +0000 (11:08 +0100)]
Convert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.

Guenther
(This used to be commit 8890bc481f60cd42d96b240b2ed8e34bc3d81f13)

12 years agoChange hand written configure help strings to use AS_HELP_STRING().
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
(This used to be commit d950174bcb50ecb70dfef71d4201feec4985c08b)

12 years agoUse AS_HELP_STRING instead of (deprecated) AC_HELP_STRING.
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
(This used to be commit 90bdd0fa2ee09bab8c661c241f5d5fe8fc57016b)

12 years agoRemove unused marshalling for SAMR_LOOKUP_RIDS.
Günther Deschner [Wed, 13 Feb 2008 09:54:56 +0000 (10:54 +0100)]
Remove unused marshalling for SAMR_LOOKUP_RIDS.

Guenther
(This used to be commit c6db963dacb04a9b2ee12705d8cfb29b843c0ea2)

12 years agoConvert last caller (in winbindd) to rpccli_samr_LookupRids.
Günther Deschner [Wed, 13 Feb 2008 09:49:55 +0000 (10:49 +0100)]
Convert last caller (in winbindd) to rpccli_samr_LookupRids.

Guenther
(This used to be commit 34c2566f026dbde4da10e2fc10c6960260eb6044)

12 years agoRemove unused init_sam_entry routine.
Günther Deschner [Wed, 13 Feb 2008 09:54:16 +0000 (10:54 +0100)]
Remove unused init_sam_entry routine.

Guenther
(This used to be commit c19847a02486414117425930367dcd210e911715)

12 years agoFix build: Add missing prerequisites for libwbclient.so
Michael Adam [Wed, 13 Feb 2008 09:52:16 +0000 (10:52 +0100)]
Fix build: Add missing prerequisites for libwbclient.so

Michael
(This used to be commit fa3a78b815e0bcbb4ac08b6277f798593c0458e9)

12 years agolibwbclient: include wb_common.o in libwbclient.a
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
(This used to be commit 135d9dd6d830ce6ae5c7917468763aa9a148d76a)

12 years agonsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
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
(This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)

12 years agoFix install: Add creation of include dir to installlibtalloc target.
Michael Adam [Wed, 13 Feb 2008 09:36:43 +0000 (10:36 +0100)]
Fix install: Add creation of include dir to installlibtalloc target.

Michael
(This used to be commit 26d012dd3de8ec146eb22656f1ed8eef110e4be6)

12 years agoRemove unused marshalling for NET_TRUST_DOM_LIST.
Günther Deschner [Wed, 13 Feb 2008 09:27:15 +0000 (10:27 +0100)]
Remove unused marshalling for NET_TRUST_DOM_LIST.

Guenther
(This used to be commit 9312755955eac9897c8117773f8cd7d1652b2bca)

12 years agoUse pidl for _netr_NetrEnumerateTrustedDomains().
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
(This used to be commit 243bdaeea7900ab6a65edfda877e8c225ec7b213)

12 years agoMerge data_blob_talloc_zero() from samba4.
Günther Deschner [Wed, 13 Feb 2008 09:19:06 +0000 (10:19 +0100)]
Merge data_blob_talloc_zero() from samba4.

Guenther
(This used to be commit 9fca3ca37eaf10c24f852e854dd28b7155c3e536)

12 years agoAdd linking -ltalloc to libwbclient.so. Noted by Metze.
Michael Adam [Wed, 13 Feb 2008 09:11:43 +0000 (10:11 +0100)]
Add linking -ltalloc to libwbclient.so. Noted by Metze.

Michael
(This used to be commit e904a3dd532d7510ac2393e598b3edcf8e1349e8)

12 years agoAdd forgotten file exports/libtalloc.syms ... Thanks Günther!
Michael Adam [Wed, 13 Feb 2008 08:48:42 +0000 (09:48 +0100)]
Add forgotten file exports/libtalloc.syms ...  Thanks Günther!

Michael
(This used to be commit b1deb11a19f09325449fd30fb364173f9ba9d681)

12 years agoSome minor, cosmetic cleanup in srv_samr_util.c.
Günther Deschner [Tue, 12 Feb 2008 22:30:44 +0000 (23:30 +0100)]
Some minor, cosmetic cleanup in srv_samr_util.c.

Guenther
(This used to be commit cd5bf3449adee7537ae6ca4e3b398e99d34555fd)

12 years agoFix some comment typos.
Michael Adam [Tue, 12 Feb 2008 14:28:51 +0000 (15:28 +0100)]
Fix some comment typos.

Michael
(This used to be commit bc4482cde1571bb1cb2d55106fc8ee22d26efa23)

12 years agoRemove some unneded variables: we always build and install some talloc libs.
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
(This used to be commit 97a60565ad6657af8e4a3b8b38b69b48597e3eec)

12 years agoPut talloc lib targets into variables and uses these.
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
(This used to be commit d1bec3882908086747e1176a275617700cada097)

12 years agoSimplify code by moving duplicate assignment to common place.
Michael Adam [Tue, 12 Feb 2008 13:43:20 +0000 (14:43 +0100)]
Simplify code by moving duplicate assignment to common place.

Michael
(This used to be commit dddfdee90ee30d225e08d7f1685409f62fabf7c1)

12 years agoAdd support for linking talloc library statically or dynamically into samba.
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
(This used to be commit 71b990d9d687b517dec3d4eff67b6a3fe417a12a)

12 years agoUse data from lib/talloc/libtalloc.m4 instead of hard coded data.
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
(This used to be commit 880238c65c13c8b280e2f34431aa331a16af4a7b)

12 years agoMove the AC_LIBREPLACE_CC_CHECKS up before building SAMBA_CPPFLAGS.
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
(This used to be commit ed2337e3a24e800e0a445a9ffc7d735d49abc6d7)

12 years agoAdd support for building libtalloc.a and libtalloc.so.
Michael Adam [Fri, 8 Feb 2008 00:00:03 +0000 (01:00 +0100)]
Add support for building libtalloc.a and libtalloc.so.

Michael
(This used to be commit cb7f42bcbc6cbe84823402cd3c7bb9327669ed9b)

12 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
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
(This used to be commit 5116c9d9f4bd1a523ac7a2a31b3b1552388f040f)

12 years agoPrevent "parameters" being used without initialization.
Jeremy Allison [Wed, 13 Feb 2008 01:21:17 +0000 (17:21 -0800)]
Prevent "parameters" being used without initialization.
Jeremy.
(This used to be commit f0195e937d5d42a8d92e9d861199538fd44a3c9b)

12 years agoFix copy & paste typo in function prototype.
Michael Adam [Wed, 13 Feb 2008 00:39:49 +0000 (01:39 +0100)]
Fix copy & paste typo in function prototype.

Michael
(This used to be commit 4c2f0e027d2d0c5c5845550b72e6568c503f6cf9)

12 years agoRaise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
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)
(This used to be commit 303a3eb128b410be0f4ebb936cd3b983e639c07f)

12 years agoMake sure talloc.so is build before installing.
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)
(This used to be commit da98f4d223997709b42b4f05ab94d564261f5aee)

12 years agoFix out of tree builds.
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
(This used to be commit a780c0594aeea3705d601a327aa04d9182060cbd)

12 years agoSplit actual content out of talloc Makefile into talloc.mk.
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)
(This used to be commit 7710d3dea350a85348d46747e4f4cde2b20741de)

12 years agoSplit rules.mk out of Makefile.
Jelmer Vernooij [Mon, 11 Feb 2008 21:05:52 +0000 (22:05 +0100)]
Split rules.mk out of Makefile.
(cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
(This used to be commit 6f8165e4b064f37335e2b0b185ae6433c06a061a)

12 years agoMake versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
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)
(This used to be commit 0d9ae82f51302c9755b6e50f1df88eb2a079f12a)

12 years agobuild: Remove support for DESCRIPTION setting that is now unused.
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
(This used to be commit 4b03f88c1ed8c1a2c1e5e7d461ca2d64a8d6a054)

12 years agotalloc/tdb: Use manually written pc file.
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
(This used to be commit 77664bc482071798571096a299e7d8b190f53797)

12 years agor26570: - Trim size of the swig-generated Python bindings by removing a bunch of...
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
(This used to be commit a146145c28cc355fed47b8a1f322311ffc1a51ab)

12 years agor26454: Add simple SWIG macro for wrapping talloced types.
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
(This used to be commit f4c59316b9251477556dd22cdd246607f4dfa845)

12 years agor26292: Make sure swig directory exists.
Jelmer Vernooij [Tue, 4 Dec 2007 17:24:16 +0000 (18:24 +0100)]
r26292: Make sure swig directory exists.
(cherry picked from commit 7962d221fcb877c9fd3bbc890827338de54ca94a)
(This used to be commit d6198f2bd7d13b5f30bcc46e12026a00f52d9adc)

12 years agor26280: Fix installation if swig is not available.
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)
(This used to be commit f1267f74a91374692c3564d783c527f94035b323)

12 years agor26276: Install SWIG files if swig is present.
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
(This used to be commit 8276ec7596b41980aea3f93949edd224fe842fa5)

12 years agor26197: Add bindings for libsecurity.
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
(This used to be commit 22d48224d3235403b916c98c92915165fe7ef330)

12 years agor26187: Fix module name, indentation.
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
(This used to be commit 8e35bbeac286c3b8d64d69ebe9bb4a8f5405a9c0)

12 years agor26072: Import trivial SWIG wrapper for talloc.
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)
(This used to be commit 5938a732381abed9f5da1db505626b354fe7293e)

12 years agor25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
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
(This used to be commit 6c092918725019274cd26218168c5b551ab3c7d2)

12 years agor25973: talloc: fix usage of SONAMEFLAG
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)
(This used to be commit ce3625a3866376d78edc23b137f41be72f07e5eb)

12 years agor25953: AIX make doesn't support $^.
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
(This used to be commit f231d03e53dcf291e0cb8870e531989ab855eae0)

12 years agor25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
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
(This used to be commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28)

12 years agor25884: Specify shldflags first, as required by some compilers.
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)
(This used to be commit 42b56f77ff88f8a9dccd7a8ac7df789d0223c945)

12 years agor25882: Build shared library of talloc as well.
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)
(This used to be commit ddfc86b71d7e6fa3d1bd6fcaca4f31dd262e84d2)

12 years agoFix the build of winbindd, sorry.
Günther Deschner [Wed, 13 Feb 2008 00:29:52 +0000 (01:29 +0100)]
Fix the build of winbindd, sorry.

Guenther
(This used to be commit c62c89c8f0d1ff8e384b88b3b192aa96f0b2183e)

12 years agoRemove unused marshalling for LSA_ENUM_TRUST_DOM.
Günther Deschner [Tue, 12 Feb 2008 23:37:19 +0000 (00:37 +0100)]
Remove unused marshalling for LSA_ENUM_TRUST_DOM.

Guenther
(This used to be commit 90b07714ddb16ef87865cdf4f9c64c0372200e42)

12 years agoUse rpccli_lsa_EnumTrustDom all over the place.
Günther Deschner [Tue, 12 Feb 2008 23:25:40 +0000 (00:25 +0100)]
Use rpccli_lsa_EnumTrustDom all over the place.

Guenther
(This used to be commit a25e7ffbca9c2c97dd36b0596e7cb38a72aaf9d9)

12 years agoUse pidl for _lsa_EnumTrustDom()
Günther Deschner [Tue, 12 Feb 2008 23:02:21 +0000 (00:02 +0100)]
Use pidl for _lsa_EnumTrustDom()

Guenther
(This used to be commit 1f45079907d03116b48b55d616281ed4359a66d8)

12 years agoRe-run make idl.
Günther Deschner [Tue, 12 Feb 2008 23:28:12 +0000 (00:28 +0100)]
Re-run make idl.

Guenther
(This used to be commit 4473255f06bcd96166e61cfa751d32fddf120e16)

12 years agoFix IDL for lsa_EnumTrustDom.
Günther Deschner [Tue, 12 Feb 2008 22:38:28 +0000 (23:38 +0100)]
Fix IDL for lsa_EnumTrustDom.

Guenther
(This used to be commit 278c891c54813ab802e1de300b498a0f9db79321)

12 years agoCollect all init_lsa_string varients in one place.
Günther Deschner [Tue, 12 Feb 2008 21:05:39 +0000 (22:05 +0100)]
Collect all init_lsa_string varients in one place.

Guenther
(This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)

12 years agoRe-add support for samr_QueryDisplayInfo2/samr_QueryDisplayInfo3.
Günther Deschner [Tue, 12 Feb 2008 15:39:02 +0000 (16:39 +0100)]
Re-add support for samr_QueryDisplayInfo2/samr_QueryDisplayInfo3.
(This used to be commit cac740d87f729c1b48654ef4f51f37a81e8a0d54)

12 years agoAdd querydispinfo2 and querydispinfo3 to rpcclient.
Günther Deschner [Tue, 12 Feb 2008 20:34:39 +0000 (21:34 +0100)]
Add querydispinfo2 and querydispinfo3 to rpcclient.

Guenther
(This used to be commit f776840dca093b43d0e2762f234b4002ba29adac)

12 years agoThe final SAM_USER_INFO massacre.
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
(This used to be commit e7192818f79725060d2b12d44186ba8c5bae2fb8)

12 years agoUse rpccli_samr_SetUserInfo2() in place of rpccli_samr_set_userinfo().
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
(This used to be commit 1b48b9d73d971ef18b8a2ea240e48902b703b74b)

12 years agoRemove unused marshalling for SAMR_SET_USERINFO2.
Günther Deschner [Tue, 12 Feb 2008 00:31:32 +0000 (01:31 +0100)]
Remove unused marshalling for SAMR_SET_USERINFO2.

Guenther
(This used to be commit d493f98cd1da5e8a5995e3adea2f28b434baae99)

12 years agoRemove all callers of rpccli_samr_setuserinfo2 and replace with
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
(This used to be commit bdc49185036060ebb9c727767dce52e4b01bd8b4)

12 years agoRemove unused marshalling for SAMR_QUERY_USERINFO.
Günther Deschner [Tue, 12 Feb 2008 17:27:57 +0000 (18:27 +0100)]
Remove unused marshalling for SAMR_QUERY_USERINFO.

Guenther
(This used to be commit daec00fd62999d4f8d74dc4cdd2fba686433ad01)

12 years agoUse every
Günther Deschner [Tue, 12 Feb 2008 17:21:52 +0000 (18:21 +0100)]
Use every
(This used to be commit d9cec295bf55b3a7e16f548cc4bf64ce474b41e9)

12 years agoUse rpccli_samr_QueryUserInfo in net and winbindd.
Günther Deschner [Tue, 12 Feb 2008 17:13:30 +0000 (18:13 +0100)]
Use rpccli_samr_QueryUserInfo in net and winbindd.

Guenther
(This used to be commit a9ff6760901a489ff8877717bdd5a2218154498f)

12 years agoUse rpccli_samr_QueryUserInfo() in rpcclient.
Günther Deschner [Tue, 12 Feb 2008 17:04:07 +0000 (18:04 +0100)]
Use rpccli_samr_QueryUserInfo() in rpcclient.

Guenther
(This used to be commit 5bfa5cac639fc0821bfe38b4cd1f50b372c2330e)

12 years agow00t! SAMR server-side conversion to pidl is finished.
Günther Deschner [Tue, 12 Feb 2008 13:26:10 +0000 (14:26 +0100)]
w00t! SAMR server-side conversion to pidl is finished.

Guenther
(This used to be commit c6d9650930510982ef4e4759272dba573fc81067)

12 years agoUse pidl for _samr_QueryUserInfo.
Günther Deschner [Tue, 12 Feb 2008 11:58:47 +0000 (12:58 +0100)]
Use pidl for _samr_QueryUserInfo.

Guenther
(This used to be commit 53dc913b2d01aeea2a7490c5ef1292e6c6eff5e7)

12 years agoAdd get_logon_hours_from_pdb() (inspired by samba4).
Günther Deschner [Tue, 12 Feb 2008 13:26:56 +0000 (14:26 +0100)]
Add get_logon_hours_from_pdb() (inspired by samba4).

Guenther
(This used to be commit e1bcb7d82f22810e342a18aacbcfe49c3902bcb4)

12 years agoMerge _samr_SetUserInfo and _samr_SetUserInfo2 into one call.
Günther Deschner [Tue, 12 Feb 2008 01:10:40 +0000 (02:10 +0100)]
Merge _samr_SetUserInfo and _samr_SetUserInfo2 into one call.

Guenther
(This used to be commit 8ee7dfad2e3a40e378398ea20158d3c7e7168cba)

12 years agoDocument that we were mixing up opcodes for SAMR_SET_USERINFO/2 all the time.
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
(This used to be commit 51184f8aea1cf58f8358b7f7736b50873aec578a)

12 years agoMove some samr init functions around (to allow easier identification of new
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
(This used to be commit c51c126049bd251a04dfae7ca6c3d0d3f823a503)

12 years agoRemove unused marshalling for SAMR_ENUM_DOM_USERS.
Günther Deschner [Tue, 12 Feb 2008 10:38:31 +0000 (11:38 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_USERS.

Guenther
(This used to be commit 4521f31a727550aae2b5eb6304c8d25e68326147)

12 years agoUse rpccli_samr_EnumDomainUsers in net and rpcclient.
Günther Deschner [Tue, 12 Feb 2008 10:36:33 +0000 (11:36 +0100)]
Use rpccli_samr_EnumDomainUsers in net and rpcclient.

Guenther
(This used to be commit bcf2cd324c2898bda38515036a205c8d0982494f)

12 years agoUse rpccli_samr_EnumDomainGroups in rpcclient.
Günther Deschner [Tue, 12 Feb 2008 10:17:53 +0000 (11:17 +0100)]
Use rpccli_samr_EnumDomainGroups in rpcclient.

Guenther
(This used to be commit e76c350dabae421c56c92decf413161e54549c10)

12 years agoUse rpccli_samr_EnumDomainAliases() in net and rpcclient.
Günther Deschner [Tue, 12 Feb 2008 10:09:23 +0000 (11:09 +0100)]
Use rpccli_samr_EnumDomainAliases() in net and rpcclient.

Guenther
(This used to be commit d034d34faaced1d349ff9d36fcddf9533e402582)

12 years agoRemove a bogus comment
Volker Lendecke [Tue, 12 Feb 2008 10:08:49 +0000 (11:08 +0100)]
Remove a bogus comment
(This used to be commit 599bb7e4707ae37f022a2f4edf918adcbfa110c2)

12 years agoCosmetics: remove new whitespace, sorry.
Günther Deschner [Tue, 12 Feb 2008 09:07:50 +0000 (10:07 +0100)]
Cosmetics: remove new whitespace, sorry.

Guenther
(This used to be commit d82b66b96958bb0696ad316326bb2f1ac4102801)

12 years agoRe-run make idl.
Günther Deschner [Tue, 12 Feb 2008 09:07:18 +0000 (10:07 +0100)]
Re-run make idl.

Guenther
(This used to be commit 88575187e2b18f7a2d2fb689b4a41ab39bd48373)

12 years agoFix IDL for samr_QueryUserInfo.
Günther Deschner [Tue, 12 Feb 2008 08:26:17 +0000 (09:26 +0100)]
Fix IDL for samr_QueryUserInfo.

Guenther
(This used to be commit 1d448f1e1d4ad6cc9fe7b792cd064ce3f0bfdb85)

12 years agoUse pidl for _samr_EnumDomainUsers().
Günther Deschner [Tue, 12 Feb 2008 02:33:41 +0000 (03:33 +0100)]
Use pidl for _samr_EnumDomainUsers().

Guenther
(This used to be commit 54e884add2c5c836e78dfdd247dd93d754b70178)

12 years agoRe-run make idl.
Günther Deschner [Tue, 12 Feb 2008 09:02:02 +0000 (10:02 +0100)]
Re-run make idl.

Guenther
(This used to be commit c7620b094bf972d9cb4d4596a5e06fb7bbe23815)

12 years agoFix IDL for samr_EnumDomainUsers.
Günther Deschner [Tue, 12 Feb 2008 02:34:14 +0000 (03:34 +0100)]
Fix IDL for samr_EnumDomainUsers.

Guenther
(This used to be commit 6dc45310710bb6cb6d1ebc134dac80dcc9f6b847)

12 years agoUse pidl for _samr_EnumDomainGroups() and _samr_EnumDomainAliases().
Günther Deschner [Tue, 12 Feb 2008 02:15:03 +0000 (03:15 +0100)]
Use pidl for _samr_EnumDomainGroups() and _samr_EnumDomainAliases().

Guenther
(This used to be commit 327cdb05af80a884517e7baf97300da0a635a451)

12 years agoRe-run make idl.
Günther Deschner [Tue, 12 Feb 2008 08:54:11 +0000 (09:54 +0100)]
Re-run make idl.

Guenther
(This used to be commit 82993e9cd46ff9327fd0f4848f18b533a3f27b20)

12 years agoFix IDL for samr_EnumDomainAliases.
Günther Deschner [Tue, 12 Feb 2008 02:14:32 +0000 (03:14 +0100)]
Fix IDL for samr_EnumDomainAliases.

Guenther
(This used to be commit 676bd28f87f306f52a800a31ceec73e436566ce0)

12 years agoRe-run make idl.
Günther Deschner [Tue, 12 Feb 2008 08:52:46 +0000 (09:52 +0100)]
Re-run make idl.

Guenther
(This used to be commit 604e1ec5a603fd151bd1e7f303e308169ae80de3)

12 years agoFix IDL for samr_EnumDomainGroups.
Günther Deschner [Tue, 12 Feb 2008 02:14:12 +0000 (03:14 +0100)]
Fix IDL for samr_EnumDomainGroups.

Guenther
(This used to be commit 7028d3390b1bb1718dd334ea1463d08b9831aa50)

12 years agoRemove some more unused samr headers.
Günther Deschner [Tue, 12 Feb 2008 01:38:22 +0000 (02:38 +0100)]
Remove some more unused samr headers.

Guenther
(This used to be commit cdae43530932b807d6dadf402db6553090f76320)

12 years agoRemoving unused ACCT_-flags.
Günther Deschner [Mon, 11 Feb 2008 23:07:41 +0000 (00:07 +0100)]
Removing unused ACCT_-flags.

Guenther
(This used to be commit d1e5a5a7f9dfb5756398e99cf09a4712d2b42682)

12 years agoFix SAMR_FIELD_PARAMETERS handling in rpc_server/srv_samr_util.c.
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
(This used to be commit ef7c74401c71a238944cb1a9bbd448a4693339bf)