12 years agor8859: having been successfully mailbombed by, fix the build again
Andrew Tridgell [Sat, 30 Jul 2005 03:59:17 +0000 (03:59 +0000)]
r8859: having been successfully mailbombed by, 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 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.

(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 files (with the external libraries
Jelmer Vernooij [Thu, 28 Jul 2005 11:51:37 +0000 (11:51 +0000)]
r8826: Make configure generate files (with the external libraries
that were found) and a 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");

io.input.in_data = 7;
status = echo.AddOne(io);
(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.

(This used to be commit bc638cc3d66525cf91ef76eb0c486542fff2b929)

12 years agor8809: Merge validator with (validator is NDR-specific)
Jelmer Vernooij [Wed, 27 Jul 2005 22:02:23 +0000 (22:02 +0000)]
r8809: Merge validator with (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.

(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).

(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

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.

(This used to be commit eaaefa374ce11ab5dc3738bea046d33ed879fc4c)

12 years agor8788: New monitor messages.
Rafal Szczesniak [Tue, 26 Jul 2005 23:02:35 +0000 (23:02 +0000)]
r8788: New monitor messages.

(This used to be commit 40061d7bd66be702d92c80da2c5f955b640eda22)

12 years agor8784: Install pidl in "vendor" directories (matches debian policy)
Jelmer Vernooij [Tue, 26 Jul 2005 18:20:17 +0000 (18:20 +0000)]
r8784: Install pidl in "vendor" directories (matches debian policy)
(This used to be commit f6a12944d743c92270c3c647a47cd6b4f8185dd5)

12 years agor8781: - fixed a memory leak in BASE-SECLEAK (ironic, isn't it). There is
Andrew Tridgell [Tue, 26 Jul 2005 12:41:29 +0000 (12:41 +0000)]
r8781: - fixed a memory leak in BASE-SECLEAK (ironic, isn't it). There is
  another leak in the ASN.1 code that andrew has volunteered to look at

- make the timelimit controllable with -t
(This used to be commit 227d4d2115e768bbae13db2559d27bf8508aa18d)

12 years agor8780: make numops controllable in BASE-DISCONNECT
Andrew Tridgell [Tue, 26 Jul 2005 12:40:26 +0000 (12:40 +0000)]
r8780: make numops controllable in BASE-DISCONNECT
(This used to be commit 1cb91a11d46b49ae296abae9c8304e267e922df4)

12 years agor8779: Add rdn module to makefile and headers
Simo Sorce [Tue, 26 Jul 2005 09:17:46 +0000 (09:17 +0000)]
r8779: Add rdn module to makefile and headers
Search by distinguishedName as if searching by dn
(This used to be commit 1d4046136255aead319ab08da229146dbd285b38)

12 years agor8778: index on nCName in sam.ldb. This was costing us about 75% of the time in each...
Andrew Tridgell [Tue, 26 Jul 2005 07:46:21 +0000 (07:46 +0000)]
r8778: index on nCName in sam.ldb. This was costing us about 75% of the time in each smb login
(This used to be commit f6d24d063ad1a96c326ce6a60adfc224d905afc6)

12 years agor8777: make sure that the tree connect is a child of the return cli state structure.
Andrew Tridgell [Tue, 26 Jul 2005 07:23:57 +0000 (07:23 +0000)]
r8777: make sure that the tree connect is a child of the return cli state structure.
This fixes the BASE-DISCONNECT test
(This used to be commit 86fe5817b1abc754763eede64b615dc8c9db5362)

12 years agor8776: fixed SMB connections for IP addresses, even when name resolve order
Andrew Tridgell [Tue, 26 Jul 2005 07:23:11 +0000 (07:23 +0000)]
r8776: fixed SMB connections for IP addresses, even when name resolve order
doesn't include 'host'
(This used to be commit 77a1e3076a8d5c711fc96a69dd1a58c00d1f9604)

12 years agor8775: More SamSync work. This is really just mechanical...
Andrew Bartlett [Tue, 26 Jul 2005 06:37:20 +0000 (06:37 +0000)]
r8775: More SamSync work.  This is really just mechanical...

I need to take a grip over the ForiegnSecurityPrincipals, as the
SamSync currently fails on adding some aliases and privilages because
it can't find their entry.

Andrew Bartlett
(This used to be commit 533e44535392fdb292cfff3cdcda9c38ec329d01)

12 years agor8774: make some gensec errors a bit less verbose
Andrew Tridgell [Tue, 26 Jul 2005 05:07:15 +0000 (05:07 +0000)]
r8774: make some gensec errors a bit less verbose
(This used to be commit 2134ca475586ed9e062fbf4ef7222fe286c60c57)

12 years agor8773: fixed another dependency on directory ordering in RAW-SEARCH
Andrew Tridgell [Tue, 26 Jul 2005 04:47:16 +0000 (04:47 +0000)]
r8773: fixed another dependency on directory ordering in RAW-SEARCH

Thanks to andrew bartlett for helping to track this down (his was the
only system that hit this)
(This used to be commit 5edeb56bf0c86dae9cd9fe9275d1e37aedc05503)

12 years agor8772: Include the ldap ejs test in the standard 'make test'
Andrew Bartlett [Tue, 26 Jul 2005 03:46:41 +0000 (03:46 +0000)]
r8772: Include the ldap ejs test in the standard 'make test'

Andrew Bartlett
(This used to be commit 4ade880dcf3aa78f5934345e587cd54851378261)

12 years agor8771: Extend the SamSync code out to groups and aliases, as well as deleting.
Andrew Bartlett [Tue, 26 Jul 2005 03:11:16 +0000 (03:11 +0000)]
r8771: Extend the SamSync code out to groups and aliases, as well as deleting.

Andrew Bartlett
(This used to be commit bf594c1022f5ed59c06cb423411f94483b168cbb)

12 years agor8761: Propagate changes in monitor messaging code.
Rafal Szczesniak [Mon, 25 Jul 2005 22:57:14 +0000 (22:57 +0000)]
r8761: Propagate changes in monitor messaging code.

(This used to be commit 5be8479d5cf119bcda4046bf1c5d7c3b876e718d)

12 years agor8760: Rework monitor messaging code a bit, as Metze once suggested.
Rafal Szczesniak [Mon, 25 Jul 2005 22:56:28 +0000 (22:56 +0000)]
r8760: Rework monitor messaging code a bit, as Metze once suggested.
enum type has now been replaced with unsigned 32-bit field and
message data is passed as void pointer.

This allows various extension implementers to plug their monitor
messages in more easily.

(This used to be commit 4a6ab58133a59d3da3209b3e46c2a8cf848d25e7)

12 years agor8759: Another couple of fields in usermod routine.
Rafal Szczesniak [Mon, 25 Jul 2005 22:00:56 +0000 (22:00 +0000)]
r8759: Another couple of fields in usermod routine.

(This used to be commit 266aaacf0be955096d53e2a967bdaa5d0c5558ed)

12 years agor8758: Use official version numbering standard for debian packages.
Jelmer Vernooij [Mon, 25 Jul 2005 19:30:22 +0000 (19:30 +0000)]
r8758: Use official version numbering standard for debian packages.
(This used to be commit 8c3cdbc239706be36c4264e29b49ae9b9e50bfe8)

12 years agor8753: fixed directory handling on systems that do not return . and .. as the
Andrew Tridgell [Mon, 25 Jul 2005 10:40:17 +0000 (10:40 +0000)]
r8753: fixed directory handling on systems that do not return . and .. as the
first two entries in a directory. This is what caused the FC3 system
shelob in the build farm to fail the RAW-UNLINK and RAW-SEARCH tests.
(This used to be commit f48abaaaca301c025ebd381f62345b3869809917)

12 years agor8752: With all the infrustructure done, details like a SamSync migration
Andrew Bartlett [Mon, 25 Jul 2005 06:33:51 +0000 (06:33 +0000)]
r8752: With all the infrustructure done, details like a SamSync migration
into LDB are actually quite easy.

This brings us the users, and sets basic domain information.

You are expected to have provisioned with the settings for the target
domain, and have joined the domain as a BDC.  Then simply 'net

Now we just need to flesh out the delta types.

Andrew Bartlett
(This used to be commit 1e0f7792bb29b17c23197a5e42ee8cabb0cf17d0)

12 years agor8750: drat, on some systems dirfd() is a macro
Andrew Tridgell [Mon, 25 Jul 2005 04:39:20 +0000 (04:39 +0000)]
r8750: drat, on some systems dirfd() is a macro
(This used to be commit d974bf3589e1b0cd1d5661a21571b81e99350709)

12 years agor8749: for completeness, add rewinddir() and dirfd()
Andrew Tridgell [Mon, 25 Jul 2005 04:34:14 +0000 (04:34 +0000)]
r8749: for completeness, add rewinddir() and dirfd()
(This used to be commit ce022e40908dabad41de276941d2ee7a5739aea4)

12 years agor8748: fixed build. Andrew, please check.
Andrew Tridgell [Mon, 25 Jul 2005 04:15:57 +0000 (04:15 +0000)]
r8748: fixed build. Andrew, please check.
(This used to be commit 9411bd4e5e7ac9fd0aacd1432de967eda45e64f4)

12 years agor8747: remove unused code
Andrew Tridgell [Mon, 25 Jul 2005 04:03:22 +0000 (04:03 +0000)]
r8747: remove unused code
(This used to be commit 60a07da59dfe6dd89f01c6fb494debeda1a1984d)

12 years agor8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
Andrew Tridgell [Mon, 25 Jul 2005 04:03:01 +0000 (04:03 +0000)]
r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
are broken (apparently all BSD systems). This breakage leads to unlink
on files in an open directory causing a later seekdir to miss
files. The bug happens due to a block boundary bug in the BSD libc
implementation of these calls.

This replacement code also fixes a severe memory usage problem with
telldir that can cause closedir() to take an arbitrary amount of time.

I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer)
(This used to be commit e1bf7c4279fbc03a52497d24cea375e75059cba1)

12 years agor8745: make ldap.js cleanup after itself
Andrew Tridgell [Mon, 25 Jul 2005 02:26:38 +0000 (02:26 +0000)]
r8745: make ldap.js cleanup after itself
(This used to be commit 3a1c6a176ed37b4d696dab52b2f2e8ce5b681ff5)

12 years agor8744: Split 'net samdump' out into a separate file
Andrew Bartlett [Mon, 25 Jul 2005 02:23:41 +0000 (02:23 +0000)]
r8744: Split 'net samdump' out into a separate file

Work on the talloc memory tree, as I think talloc_reference and other
things were biting me.

Crush unions in the name of code reform. ;-)

Andrew Bartlett
(This used to be commit 2eadcf46699f1cc7adb2066e17096f70c7b73998)

12 years agor8743: automatically find the basedn in ldap.js
Andrew Tridgell [Mon, 25 Jul 2005 02:23:27 +0000 (02:23 +0000)]
r8743: automatically find the basedn in ldap.js
(This used to be commit bdca9537a260369a53cbb286642db86bc3ea0828)

12 years agor8742: fixed handling of zero length names in mprObject()
Andrew Tridgell [Mon, 25 Jul 2005 02:23:04 +0000 (02:23 +0000)]
r8742: fixed handling of zero length names in mprObject()
(This used to be commit 8086c37df65ac666aa340141d3584e9bc2c81278)

12 years agor8741: Kill warnings about enums not fully enumerated, as we will never use
Andrew Bartlett [Mon, 25 Jul 2005 01:19:16 +0000 (01:19 +0000)]
r8741: Kill warnings about enums not fully enumerated, as we will never use
all the branches.

Andrew Bartlett
(This used to be commit 258e5e302e461d789e5c353e1a0d81ce33b52f6b)

12 years agor8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:
Andrew Bartlett [Mon, 25 Jul 2005 01:17:09 +0000 (01:17 +0000)]
r8740: Extend the rdn_name module to handle adding the rdn as an attribute.  ie:

dn: cn=foo,ou=bar
objectClass: person


dn: cn=foo,ou=bar
objectClass: person
cn: foo
(as well as a pile more default attributes)

We also correct the case in the attirbute to match that in the DN
(win2k3 behaviour) and I have a testsuite (in ejs) to prove it.

This module also found a bug in our provision.ldif, so and reduces
code complexity in the samdb module.

Andrew Bartlett
(This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)

12 years agor8738: Test (using ejs!) the basic operation of the ldb modules.
Andrew Bartlett [Sun, 24 Jul 2005 22:18:01 +0000 (22:18 +0000)]
r8738: Test (using ejs!) the basic operation of the ldb modules.

ejs seems to test this stuff very nicely!

Andrew Bartlett
(This used to be commit 325f6d24dfc285587bde9fea6eeaf136c2731eff)

12 years agor8736: this fixes the ldb speed (raises BENCH-WINS from 15 ops/sec to over 4000)
Andrew Tridgell [Sun, 24 Jul 2005 12:38:42 +0000 (12:38 +0000)]
r8736: this fixes the ldb speed (raises BENCH-WINS from 15 ops/sec to over 4000)

simo, we need to be careful to cope with this sort of direct dn query efficiently
(This used to be commit 7b37923b726752101062fa8a92d3f96e41d55602)

12 years agor8735: added NBT and WINS testing to 'make test' so we will know if it breaks again
Andrew Tridgell [Sun, 24 Jul 2005 12:24:34 +0000 (12:24 +0000)]
r8735: added NBT and WINS testing to 'make test' so we will know if it breaks again
(This used to be commit 519812a9e8da777e4dff1dec22bd8a96c05c50c9)

12 years agor8734: fixed the wins server for the new ldb DN restrictions.
Andrew Tridgell [Sun, 24 Jul 2005 12:18:11 +0000 (12:18 +0000)]
r8734: fixed the wins server for the new ldb DN restrictions.

This gets it working, but I'm rather worried about the speed. We used
to get more than 5000 ops/sec, but now we are down to around 15
ops/sec. I suspect a bug in ldb.
(This used to be commit 83727bf72c970effdc5995e2f6e7816a57887b5c)

12 years agor8729: make the RAW-SEARCH test more robust to servers with hash based directory...
Andrew Tridgell [Sun, 24 Jul 2005 01:01:00 +0000 (01:01 +0000)]
r8729: make the RAW-SEARCH test more robust to servers with hash based directory ordering
(This used to be commit 8c4d0cd7b7063116ab08545dbe5f23390c7973c4)

12 years agor8726: increase default session timeout to 15 minutes to be less painful for developers
Andrew Tridgell [Sat, 23 Jul 2005 11:11:37 +0000 (11:11 +0000)]
r8726: increase default session timeout to 15 minutes to be less painful for developers
(This used to be commit d40e590674a20528a5649e1cfd377ee661265bb9)

12 years agor8725: redirect to the base install page not the provisioning page on first
Andrew Tridgell [Sat, 23 Jul 2005 11:05:32 +0000 (11:05 +0000)]
r8725: redirect to the base install page not the provisioning page on first
(This used to be commit eeeeab5eb7aff4fa3b25fa07a352eda74c44db6c)

12 years agor8724: some boilerplate installation text
Andrew Tridgell [Sat, 23 Jul 2005 11:03:24 +0000 (11:03 +0000)]
r8724: some boilerplate installation text
(This used to be commit 5b28bdb9c800e8fbf2c7ee62a7c6faf2ec773ef9)

12 years agor8723: fix esptest menu
Andrew Tridgell [Sat, 23 Jul 2005 10:59:05 +0000 (10:59 +0000)]
r8723: fix esptest menu
(This used to be commit 5a52729d5b81336973adaf277d265445b78b2ea7)

12 years agor8722: make the menu handling considerably saner and easier to follow. The whole
Andrew Tridgell [Sat, 23 Jul 2005 10:58:09 +0000 (10:58 +0000)]
r8722: make the menu handling considerably saner and easier to follow. The whole
menu hierarchy is now in /menu.js
(This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)

12 years agor8721: Further work on libnet_rpc_usermod function. Now it can change
Rafal Szczesniak [Sat, 23 Jul 2005 10:27:45 +0000 (10:27 +0000)]
r8721: Further work on libnet_rpc_usermod function. Now it can change
both account name and full name.

(This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)

12 years agor8720: split form object out to separate include file, and make it a real
Andrew Tridgell [Sat, 23 Jul 2005 09:05:34 +0000 (09:05 +0000)]
r8720: split form object out to separate include file, and make it a real
object, with a display() method
(This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)

12 years agor8718: try to improve the 2 level menu a bit.
Andrew Tridgell [Sat, 23 Jul 2005 08:54:09 +0000 (08:54 +0000)]
r8718: try to improve the 2 level menu a bit.

Deryck, if you get a chance, could you see how to make this a little
"left and up" arrow instead of "Main Menu" ?
(This used to be commit c6c1b2998c68b40496fe605097900071704d6474)

12 years agor8717: Add monitor message emiting in userdel and usermod calls.
Rafal Szczesniak [Fri, 22 Jul 2005 17:45:42 +0000 (17:45 +0000)]
r8717: Add monitor message emiting in userdel and usermod calls.

(This used to be commit 4b3aa69e70ed5d6e78f6f45f8f43649ad9ae108d)

12 years agor8715: - revert the %PRIi64 stuff. Tim, we explicitly check for %llu support
Andrew Tridgell [Fri, 22 Jul 2005 11:32:01 +0000 (11:32 +0000)]
r8715: - revert the %PRIi64 stuff. Tim, we explicitly check for %llu support
  in configure, and replace snprintf if the system doesn't support
  it. Our replacement code does not handle the "%PRIi64" stuff, so
  using it would break us on lots of platforms

- fixed constant array initialisers to work on HPUX.
(This used to be commit c6bae3e87e2dcb3a89bbb32da131627c60871e3d)

12 years agor8714: Oops - get it right this time!
Tim Potter [Fri, 22 Jul 2005 11:19:55 +0000 (11:19 +0000)]
r8714: Oops - get it right this time!
(This used to be commit 1d2b708da657a3f3c81bb60600f66bc359c2eab7)

12 years agor8713: Experiment to try and fix warnings on 64-bit machines without breaking
Tim Potter [Fri, 22 Jul 2005 11:16:32 +0000 (11:16 +0000)]
r8713: Experiment to try and fix warnings on 64-bit machines without breaking
32-bit ones.  Yes, this weird looking macros are part of C99.
(This used to be commit 7b316f119b8486b75ebe63b185c50fab82313e58)

12 years agor8712: cleanup old search test code to use talloc
Andrew Tridgell [Fri, 22 Jul 2005 10:58:49 +0000 (10:58 +0000)]
r8712: cleanup old search test code to use talloc
(This used to be commit 1d830bcd473a2166b6f89281faabb001697e35d4)

12 years agor8711: add m4 for finding return type for signal handlers
Andrew Tridgell [Fri, 22 Jul 2005 10:48:22 +0000 (10:48 +0000)]
r8711: add m4 for finding return type for signal handlers

this patch brought to you by the continuing saga of HPUX portability
(This used to be commit 4d63bd27d482ec84078c4541166b16cd82cfeb6a)

12 years agor8710: another attempt at fixing HPUX
Andrew Tridgell [Fri, 22 Jul 2005 10:01:26 +0000 (10:01 +0000)]
r8710: another attempt at fixing HPUX
(This used to be commit eb3b3c8b407b2208291385539c3379f0420a448e)

12 years agor8709: fixed the assumption in RAW-SEARCH that directories are returned in sorted...
Andrew Tridgell [Fri, 22 Jul 2005 09:49:32 +0000 (09:49 +0000)]
r8709: fixed the assumption in RAW-SEARCH that directories are returned in sorted order
(This used to be commit 92afff5fe7134872f12c25628d047b2a92e92a37)

12 years agor8708: fixed an assert that abartlet found
Andrew Tridgell [Fri, 22 Jul 2005 07:21:59 +0000 (07:21 +0000)]
r8708: fixed an assert that abartlet found
(This used to be commit f5e6547c28b2069ae80da5037c5f8d0661da652c)

12 years agor8707: this typedef isn't used, and breaks the build on HPUX, so I've removed it
Andrew Tridgell [Fri, 22 Jul 2005 06:52:46 +0000 (06:52 +0000)]
r8707: this typedef isn't used, and breaks the build on HPUX, so I've removed it
(This used to be commit b9b8714297401664fcf8380d4c90ee22b7341d35)

12 years agor8706: My previous patch oversimplied the previous change to session setup -
Andrew Bartlett [Fri, 22 Jul 2005 05:04:45 +0000 (05:04 +0000)]
r8706: My previous patch oversimplied the previous change to session setup -
we didn't cope with the 'anonymous NTLM under SPNEGO' login.

Andrew Bartlett
(This used to be commit c3cc14542e426b23e468a11803c1bab0f6fe290f)

12 years agor8703: cope with null string in interpret_addr()
Andrew Tridgell [Fri, 22 Jul 2005 04:32:59 +0000 (04:32 +0000)]
r8703: cope with null string in interpret_addr()
(This used to be commit ff156f7aae29045edd898635d16d141b3e848f3f)

12 years agor8702: fixed ntlm_auth build. Andrew, can you check I got this right?
Andrew Tridgell [Fri, 22 Jul 2005 04:30:11 +0000 (04:30 +0000)]
r8702: fixed ntlm_auth build. Andrew, can you check I got this right?
(This used to be commit 3c12b46e320412e4746fced7e2898f892e815118)

12 years agor8701: Fix up auth_developer for recent changes.
Andrew Bartlett [Fri, 22 Jul 2005 04:18:16 +0000 (04:18 +0000)]
r8701: Fix up auth_developer for recent changes.

Andrew Bartlett
(This used to be commit 1bc5a1190765571719dd0aaacef1413bba812617)

12 years agor8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
Andrew Bartlett [Fri, 22 Jul 2005 04:10:07 +0000 (04:10 +0000)]
r8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
user_info strcture in auth/

This moves it to a pattern much like that found in ntvfs, with
functions to migrate between PAIN, HASH and RESPONSE passwords.

Instead of make_user_info*() functions, we simply fill in the control
block in the callers, per recent dicussions on the lists.  This
removed a lot of data copies as well as error paths, as we can grab
much of it with talloc.

Andrew Bartlett
(This used to be commit ecbd2235a3e2be937440fa1dc0aecc5a047eda88)

12 years agor8699: removed invalid comment
Andrew Bartlett [Fri, 22 Jul 2005 04:06:28 +0000 (04:06 +0000)]
r8699: removed invalid comment
(This used to be commit f5910ceef5e1ec3fe40b4589e919fe502593b582)

12 years agor8698: attempt to cope with lack of strtoull() on HPUX
Andrew Tridgell [Fri, 22 Jul 2005 03:46:57 +0000 (03:46 +0000)]
r8698: attempt to cope with lack of strtoull() on HPUX
(This used to be commit c84c516b179fcbbcdb36c0c0aa4ffb4ff12f2c35)