1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

4694 Commits

Author SHA1 Message Date
Andrew Tridgell
37fdb858b0 r7298: ensure messages are sent in order even when under extreme load. This
fixes a IO_TIMEOUT problem in the messaging benchmarks
(This used to be commit c8b220b65d)
2007-10-10 13:17:38 -05:00
Stefan Metzmacher
ba30cbf67b r7297: make the code more readable
metze
(This used to be commit f9b4448ec5)
2007-10-10 13:17:38 -05:00
Andrew Tridgell
b4a95b949e r7296: avoid two stat() calls per message. This increases the raw message
rate from 20k/sec to 55k/sec. The irpc rate goes from 16k/sec to
34k/sec.

I should have run strace -T on this a long time ago.
(This used to be commit b9281668bb)
2007-10-10 13:17:38 -05:00
Andrew Tridgell
d934cb71d0 r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,
compared to about 20k messages/sec for the raw messaging layer. I
think that is quite acceptable given the extra functionality.
(This used to be commit a05d38d1d9)
2007-10-10 13:17:38 -05:00
Andrew Tridgell
bf1ffa283c r7294: implemented the irpc messaging system. This is the core of the
management system I proposed on samba-technical a couple of days
ago. Essentially it is a very lightweight way for any code in Samba to
make IDL based rpc calls to anywhere else in the code, without the
client or server having to go to the trouble of setting up a full rpc
service.

It can be used with any of our existing IDL, but I expect it will
mostly be used for a new set of Samba specific management calls.

The LOCAL-IRPC torture test demonstrates how it can be used by calling
the echo_AddOne() call over this transport.
(This used to be commit 3d589a0995)
2007-10-10 13:17:37 -05:00
Andrew Bartlett
0384065235 r7293: Turn sqlite3 support off by default, use --with-sqlite3 to re-enable.
Andrew Bartlett
(This used to be commit 4225792154)
2007-10-10 13:17:37 -05:00
Andrew Bartlett
c88d65a862 r7292: Fix up the build system support for derrell's sqlite3 ldb backend.
It is on by default, so I've also fixed a build issue in it.  I'll
show how to make it off be default in the next commit.

Andrew Bartlett
(This used to be commit 5a1ef88810)
2007-10-10 13:17:37 -05:00
Andrew Bartlett
2e787b5b17 r7291: Additional notes on what we require from a kerberos implementation.
Andrew Bartlett
(This used to be commit a8d3493b6f)
2007-10-10 13:17:37 -05:00
Andrew Tridgell
cf5d6ef899 r7290: comment out heimdal config for now
(This used to be commit ba565ba575)
2007-10-10 13:17:37 -05:00
Andrew Tridgell
1de1131aa3 r7289: split out the list of *.mk files for the build, so you don't need to modify the perl
code to add a new library
(This used to be commit 71366b0909)
2007-10-10 13:17:37 -05:00
Jelmer Vernooij
d54c2639f5 r7288: Remove empty wrapper function
(This used to be commit 879f68cef7)
2007-10-10 13:17:37 -05:00
Derrell Lipman
06cc74a66c r7287: work in progress. no more time to work on this right now. save latest changes.
(This used to be commit 94cbef9211)
2007-10-10 13:17:36 -05:00
Derrell Lipman
1b454c430f r7286: add prototype for public connect function in ldb_sqlite3
(This used to be commit 10d438af06)
2007-10-10 13:17:36 -05:00
Andrew Bartlett
e168c5fefa r7285: It appears that MIT Kerberos does not have the log redirection
facility that I'm using. This should let us compile the non-KDC
components on MIT again.

Andrew Bartlett
(This used to be commit ae9c2d2b54)
2007-10-10 13:17:36 -05:00
Derrell Lipman
d93e15f1d4 r7284: more build issues for sqlite3
(This used to be commit 45f88f0f81)
2007-10-10 13:17:36 -05:00
Derrell Lipman
f725863f75 r7283: add sqlite3.m4
(This used to be commit 10a828a442)
2007-10-10 13:17:36 -05:00
Derrell Lipman
217a8cfe66 r7282: ldb_sqlite3 work in progress.
(This used to be commit d934c42b00)
2007-10-10 13:17:36 -05:00
Derrell Lipman
150f127aa3 r7281: removing document
(This used to be commit 6867d56796)
2007-10-10 13:17:36 -05:00
Derrell Lipman
ec9bdca186 r7280: taking advantage of previous research. this is documentation on which latest schema is based
(This used to be commit 603faa9cab)
2007-10-10 13:17:35 -05:00
Jelmer Vernooij
efa7da47d4 r7278: Oops, don't compile librpc as library..
(This used to be commit e9f83bece0)
2007-10-10 13:17:35 -05:00
Derrell Lipman
a1ba224107 r7276: - moved static tdb function ltdb_dn_fold() into common/ so that it can be
called from multiple backends.  (ldb_sqlite3 needs it too.)  Added parameter
  for a callback function that determines whether an attribute needs case
  folding.
- begin to prepare for sqlite3 in build process
- work-in-progress updates, on ldb_sqlite3
(This used to be commit a80bced0b9)
2007-10-10 13:17:35 -05:00
Jelmer Vernooij
5296bd1b51 r7274: Move m4 files to seperate dir
(This used to be commit 0dda66f0e8)
2007-10-10 13:17:35 -05:00
Jelmer Vernooij
03cdfbe8ac r7273: Update a bit
(This used to be commit aa0b6372d5)
2007-10-10 13:17:35 -05:00
Andrew Tridgell
68908f1712 r7272: this is a sample mk file for building a heimdal library using the
samba4 build system. It assumes we have source/heimdal/ with a current
lorikeet heimdal tree.

I haven't enabled this, its just an example of one possible approach
to heimdal integration.
(This used to be commit 0835d6a0d9)
2007-10-10 13:17:35 -05:00
Andrew Tridgell
86bcccfba5 r7271: added the ability to specify a target specific set of CFLAGS for
binaries and libraries. This makes it possible to build heimdal with
our build system, which means users don't have to suffer two build
systems.
(This used to be commit a31ec2a750)
2007-10-10 13:17:34 -05:00
Andrew Bartlett
d26f46f72c r7270: A big revamp to the way we handle kerberos errors in Samba4. We now
fill in the function pointers to handle the logging, and catch all the
kerberos warnings. (Currently at level 3).

To avoid a memory leak, this requries a new function: krb5_freelog(),
which I've added to lorikeet/heimdal.

This also required a revamp to how we handle the krb5_context, so as
to make it easier to handle with talloc destructors.

Andrew Bartlett
(This used to be commit 63272794c4)
2007-10-10 13:17:34 -05:00
Andrew Bartlett
8cd92242b9 r7269: talloc_steal() is preferred where possible, as it can't fail and does
not have some of the issues of talloc_reference().

Andrew Bartlett
(This used to be commit 2fb413355a)
2007-10-10 13:17:34 -05:00
Simo Sorce
791db4bf72 r7268: allocate the strings to avoid them disappearing under our feet
(This used to be commit ddd7454cb3)
2007-10-10 13:17:34 -05:00
Simo Sorce
b7bc13209f r7267: REMOTE_HOST is a better choice
(This used to be commit 41bae267e2)
2007-10-10 13:17:34 -05:00
Tim Potter
f84d007c43 r7266: Split the different types of js function defines into separate files,
as there are going to be a lot more of them.
(This used to be commit b086768589)
2007-10-10 13:17:34 -05:00
Andrew Tridgell
89bcaa79c9 r7265: fixed d_printf() so it works again.
Jelmer, can you give me a hint as to why you changed this? It
completely broke smbclient, and the change now makes d_printf() almost
equivalent to printf() as you removed the language translation
code. See your commit 7166.

Did you intend to reenable language handling by some other method? Or
do you just mean to remove it completely?
(This used to be commit 2e293ab06f)
2007-10-10 13:17:33 -05:00
Andrew Tridgell
b7b7c46eb4 r7264: fix up the socket handling for abartlet. Still only udp, but it won't
be hard to do tcp as well.
(This used to be commit 7cbb95d3f5)
2007-10-10 13:17:33 -05:00
Tim Potter
32f2e9806b r7263: Exit smbscript with the intepreter return value (defaults to 0).
Change the exit value for an exception, usage error and other non-js
errors to 127 which is kinda like the return value for the system(3)
function.
(This used to be commit c77a232b11)
2007-10-10 13:17:33 -05:00
Tim Potter
d6555cadb7 r7262: Add a length property to ARGV array.
(This used to be commit 4b775c619b)
2007-10-10 13:17:33 -05:00
Tim Potter
b124351079 r7261: Pass by reference is done in js via MPR_TYPE_OBJECT. Update argument
parsing and example for resolveName().
(This used to be commit 1a4a549317)
2007-10-10 13:17:33 -05:00
Derrell Lipman
6ade5fc245 r7260: save current schema before I blow it away to try something different
(This used to be commit 676a982493)
2007-10-10 13:17:33 -05:00
Andrew Bartlett
6113066fa5 r7259: Move the recv handler out into a seperate function (suggestion from
tridge)

Andrew Bartlett
(This used to be commit 6329f2ee36)
2007-10-10 13:17:32 -05:00
Andrew Bartlett
5112e38393 r7258: Fix the final linking error with libkdc - we need to link libhdb as well.
With this fix, I can request tickets from our built-in KDC!

Andrew Bartlett
(This used to be commit d7cd76013b)
2007-10-10 13:17:32 -05:00
Andrew Bartlett
7ea6543ce5 r7257: Ensure the error message can never be uninitialised.
Andrew Bartlett
(This used to be commit fdd964582a)
2007-10-10 13:17:32 -05:00
Tim Potter
28732d9208 r7256: Demonstrate use of resolveName() js function.
(This used to be commit b8e1d2f68e)
2007-10-10 13:17:32 -05:00
Tim Potter
383c5fb68a r7255: Change syntax of resolveName() js function to be more like the
resolve_name() C function.  I can't figure out how to return variables
by reference though.  Writing to argv[] doesn't seem to work.
(This used to be commit aef99859f2)
2007-10-10 13:17:32 -05:00
Tim Potter
384ad5c71b r7254: Add a mprWERROR() function with the same attributes as mprNTSTATUS.
(This used to be commit 2fa6f7bb2b)
2007-10-10 13:17:32 -05:00
Tim Potter
6bf9b5cd9a r7253: Fix build.
(This used to be commit 54ff16b9a1)
2007-10-10 13:17:32 -05:00
Rafal Szczesniak
e85be270cc r7252: Formatting.
rafal
(This used to be commit aea6d8c694)
2007-10-10 13:17:32 -05:00
Rafal Szczesniak
af61fb8771 r7251: Initial work on composite domain open call.
rafal
(This used to be commit be3b283b20)
2007-10-10 13:17:31 -05:00
Rafal Szczesniak
d0686bf094 r7250: Starting work on composite domain open call.
rafal
(This used to be commit aa4cd8f987)
2007-10-10 13:17:31 -05:00
Jelmer Vernooij
0a40093ef3 r7249: Cope with struct member rename
(This used to be commit e7549f33f5)
2007-10-10 13:17:31 -05:00
Jelmer Vernooij
77c3d463c8 r7248: Remove enum that is causing trouble on AIX
(This used to be commit 512536c916)
2007-10-10 13:17:31 -05:00
Rafal Szczesniak
ad43b5cba9 r7247: User shorter and more convenient name for credentials in
libnet context.

rafal
(This used to be commit 702a4dd2dc)
2007-10-10 13:17:31 -05:00
Simo Sorce
6a71fa86fb r7242: typo
(This used to be commit 4444585f06)
2007-10-10 13:17:31 -05:00