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
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.
Jelmer Vernooij [Thu, 28 Jul 2005 14:37:54 +0000 (14:37 +0000)]
r8832: Automatically rebuilding C files if headers change (in developer mode)
Alexander Bokovoy [Thu, 28 Jul 2005 14:11:03 +0000 (14:11 +0000)]
r8831: Clarify data wipe-out statement
Alexander Bokovoy [Thu, 28 Jul 2005 14:09:55 +0000 (14:09 +0000)]
r8830: Fix provision script after data split
Jelmer Vernooij [Thu, 28 Jul 2005 13:37:21 +0000 (13:37 +0000)]
r8829: Generate hash rather then a lot of globals.
Jelmer Vernooij [Thu, 28 Jul 2005 12:27:46 +0000 (12:27 +0000)]
r8827: Fix install on some systems.
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)
Jelmer Vernooij [Thu, 28 Jul 2005 11:27:58 +0000 (11:27 +0000)]
r8825: Move list of object files to .mk file
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
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
Andrew Tridgell [Thu, 28 Jul 2005 07:14:49 +0000 (07:14 +0000)]
r8822: fixed number of arguments in samr lib
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);
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
Andrew Tridgell [Thu, 28 Jul 2005 04:09:11 +0000 (04:09 +0000)]
r8819: fixed a memory leak in irpc_call()
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
Andrew Tridgell [Thu, 28 Jul 2005 04:06:54 +0000 (04:06 +0000)]
r8817: - fixed return result from LOCAL-MESSAGING test
- added timelimit support
Jelmer Vernooij [Thu, 28 Jul 2005 00:27:28 +0000 (00:27 +0000)]
r8811: Fix the build..
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
Jelmer Vernooij [Wed, 27 Jul 2005 22:02:23 +0000 (22:02 +0000)]
r8809: Merge validator with NDR.pm (validator is NDR-specific)
Rafal Szczesniak [Wed, 27 Jul 2005 21:59:16 +0000 (21:59 +0000)]
r8808: More comments.
rafal
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
Jelmer Vernooij [Wed, 27 Jul 2005 21:09:16 +0000 (21:09 +0000)]
r8806: Move data representation-independent data into seperate header
Jelmer Vernooij [Wed, 27 Jul 2005 19:58:09 +0000 (19:58 +0000)]
r8803: Rename --header to --ndr-header and --parser to --ndr-parser
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.
Andrew Bartlett [Wed, 27 Jul 2005 00:25:17 +0000 (00:25 +0000)]
r8792: Clarify comments
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
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
Rafal Szczesniak [Tue, 26 Jul 2005 23:03:37 +0000 (23:03 +0000)]
r8789: Send new monitor messages from userdel routine.
rafal
Rafal Szczesniak [Tue, 26 Jul 2005 23:02:35 +0000 (23:02 +0000)]
r8788: New monitor messages.
rafal
Jelmer Vernooij [Tue, 26 Jul 2005 18:20:17 +0000 (18:20 +0000)]
r8784: Install pidl in "vendor" directories (matches debian policy)
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
Andrew Tridgell [Tue, 26 Jul 2005 12:40:26 +0000 (12:40 +0000)]
r8780: make numops controllable in BASE-DISCONNECT
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
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
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
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'
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
Andrew Tridgell [Tue, 26 Jul 2005 05:07:15 +0000 (05:07 +0000)]
r8774: make some gensec errors a bit less verbose
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)
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
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
Rafal Szczesniak [Mon, 25 Jul 2005 22:57:14 +0000 (22:57 +0000)]
r8761: Propagate changes in monitor messaging code.
rafal
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.
rafal
Rafal Szczesniak [Mon, 25 Jul 2005 22:00:56 +0000 (22:00 +0000)]
r8759: Another couple of fields in usermod routine.
rafal
Jelmer Vernooij [Mon, 25 Jul 2005 19:30:22 +0000 (19:30 +0000)]
r8758: Use official version numbering standard for debian packages.
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.
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
samsync'.
Now we just need to flesh out the delta types.
Andrew Bartlett
Andrew Tridgell [Mon, 25 Jul 2005 04:39:20 +0000 (04:39 +0000)]
r8750: drat, on some systems dirfd() is a macro
Andrew Tridgell [Mon, 25 Jul 2005 04:34:14 +0000 (04:34 +0000)]
r8749: for completeness, add rewinddir() and dirfd()
Andrew Tridgell [Mon, 25 Jul 2005 04:15:57 +0000 (04:15 +0000)]
r8748: fixed build. Andrew, please check.
Andrew Tridgell [Mon, 25 Jul 2005 04:03:22 +0000 (04:03 +0000)]
r8747: remove unused code
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)
Andrew Tridgell [Mon, 25 Jul 2005 02:26:38 +0000 (02:26 +0000)]
r8745: make ldap.js cleanup after itself
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
Andrew Tridgell [Mon, 25 Jul 2005 02:23:27 +0000 (02:23 +0000)]
r8743: automatically find the basedn in ldap.js
Andrew Tridgell [Mon, 25 Jul 2005 02:23:04 +0000 (02:23 +0000)]
r8742: fixed handling of zero length names in mprObject()
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
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
implies
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
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
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
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
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.
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
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
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
use
Andrew Tridgell [Sat, 23 Jul 2005 11:03:24 +0000 (11:03 +0000)]
r8724: some boilerplate installation text
Andrew Tridgell [Sat, 23 Jul 2005 10:59:05 +0000 (10:59 +0000)]
r8723: fix esptest menu
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
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.
rafal
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
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" ?
Rafal Szczesniak [Fri, 22 Jul 2005 17:45:42 +0000 (17:45 +0000)]
r8717: Add monitor message emiting in userdel and usermod calls.
rafal
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.
Tim Potter [Fri, 22 Jul 2005 11:19:55 +0000 (11:19 +0000)]
r8714: Oops - get it right this time!
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.
Andrew Tridgell [Fri, 22 Jul 2005 10:58:49 +0000 (10:58 +0000)]
r8712: cleanup old search test code to use talloc
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
Andrew Tridgell [Fri, 22 Jul 2005 10:01:26 +0000 (10:01 +0000)]
r8710: another attempt at fixing HPUX
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
Andrew Tridgell [Fri, 22 Jul 2005 07:21:59 +0000 (07:21 +0000)]
r8708: fixed an assert that abartlet found
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
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
Andrew Tridgell [Fri, 22 Jul 2005 04:32:59 +0000 (04:32 +0000)]
r8703: cope with null string in interpret_addr()
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?
Andrew Bartlett [Fri, 22 Jul 2005 04:18:16 +0000 (04:18 +0000)]
r8701: Fix up auth_developer for recent changes.
Andrew Bartlett
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
Andrew Bartlett [Fri, 22 Jul 2005 04:06:28 +0000 (04:06 +0000)]
r8699: removed invalid comment
Andrew Tridgell [Fri, 22 Jul 2005 03:46:57 +0000 (03:46 +0000)]
r8698: attempt to cope with lack of strtoull() on HPUX
Andrew Tridgell [Fri, 22 Jul 2005 01:56:51 +0000 (01:56 +0000)]
r8696: fixed ejs to more strictly follow the va_list rules. Might fix that
pesky panic on x86_64
Rafal Szczesniak [Thu, 21 Jul 2005 22:33:47 +0000 (22:33 +0000)]
r8693: Test code for usermod routine.
rafal
Rafal Szczesniak [Thu, 21 Jul 2005 22:32:04 +0000 (22:32 +0000)]
r8692: Starting parts of code to provide user modify functionality.
It's more like a placeholder now, than a working code. Just don't
want to hang it around my laptop only.
rafal
Jelmer Vernooij [Thu, 21 Jul 2005 21:27:39 +0000 (21:27 +0000)]
r8690: Code cleanups, improvements necessary for dependencies (not added yet)
Andrew Tridgell [Thu, 21 Jul 2005 14:04:13 +0000 (14:04 +0000)]
r8685: an alpha in the build farm is dying with a floating point
exception. Catch these in out fault handler, so we get a backtrace
Andrew Tridgell [Thu, 21 Jul 2005 14:00:51 +0000 (14:00 +0000)]
r8684: this should fix the panic on x86_64, and possibly alpha
Andrew Tridgell [Thu, 21 Jul 2005 13:45:07 +0000 (13:45 +0000)]
r8681: if SOCKET_WRAPPER_DIR starts with ./ then strip it internally. This saves us 2 more chars
in the name, which is enough to get IRIX 6.4 working
Andrew Tridgell [Thu, 21 Jul 2005 12:35:00 +0000 (12:35 +0000)]
r8680: try harder to find the binary for gdb in the backtrace
Andrew Tridgell [Thu, 21 Jul 2005 12:20:18 +0000 (12:20 +0000)]
r8679: only call fault setup once (thanks to andrew for pointing this out)
Andrew Tridgell [Thu, 21 Jul 2005 12:11:52 +0000 (12:11 +0000)]
r8678: setup for gdb backtrace in 'make test'
Andrew Bartlett [Thu, 21 Jul 2005 11:28:24 +0000 (11:28 +0000)]
r8677: The first part of the domain name may not be equal to the netbios domain name.
Remove the use of flatname from the main domain object, we no longer
reference it.
Andrew Bartlett