samba.git
12 years agor8983: The KVNO (Kerberos key version number) should be incremented with
Andrew Bartlett [Wed, 3 Aug 2005 05:26:17 +0000 (05:26 +0000)]
r8983: The KVNO (Kerberos key version number) should be incremented with
every password set.

Andrew Bartlett
(This used to be commit 71958cb19f8a2289e97f29018bb252a7d4540258)

12 years agor8982: "name" is not the netbios name, but the RDN. Return the correct
Andrew Bartlett [Wed, 3 Aug 2005 05:25:30 +0000 (05:25 +0000)]
r8982: "name" is not the netbios name, but the RDN.  Return the correct
netbios domain name of the host, as well as the sid from the cache we
fetched earlier.

Andrew Bartlett
(This used to be commit c847ca2cc8244a7ce4180d17397723a486bbecc8)

12 years agor8981: Add comments, fix typos (in attribute names) and check for errors in
Andrew Bartlett [Wed, 3 Aug 2005 05:24:13 +0000 (05:24 +0000)]
r8981: Add comments, fix typos (in attribute names) and check for errors in
SamSync and 'net join'.

Andrew Bartlett
(This used to be commit 257240b0e29da14f7a2e660182b367304a5fa530)

12 years agor8980: Make Samba4 honour account control flags (we were asking for a
Andrew Bartlett [Wed, 3 Aug 2005 04:41:10 +0000 (04:41 +0000)]
r8980: Make Samba4 honour account control flags (we were asking for a
non-existant field).

Also change time(NULL) into an NTTIME for comparison, rather than
experience rounding bugs (size of time_t) when converting an NTTIME
into a time_t.

Andrew Bartlett
(This used to be commit 181155f9e059a2eb74a7dd7c34a358724ec88bb8)

12 years agor8979: Bunch of makefile fragment inclusion fixes:
Jelmer Vernooij [Wed, 3 Aug 2005 04:15:16 +0000 (04:15 +0000)]
r8979: Bunch of makefile fragment inclusion fixes:
 - support whitespace
 - support "include " keyword
 - move swig stuff to .mk file
 - support autogenerated makefile portions (use "include echo foo|")
(This used to be commit 43779c09b6a75e03f4cf6e8953a837cddd318aa5)

12 years agor8977: Put my copyright in share torture test.
Rafal Szczesniak [Wed, 3 Aug 2005 03:42:43 +0000 (03:42 +0000)]
r8977: Put my copyright in share torture test.

rafal
(This used to be commit 186bcabaa6e4989e2b46b99a46221fe6fc79b365)

12 years agor8975: Very basic test for delshare function based on code submitted
Rafal Szczesniak [Wed, 3 Aug 2005 03:28:10 +0000 (03:28 +0000)]
r8975: Very basic test for delshare function based on code submitted
by Gregory LEOCADIE <gleocadie@idealx.com>.

rafal
(This used to be commit 4d4d1ab37d68b6054b7b0459e2e7e86141f9b462)

12 years agor8974: Support makefile fragments in .mk files
Jelmer Vernooij [Wed, 3 Aug 2005 03:09:17 +0000 (03:09 +0000)]
r8974: Support makefile fragments in .mk files
(This used to be commit 8d9c18a1b4cf31ebae1d0c84b00b4d781f55de66)

12 years agor8973: nicer output
Stefan Metzmacher [Wed, 3 Aug 2005 02:52:13 +0000 (02:52 +0000)]
r8973: nicer output

metze
(This used to be commit ea78b57ed8ab3488a7b7ca4d5ead1ec4d0f10931)

12 years agor8972: More simplifications...
Jelmer Vernooij [Wed, 3 Aug 2005 01:46:33 +0000 (01:46 +0000)]
r8972: More simplifications...
(This used to be commit d89caeb8004c5cfabc934c8efa899a6d1839d250)

12 years agor8970: Add 'ADS' join support to Samba4.
Andrew Bartlett [Wed, 3 Aug 2005 00:59:35 +0000 (00:59 +0000)]
r8970: Add 'ADS' join support to Samba4.

We now fill in the servicePrincipalName over LDAP, just like XP does,
and store the kvno in our local db.

Andrew Bartlett
(This used to be commit 5547c4e6f6a0c163aa38fa4d4ed8c627ae12bf80)

12 years agor8969: Make password field a password field, that is - prevent them from
Rafal Szczesniak [Wed, 3 Aug 2005 00:57:48 +0000 (00:57 +0000)]
r8969: Make password field a password field, that is - prevent them from
displaying plain text.

rafal
(This used to be commit b91e6053485ada50f66aa763e0ccff3b71991fa5)

12 years agor8968: More simplifications
Jelmer Vernooij [Wed, 3 Aug 2005 00:42:03 +0000 (00:42 +0000)]
r8968: More simplifications
(This used to be commit 92e14f555633c12ac02255274ac16a44ecf2b436)

12 years agor8966: Simplify the makefile generation system a bit.
Jelmer Vernooij [Wed, 3 Aug 2005 00:08:28 +0000 (00:08 +0000)]
r8966: Simplify the makefile generation system a bit.
Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm)
Add INSTALLDIR keyword to .mk files
(This used to be commit ce0935112b846486cf705ec69f12350be9c4c89d)

12 years agor8955: Move a bit more of the build process to the Makefile
Jelmer Vernooij [Tue, 2 Aug 2005 23:15:56 +0000 (23:15 +0000)]
r8955: Move a bit more of the build process to the Makefile
(This used to be commit 670a7a8de570a9c89ea09bb473d9b1d8cabf6830)

12 years agor8954: Use binding string to specify host rather than share path, as we use
Rafal Szczesniak [Tue, 2 Aug 2005 22:25:42 +0000 (22:25 +0000)]
r8954: Use binding string to specify host rather than share path, as we use
rpc call here after all. Also, safely exit (freeing memory context) in
case of any error.

rafal
(This used to be commit be2584df1d167f3e8ef600a926979f081e72c6a9)

12 years agor8953: Move a few utility functions
Jelmer Vernooij [Tue, 2 Aug 2005 22:01:04 +0000 (22:01 +0000)]
r8953: Move a few utility functions
(This used to be commit 732db744b287be71781b7577933bc54a0724f78c)

12 years agor8952: Partial work commit to find the DN of the new machine account - we
Andrew Bartlett [Tue, 2 Aug 2005 21:21:43 +0000 (21:21 +0000)]
r8952: Partial work commit to find the DN of the new machine account - we
will use ldb to add servicePrincipalNames to this.

Andrew Bartlett
(This used to be commit c1f8cab3e3d3eaf4af372675656fe1a4da68a9f8)

12 years agor8944: Get more verbose output from NET-API-LISTSHARE test.
Rafal Szczesniak [Tue, 2 Aug 2005 20:35:52 +0000 (20:35 +0000)]
r8944: Get more verbose output from NET-API-LISTSHARE test.

rafal
(This used to be commit b1ff59d80f942b679ae3c8dcb08361cf8a25a457)

12 years agor8942: Move intermediate subsystem output files to bin/subsystems/
Jelmer Vernooij [Tue, 2 Aug 2005 20:21:07 +0000 (20:21 +0000)]
r8942: Move intermediate subsystem output files to bin/subsystems/
(This used to be commit 43c8321cd991bdc3a7e1b05359d249457e86e7d1)

12 years agor8940: Add TDR (Trivial Data Representation). The aim is to use this later for
Jelmer Vernooij [Tue, 2 Aug 2005 20:12:31 +0000 (20:12 +0000)]
r8940: Add TDR (Trivial Data Representation). The aim is to use this later for
NBT/WINS/etc rather then having to depend on NDR.
(This used to be commit 5ee7af26dd220de06f1764cd1683abedeeda5131)

12 years agor8939: Do an open domain in the schannel SAMR test. This should test some of
Andrew Bartlett [Tue, 2 Aug 2005 20:08:23 +0000 (20:08 +0000)]
r8939: Do an open domain in the schannel SAMR test.  This should test some of
the win2k3 SP1 interactions.

Andrew Bartlett
(This used to be commit ebd96e68d6d7f92b781df0c43970e0dab4a30d6e)

12 years agor8936: Use incremental linking. This appeared to be supported on
Jelmer Vernooij [Tue, 2 Aug 2005 19:38:30 +0000 (19:38 +0000)]
r8936: Use incremental linking. This appeared to be supported on
all systems on the buildfarm when I tested it using smb_build.

It's just a one line change to go back. If this works correctly, we can
simplify the build system quite a bit.
(This used to be commit 6b671fb34a35def9a8d2fdaa8d9a04ff26c9e929)

12 years agor8934: Some refactoring of smb_interfaces code generator.
Tim Potter [Tue, 2 Aug 2005 18:56:18 +0000 (18:56 +0000)]
r8934: Some refactoring of smb_interfaces code generator.
(This used to be commit c016487a0148694a1a1464bb5f7ba0d0e142d14f)

12 years agor8933: Fix missing prototype warnings
Jelmer Vernooij [Tue, 2 Aug 2005 18:46:17 +0000 (18:46 +0000)]
r8933: Fix missing prototype warnings
(This used to be commit 39b2220a84b1860d8ee09b8c15049f18fd77da7d)

12 years agor8932: Handle non-anonymous unions and structures better.
Tim Potter [Tue, 2 Aug 2005 18:29:51 +0000 (18:29 +0000)]
r8932: Handle non-anonymous unions and structures better.
(This used to be commit 04f993721574b4532962b5845faa4cb40a90ca38)

12 years agor8930: Add the libnet share tests based on code submitted by
Rafal Szczesniak [Tue, 2 Aug 2005 18:15:23 +0000 (18:15 +0000)]
r8930: Add the libnet share tests based on code submitted by
Gregory Leocadie <gleocadie@idealx.com>. Listing shares passes,
deleting not yet - it's a work in progress.

rafal
(This used to be commit 5c53498a4a3e84d5b55c233da01e96fdd4f0e0dd)

12 years agor8926: RFC 2891 - LDAP Control Extension for Server Side Sorting of Search Results
Simo Sorce [Tue, 2 Aug 2005 17:46:28 +0000 (17:46 +0000)]
r8926: RFC 2891 - LDAP Control Extension for Server Side Sorting of Search Results
(This used to be commit 5dd4844cc5f1e719d55e642c5f1b8af5655fec89)

12 years agor8925: Start generating header and implementation files for smb_interfaces.h
Tim Potter [Tue, 2 Aug 2005 17:02:25 +0000 (17:02 +0000)]
r8925: Start generating header and implementation files for smb_interfaces.h
(This used to be commit 3a93f1125539eec6bd17003a748f1b7dd76d0031)

12 years agor8923: put the IRPC default timeout back to 10s (I didn't mean to commit this, it was
Andrew Tridgell [Tue, 2 Aug 2005 16:58:52 +0000 (16:58 +0000)]
r8923: put the IRPC default timeout back to 10s (I didn't mean to commit this, it was
changed just for deugging)
(This used to be commit a7c260e61feec210bcb5cad0f8f759544dc9dd1e)

12 years agor8920: Make NAME hash entry for struct elements a list.
Tim Potter [Tue, 2 Aug 2005 16:21:30 +0000 (16:21 +0000)]
r8920: Make NAME hash entry for struct elements a list.

Return array length entries for elements that have an array specifier.
(This used to be commit 17689ca7403dd8762185611da2e08545af611d71)

12 years agor8919: Return references to structs and unions in parse tree. Fill in type
Tim Potter [Tue, 2 Aug 2005 16:06:35 +0000 (16:06 +0000)]
r8919: Return references to structs and unions in parse tree.  Fill in type
names for structs and unions also.
(This used to be commit c31be383461d8a2784aa85619b38f81a389024f2)

12 years agor8918: Handle const elements in structures or unions. This is a bit yucky but
Tim Potter [Tue, 2 Aug 2005 14:58:59 +0000 (14:58 +0000)]
r8918: Handle const elements in structures or unions.  This is a bit yucky but
making an optional_const rule puts the parser in an infinite loop (?).
(This used to be commit 6339cc75fae8296757c4609cede1d5703b90d52a)

12 years agor8917: Better support for extended ldap search operations
Simo Sorce [Tue, 2 Aug 2005 14:04:22 +0000 (14:04 +0000)]
r8917:   Better support for extended ldap search operations
  Try to follow the RFC where possible and adapt to
  openLdap and AD way of handling this structure
(This used to be commit d844d45d87b4114bc1b9af2e40f8c27ba3e219de)

12 years agor8910: An initial parser to parse structures in smb_interfaces.h. This will be
Tim Potter [Tue, 2 Aug 2005 06:10:31 +0000 (06:10 +0000)]
r8910: An initial parser to parse structures in smb_interfaces.h.  This will be
used to generate ejs objects for making raw smb calls.

Running 'make smb_interfaces' should run the build_smb_interfaces.pl
script which at the moment only displays a dump of the parsed data.
Const is also not working right now but it's bedtime.
(This used to be commit 1be5f55d7f6926bf7266ea72623990f0bb558c94)

12 years agor8905: don't try to do DNS lookups on interface names with wildcards
Andrew Tridgell [Tue, 2 Aug 2005 01:22:38 +0000 (01:22 +0000)]
r8905: don't try to do DNS lookups on interface names with wildcards
(This used to be commit bbdd446254a0e66af3326e2e66d568eeee0922c0)

12 years agor8904: Split off the query stage as a separate function.
Rafal Szczesniak [Tue, 2 Aug 2005 01:12:58 +0000 (01:12 +0000)]
r8904: Split off the query stage as a separate function.

rafal
(This used to be commit bbe7e726af8c61108a7bca1e10e9340bbe37f3ef)

12 years agor8903: Update the howto as smbscript is now installed along with other
Rafal Szczesniak [Mon, 1 Aug 2005 22:19:28 +0000 (22:19 +0000)]
r8903: Update the howto as smbscript is now installed along with other
binaries in bin/ directory and trying to call provision script,
without PATH properly set, fails.

rafal
(This used to be commit 86488e5393d91d1bca0f8283f52f8fd59f2ba651)

12 years agor8902: Revert the small change as Andrew Bartlett asked. Now, let's go
Rafal Szczesniak [Mon, 1 Aug 2005 22:10:24 +0000 (22:10 +0000)]
r8902: Revert the small change as Andrew Bartlett asked. Now, let's go
and fix howto.txt.

rafal
(This used to be commit 5bf5559e0f71455ddf62eef11956de12d104459b)

12 years agor8901: Fix ntlm_auth segfault (invalid free()). We have moved to talloc
Andrew Bartlett [Mon, 1 Aug 2005 22:04:25 +0000 (22:04 +0000)]
r8901: Fix ntlm_auth segfault (invalid free()).  We have moved to talloc
here.

Andrew Bartlett
(This used to be commit b341bd4487f81a48de2e479e85d90f64c7f071e0)

12 years agor8898: Fix provision script to actually work, since location of smbscript
Rafal Szczesniak [Mon, 1 Aug 2005 20:51:13 +0000 (20:51 +0000)]
r8898: Fix provision script to actually work, since location of smbscript
has changed.

rafal
(This used to be commit a59594d2d84417bc0c87be953daf9152b968c61a)

12 years agor8897: Add test for the comment field.
Rafal Szczesniak [Mon, 1 Aug 2005 20:48:29 +0000 (20:48 +0000)]
r8897: Add test for the comment field.

rafal
(This used to be commit 3cb517f7c134ee18eb9af79c486c85bed0ef4f81)

12 years agor8896: Handle more complex case where field being changed doesn't appear
Rafal Szczesniak [Mon, 1 Aug 2005 20:47:26 +0000 (20:47 +0000)]
r8896: Handle more complex case where field being changed doesn't appear
alone in any of userinfo levels. What's needed is extra query step
to fill the userinfo structure and then modify a single field.
The other way to do it is userinfo level 21 with bitmap flags set,
but first all field flags need to be found.

rafal
(This used to be commit 59769977e8ebc54be7fa80f19638b634f52df515)

12 years agor8895: work around broken glibc strrchr function that gives valgrind errors on some...
Andrew Tridgell [Mon, 1 Aug 2005 20:41:48 +0000 (20:41 +0000)]
r8895: work around broken glibc strrchr function that gives valgrind errors on some boxes
(This used to be commit 5079fdea1b4fde4f844713f42e678759324d801d)

12 years agor8893: fixed the valgrind error on stream termination due to prototol errors
Andrew Tridgell [Mon, 1 Aug 2005 19:48:16 +0000 (19:48 +0000)]
r8893: fixed the valgrind error on stream termination due to prototol errors
(This used to be commit cf1a7bbe96e8e40ac4df3eaa3e5922a944b45579)

12 years agor8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC test
Andrew Tridgell [Mon, 1 Aug 2005 17:33:43 +0000 (17:33 +0000)]
r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC test
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)

12 years agor8886: Exchange the arguments of timeval_compare, this makes it behave like strcmp.
Volker Lendecke [Mon, 1 Aug 2005 17:31:40 +0000 (17:31 +0000)]
r8886: Exchange the arguments of timeval_compare, this makes it behave like strcmp.

Volker
(This used to be commit 6f5bd7602155413029de32295d2639c4073ad4d8)

12 years agor8885: fixed shell syntax
Andrew Tridgell [Mon, 1 Aug 2005 16:32:48 +0000 (16:32 +0000)]
r8885: fixed shell syntax
(This used to be commit 00ea1f38a36a0e45219a941a38875787bf526661)

12 years agor8884: valgrind error logs only matter if non-zero in size
Andrew Tridgell [Mon, 1 Aug 2005 16:12:21 +0000 (16:12 +0000)]
r8884: valgrind error logs only matter if non-zero in size
(This used to be commit baaad4f4a4c84fb0261ab59d31a680f33b1beb47)

12 years agor8883: Apply some const.
Volker Lendecke [Mon, 1 Aug 2005 16:12:19 +0000 (16:12 +0000)]
r8883: Apply some const.

Volker
(This used to be commit ccbb64e2670eab921bc50b8f2dbf0b274c0b8750)

12 years agor8882: - enable the domain master
Andrew Tridgell [Mon, 1 Aug 2005 16:01:09 +0000 (16:01 +0000)]
r8882: - enable the domain master

- start adding support for showing valgrind results in build farm tests
(This used to be commit b1d0e9fa4e750564bcb80e7b8db9155aea6fac62)

12 years agor8879: more expansion of the irpc test to try to uncover the ia64 mystery
Andrew Tridgell [Mon, 1 Aug 2005 01:52:01 +0000 (01:52 +0000)]
r8879: more expansion of the irpc test to try to uncover the ia64 mystery
(This used to be commit ff03b8148bdf7798af4e1704aba22635bb67cbe4)

12 years agor8878: Spelling fixes. (-:
Tim Potter [Mon, 1 Aug 2005 01:39:24 +0000 (01:39 +0000)]
r8878: Spelling fixes.  (-:
(This used to be commit f850faca9797c9818a46fec72dba069cac5a6db7)

12 years agor8876: check the result of AddOne and test some more values
Stefan Metzmacher [Mon, 1 Aug 2005 00:58:33 +0000 (00:58 +0000)]
r8876: check the result of AddOne and test some more values

metze
(This used to be commit 6918e9c5a3e2f9cd69569037bbdfed4e7eed94d5)

12 years agor8875: Rename timeval_diff to timeval_until and revert the arguments. timeval_diff is
Volker Lendecke [Mon, 1 Aug 2005 00:34:39 +0000 (00:34 +0000)]
r8875: Rename timeval_diff to timeval_until and revert the arguments. timeval_diff is
not strictly a subtraction function, there can't be negative timevals.

Volker
(This used to be commit 525d75dd24f6a8810f1ed2043d170c70b060f1f0)

12 years agor8874: test some more combinations
Stefan Metzmacher [Mon, 1 Aug 2005 00:26:52 +0000 (00:26 +0000)]
r8874: test some more combinations

metze
(This used to be commit 32c64e5bc2610d319b4e2e433e149cdd4bc538c9)

12 years agor8873: add more checks
Stefan Metzmacher [Sun, 31 Jul 2005 23:55:10 +0000 (23:55 +0000)]
r8873: add more checks

metze
(This used to be commit bfc855d78f4ffb6e0f30a2bb02d8b388abaa971b)

12 years agor8871: add some debugging code to findout why LOCAL-IRPC fails on 64bit hosts
Stefan Metzmacher [Sun, 31 Jul 2005 23:49:44 +0000 (23:49 +0000)]
r8871: add some debugging code to findout why LOCAL-IRPC fails on 64bit hosts

metze
(This used to be commit 2c36b64dccb30609fbc9ed68b7ab090bcbf44633)

12 years agor8868: add comfigure check for c99 struct initialization,
Stefan Metzmacher [Sun, 31 Jul 2005 22:31:53 +0000 (22:31 +0000)]
r8868: add comfigure check for c99 struct initialization,
which is required for samba4

metze
(This used to be commit 3d4fdb70935b4bde1c34a293e5d5a3000151c116)

12 years agor8867: try to fix the LOCAL-IRPC test on 64bit platforms
Stefan Metzmacher [Sun, 31 Jul 2005 21:47:28 +0000 (21:47 +0000)]
r8867: try to fix the LOCAL-IRPC test on 64bit platforms

metze
(This used to be commit b7401c142a53696eb74af4fc4bc992728846d20e)

12 years agor8859: having been successfully mailbombed by build@samba.org, fix the build again
Andrew Tridgell [Sat, 30 Jul 2005 03:59:17 +0000 (03:59 +0000)]
r8859: having been successfully mailbombed by build@samba.org, fix the build again
(This used to be commit aac733067aac0e09cd7e25b21fe37c908ab97773)

12 years agor8858: just to make sure it works on the main trees, deliberately break the samba4...
Andrew Tridgell [Sat, 30 Jul 2005 03:47:59 +0000 (03:47 +0000)]
r8858: just to make sure it works on the main trees, deliberately break the samba4 build

I expect to get a flood of nastygrams from build@samba.org for this ....
(This used to be commit 578b1cad40d0a85cc1af95eb83d64d0bf3680829)

12 years agor8857: please don't get fancy with embedded boolean statements in js
Andrew Tridgell [Sat, 30 Jul 2005 02:02:52 +0000 (02:02 +0000)]
r8857: please don't get fancy with embedded boolean statements in js
code. Especially as this is a new language for most Samba developers,
it is far better to err strongly on the side of readability rather
than trying to save a line of code by using fancy tricks
(This used to be commit 3228644cf898cc9b3386675f40f2f7e52f69e5c0)

12 years agor8855: Share this enum (describing the SamSync databases) between nbt and netlogon.
Andrew Bartlett [Sat, 30 Jul 2005 00:14:48 +0000 (00:14 +0000)]
r8855: Share this enum (describing the SamSync databases) between nbt and netlogon.

Andrew Bartlett
(This used to be commit 5e29e1c68c1b1a957419320cef55395ba0fe6b6f)

12 years agor8854: #if 0 out the right things this time. (Sorry about the build breakage)
Andrew Bartlett [Fri, 29 Jul 2005 23:39:11 +0000 (23:39 +0000)]
r8854: #if 0 out the right things this time.  (Sorry about the build breakage)

Use "" for the no domain case.

Andrew Bartlett
(This used to be commit 4989ffe870408e9d9a9427b3cc79d756c94ed803)

12 years agor8853: fixed path to smb.conf
Andrew Tridgell [Fri, 29 Jul 2005 23:33:11 +0000 (23:33 +0000)]
r8853: fixed path to smb.conf

Jelmer, is this what you intended?
(This used to be commit e2251823fecea8d35913739d83abb8cf29d785f2)

12 years agor8852: fixed the build
Andrew Tridgell [Fri, 29 Jul 2005 23:31:44 +0000 (23:31 +0000)]
r8852: fixed the build

andrew, please check
(This used to be commit 0dda73add315e837defd7a705af988aca4cd4556)

12 years agor8847: Rework the Samba4 'net join' code. I'm trying to get this closer to
Andrew Bartlett [Fri, 29 Jul 2005 10:58:05 +0000 (10:58 +0000)]
r8847: Rework the Samba4 'net join' code.  I'm trying to get this closer to
what WinXP does when joining an AD domain, but in the meantime this
removes the excess unions, and uses the LSA pipe in same way XP does.

Andrew Bartlett
(This used to be commit d2789c426090c325f6535cdce380ac0f4e22c3c7)

12 years agor8846: Test yet more NTLMv2 combinations.
Andrew Bartlett [Fri, 29 Jul 2005 08:48:39 +0000 (08:48 +0000)]
r8846: Test yet more NTLMv2 combinations.

I can't get a few of the session key values right (and these tests are
#if 0'ed out), but this expands the testing.

Andrew Bartlett
(This used to be commit e947c8a8f2a5cb458c708e902eabfca94d24d0f3)

12 years agor8845: Removing unnecessary string length calculations. Thanks abartlet
Rafal Szczesniak [Fri, 29 Jul 2005 06:42:43 +0000 (06:42 +0000)]
r8845: Removing unnecessary string length calculations. Thanks abartlet
for noticing that.

rafal
(This used to be commit 109fc94c13ad04feaaa3f9c7666ad431b3255ae6)

12 years agor8844: Actually, both types of provision wipe the DB. But we do need a way
Andrew Bartlett [Fri, 29 Jul 2005 02:35:48 +0000 (02:35 +0000)]
r8844: Actually, both types of provision wipe the DB.  But we do need a way
to explian the tie between 'Initial Provision' and the next step being
a SamSync or a Samba3 import etc.

Andrew Bartlett
(This used to be commit b37a2de9a89853393bcc9d20cfcffae96df9a90e)

12 years agor8841: disable dependencies for now. To try dependencies, uncomment the 3rd-to-last...
Jelmer Vernooij [Thu, 28 Jul 2005 21:52:32 +0000 (21:52 +0000)]
r8841: disable dependencies for now. To try dependencies, uncomment the 3rd-to-last line of Makefile
(This used to be commit 4faed45851ad83249a9c8778e052a168bf5db2fa)

12 years agor8838: Add ugly hack to prevent make from barfing out because it doesn't know
Jelmer Vernooij [Thu, 28 Jul 2005 19:40:07 +0000 (19:40 +0000)]
r8838: Add ugly hack to prevent make from barfing out because it doesn't know
how to create heimdal C files.
(This used to be commit 403ed4abf5d9061c1d8e66e94766ae1ccefb585d)

12 years agor8832: Automatically rebuilding C files if headers change (in developer mode)
Jelmer Vernooij [Thu, 28 Jul 2005 14:37:54 +0000 (14:37 +0000)]
r8832: Automatically rebuilding C files if headers change (in developer mode)
(This used to be commit bb02e1dccb058e31cf33aaac954708276090a9ec)

12 years agor8831: Clarify data wipe-out statement
Alexander Bokovoy [Thu, 28 Jul 2005 14:11:03 +0000 (14:11 +0000)]
r8831: Clarify data wipe-out statement
(This used to be commit 981e17eea449faa591b7a8b0c2baaa02461fbf4f)

12 years agor8830: Fix provision script after data split
Alexander Bokovoy [Thu, 28 Jul 2005 14:09:55 +0000 (14:09 +0000)]
r8830: Fix provision script after data split
(This used to be commit 99d676d732dffbbf428cc0f012da26c47e6bb66d)

12 years agor8829: Generate hash rather then a lot of globals.
Jelmer Vernooij [Thu, 28 Jul 2005 13:37:21 +0000 (13:37 +0000)]
r8829: Generate hash rather then a lot of globals.
(This used to be commit 19d383259fa6af8e24f53dec3664aefe09310401)

12 years agor8827: Fix install on some systems.
Jelmer Vernooij [Thu, 28 Jul 2005 12:27:46 +0000 (12:27 +0000)]
r8827: Fix install on some systems.
(This used to be commit bca762494316dd0b0bc593e4e374a68260c87f47)

12 years agor8826: Make configure generate config.mk files (with the external libraries
Jelmer Vernooij [Thu, 28 Jul 2005 11:51:37 +0000 (11:51 +0000)]
r8826: Make configure generate config.mk files (with the external libraries
that were found) and a config.pm file (with all substitution variables)
(This used to be commit 52bb1374bbcfc9b9a6d098687bafe9021a1ee858)

12 years agor8825: Move list of object files to .mk file
Jelmer Vernooij [Thu, 28 Jul 2005 11:27:58 +0000 (11:27 +0000)]
r8825: Move list of object files to .mk file
(This used to be commit 604422b1f967733b009a6e93520cb196d1eb5a89)

12 years agor8824: Fix indentation, and don't send 'invalid' LM password.
Andrew Bartlett [Thu, 28 Jul 2005 07:35:30 +0000 (07:35 +0000)]
r8824: Fix indentation, and don't send 'invalid' LM password.

Andrew Bartlett
(This used to be commit a1c1aecc7e4688cb377ca9322238c27de8fdc69c)

12 years agor8823: I don't know why I added this test, it appears bogus.
Andrew Bartlett [Thu, 28 Jul 2005 07:34:51 +0000 (07:34 +0000)]
r8823: I don't know why I added this test, it appears bogus.

Andrew Bartlett
(This used to be commit 640c086f8e5fe37bbd151a045d0fa20088cbda02)

12 years agor8822: fixed number of arguments in samr lib
Andrew Tridgell [Thu, 28 Jul 2005 07:14:49 +0000 (07:14 +0000)]
r8822: fixed number of arguments in samr lib
(This used to be commit 8eee26bb85472aa45bd42fd28f968a38730e286c)

12 years agor8821: continue the trend to move to a more OO style of interface for our js
Andrew Tridgell [Thu, 28 Jul 2005 06:46:03 +0000 (06:46 +0000)]
r8821: continue the trend to move to a more OO style of interface for our js
calls. This changes the generated RPC and IRPC calls to use the 'this'
object pointer instead of requiring the passing of the object on each
call. So typical usage is now:

var echo = echo_init();
var io = irpcObj();

status = echo.connect("ncacn_np:server");
assert(status.is_ok);

io.input.in_data = 7;
status = echo.AddOne(io);
assert(status.is_ok);
(This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)

12 years agor8820: Push this common block of code into the caller.
Andrew Bartlett [Thu, 28 Jul 2005 04:46:11 +0000 (04:46 +0000)]
r8820: Push this common block of code into the caller.

Use talloc_steal() rather than talloc_reference().

Andrew Bartlett
(This used to be commit 8774f971f3926c5c37aad1e8dfeafa394de87d63)

12 years agor8819: fixed a memory leak in irpc_call()
Andrew Tridgell [Thu, 28 Jul 2005 04:09:11 +0000 (04:09 +0000)]
r8819: fixed a memory leak in irpc_call()
(This used to be commit 25b7524ce5029eadd48c3046297ca6bd3260b013)

12 years agor8818: - fix LOCAL-IRPC test for new ref-alloc semantics of irpc
Andrew Tridgell [Thu, 28 Jul 2005 04:07:51 +0000 (04:07 +0000)]
r8818: - fix LOCAL-IRPC test for new ref-alloc semantics of irpc

- fixed return result from LOCAL-IRPC test

- added timelimit support

- ensure we free messages as they complete
(This used to be commit ab9a5fd84b3832e752024b92d5d7e2d89b9a1df8)

12 years agor8817: - fixed return result from LOCAL-MESSAGING test
Andrew Tridgell [Thu, 28 Jul 2005 04:06:54 +0000 (04:06 +0000)]
r8817: - fixed return result from LOCAL-MESSAGING test

- added timelimit support
(This used to be commit dbac93e313a149bc4c0053f6962289e71b168fb3)

12 years agor8811: Fix the build..
Jelmer Vernooij [Thu, 28 Jul 2005 00:27:28 +0000 (00:27 +0000)]
r8811: Fix the build..
(This used to be commit fac77f5fa267da57a55e88cad8993897e80741a0)

12 years agor8810: Fix missing headers. Still doesn't fix the build but getting closer there.
Rafal Szczesniak [Wed, 27 Jul 2005 22:14:55 +0000 (22:14 +0000)]
r8810: Fix missing headers. Still doesn't fix the build but getting closer there.

rafal
(This used to be commit bc638cc3d66525cf91ef76eb0c486542fff2b929)

12 years agor8809: Merge validator with NDR.pm (validator is NDR-specific)
Jelmer Vernooij [Wed, 27 Jul 2005 22:02:23 +0000 (22:02 +0000)]
r8809: Merge validator with NDR.pm (validator is NDR-specific)
(This used to be commit 5c0a22167d3424573ede99937549d815d067f0bc)

12 years agor8808: More comments.
Rafal Szczesniak [Wed, 27 Jul 2005 21:59:16 +0000 (21:59 +0000)]
r8808: More comments.

rafal
(This used to be commit da7a31d7073d156ef5c593578a05fecf770ebc93)

12 years agor8807: Modifying datetime field using struct timeval argument rather than
Rafal Szczesniak [Wed, 27 Jul 2005 21:46:06 +0000 (21:46 +0000)]
r8807: Modifying datetime field using struct timeval argument rather than
text-based, after recent discussion with both Andrews :)

Basic test seems to work (at least it doesn't fail now).

rafal
(This used to be commit 1bc3162e9441aeae1d8c4b4f03b5b75eb848f4bf)

12 years agor8806: Move data representation-independent data into seperate header
Jelmer Vernooij [Wed, 27 Jul 2005 21:09:16 +0000 (21:09 +0000)]
r8806: Move data representation-independent data into seperate header
(This used to be commit 26e1fdf63007e28468a05b18bede1e69981edc12)

12 years agor8803: Rename --header to --ndr-header and --parser to --ndr-parser
Jelmer Vernooij [Wed, 27 Jul 2005 19:58:09 +0000 (19:58 +0000)]
r8803: Rename --header to --ndr-header and --parser to --ndr-parser
(This used to be commit d292ab7ca6ce8232a182e7ec9480671bb3044a6a)

12 years agor8801: Change --output to --outputdir and make pidl add a data representation prefix
Jelmer Vernooij [Wed, 27 Jul 2005 18:53:07 +0000 (18:53 +0000)]
r8801: Change --output to --outputdir and make pidl add a data representation prefix
to pidl itself. Useful for supporting other data representation types.
(This used to be commit 5af68a04763f39f2a9898155e2c82ed2ee646f36)

12 years agor8792: Clarify comments
Andrew Bartlett [Wed, 27 Jul 2005 00:25:17 +0000 (00:25 +0000)]
r8792: Clarify comments
(This used to be commit 6174cf826fac8288b6604d9140b741aab2156cb3)

12 years agor8791: (missing from previous commit)
Andrew Bartlett [Wed, 27 Jul 2005 00:24:47 +0000 (00:24 +0000)]
r8791: (missing from previous commit)

Add templating support for foreignSecurityPrincipal to the samdb
module.

Andrew Bartltt
(This used to be commit 5f51d806d718bfa6931d102ff4e866c688a6ecd9)

12 years agor8790: Finish the migration of aliases and privilages with SamSync, by adding
Andrew Bartlett [Wed, 27 Jul 2005 00:23:09 +0000 (00:23 +0000)]
r8790: Finish the migration of aliases and privilages with SamSync, by adding
templating support for foreignSecurityPrincipals to the samdb module.
This is an extension beyond what microsoft does, and has been very
useful :-)

The setup scripts have been modified to use the new template, as has
the SAMR and LSA code.

Other cleanups in LSA remove the assumption that the short domain name
is the first component of the realm.

Also add a lot of useful debug messages, to make it clear how/why the
SamSync may have gone wrong.  Many of these should perhaps be hooked
into an error string.

Andrew Bartlett
(This used to be commit 1f071b0609c5c83024db1d4a7d04334a932b8253)

12 years agor8789: Send new monitor messages from userdel routine.
Rafal Szczesniak [Tue, 26 Jul 2005 23:03:37 +0000 (23:03 +0000)]
r8789: Send new monitor messages from userdel routine.

rafal
(This used to be commit eaaefa374ce11ab5dc3738bea046d33ed879fc4c)