1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

1002 Commits

Author SHA1 Message Date
Andrew Tridgell
f52b42c75f r7710: new command line handling code for ldb
(This used to be commit 5e8db1c9b3)
2007-10-10 13:18:24 -05:00
Andrew Tridgell
ed3d8091ce r7709: - convert ldb to use popt, so that it can interact with the samba
cmdline credentials code (which will be done soon)

- added a ldb_init() call, and changed ldb_connect() to take a ldb
  context. This allows for much better error handling in
  ldb_connect(), and also made the popt conversion easier

- fixed up all the existing backends with the new syntax

- improved error handling in *_connect()

- fixed a crash bug in the new case_fold_required() code

- ensured that ltdb_rename() and all ltdb_search() paths get the read lock

- added a ldb_oom() macro to make it easier to report out of memory
  situations in ldb code
(This used to be commit f648fdf187)
2007-10-10 13:18:24 -05:00
Andrew Bartlett
5b19286df0 r7690: Move the NT hash generation into the credentials system, rather than
in all the callers.  This also allows us to be more flexible in the
type of password we store.

Andrew Bartlett
(This used to be commit 00b8588c68)
2007-10-10 13:18:23 -05:00
Andrew Tridgell
1f052665f3 r7669: removed ldap from our configure tests
This takes our link dependencies from this:

tridge@blu:~/samba/samba4/source$ ldd bin/ldbsearch
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fc9000)
        libldap_r.so.2 => /usr/lib/libldap_r.so.2 (0xb7f92000)
        liblber.so.2 => /usr/local/lib/liblber.so.2 (0xb7f85000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7f7d000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e48000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7e36000)
        libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7e09000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7df3000)
        libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0xb7d8c000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d7d000)
        libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0xb7d6d000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7d20000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7d1c000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d09000)
        libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7cf5000)

to this:

tridge@blu:~/samba/samba4/source$ ldd bin/ldbsearch
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fc9000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7fc0000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e8b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)

this finally gets rid of the implicit dependency on pthreads! Yay!
(This used to be commit 844d2a2083)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
44a04d74cd r7668: - setup HAVE_ILDAP to enable the ildap backend in ldb
- fixed a bug in socket_connect_ev()
(This used to be commit 3f77b879a0)
2007-10-10 13:18:20 -05:00
Andrew Tridgell
03b0f279ed r7667: added a ldb ildap backend, using our internal ldap client library. Next step is to
remove the check for the ldap libraries in configure
(This used to be commit 74841dbb2a)
2007-10-10 13:18:19 -05:00
Andrew Tridgell
52400f0f7d r7666: fixed a memory leak in the ldap ldb backend
(This used to be commit ac3f33c615)
2007-10-10 13:18:19 -05:00
Andrew Tridgell
11bc3f3589 r7660: improved error handling in socket_connect_ev() (it matters when name
resolution fails)
(This used to be commit 4013c2ddea)
2007-10-10 13:18:18 -05:00
Jeremy Allison
fcb339c087 r7641: Fix based on work from "Shlomi Yaakobovich" <Shlomi@exanet.com> to catch
loops in corrupted tdb files.
Jeremy.
(This used to be commit f9f3037d68)
2007-10-10 13:18:16 -05:00
Simo Sorce
f4183d9be2 r7635: change the license of this file to lgpl like the rest of ldb
(This used to be commit 8735188b46)
2007-10-10 13:18:16 -05:00
Andrew Tridgell
af237084ec r7633: this patch started as an attempt to make the dcerpc code use a given
event_context for the socket_connect() call, so that when things that
use dcerpc are running alongside anything else it doesn't block the
whole process during a connect.

Then of course I needed to change any code that created a dcerpc
connection (such as the auth code) to also take an event context, and
anything that called that and so on .... thus the size of the patch.

There were 3 places where I punted:

  - abartlet wanted me to add a gensec_set_event_context() call
    instead of adding it to the gensec init calls. Andrew, my
    apologies for not doing this. I didn't do it as adding a new
    parameter allowed me to catch all the callers with the
    compiler. Now that its done, we could go back and use
    gensec_set_event_context()

  - the ejs code calls auth initialisation, which means it should pass
    in the event context from the web server. I punted on that. Needs fixing.

  - I used a NULL event context in dcom_get_pipe(). This is equivalent
    to what we did already, but should be fixed to use a callers event
    context. Jelmer, can you think of a clean way to do that?

I also cleaned up a couple of things:

 - libnet_context_destroy() makes no sense. I removed it.

 - removed some unused vars in various places
(This used to be commit 3a3025485b)
2007-10-10 13:18:15 -05:00
Tim Potter
289845ff77 r7627: Fix warning in unused (?) function.
(This used to be commit a4d0598863)
2007-10-10 13:18:14 -05:00
Andrew Tridgell
bab977dad7 r7626: a new ldap client library. Main features are:
- hooked into events system, so requests can be truly async and won't
   interfere with other processing happening at the same time

 - uses NTSTATUS codes for errors (previously errors were mostly
   ignored). In a similar fashion to the DOS error handling, I have
   reserved a range of the NTSTATUS code 32 bit space for LDAP error
   codes, so a function can return a LDAP error code in a NTSTATUS

 - much cleaner packet handling
(This used to be commit 2e3c660b2f)
2007-10-10 13:18:14 -05:00
Simo Sorce
4864c329c4 r7615: fix the build and simplify gendb_search_dn
(This used to be commit b38bb63175)
2007-10-10 13:18:14 -05:00
Simo Sorce
9378cca1ae r7608: bug fix after yesterday's change
(This used to be commit 0218fc678e)
2007-10-10 13:18:14 -05:00
Derrell Lipman
93e03bd272 r7602: fix some compiler warnings
(This used to be commit ce9966e091)
2007-10-10 13:18:13 -05:00
Derrell Lipman
f021dffb69 r7601: ldb_sqlite3 work in progress
(This used to be commit 0a64948152)
2007-10-10 13:18:13 -05:00
Andrew Tridgell
6be47e9bc2 r7597: removed the bogus get_myfullname() and get_mydomname() calls, and put
them in the ntlmssp code, which is the only place they are
used. Andrew, please remove them completely once you have some more
reliable way to get this info

they are bogus as gethostname() may give us a short hostname (and does
on lot of systems), so the calls often give totally the wrong result
anyway
(This used to be commit 35ec292f86)
2007-10-10 13:18:12 -05:00
Andrew Tridgell
3e92471d4c r7596: next step in ldap cleanup. I'm aiming to get rid of the cut&pasted
ldif parsing code in libcli/ldap/ldap_ldif.c, and instead use the ldb
ldif code. To do that I have changed the ldap code to use 'struct
ldb_message_element' instead of 'struct ldap_attribute'. They are
essentially the same structure anyway, so by making them really the
same it will be much easier to use the ldb code in libcli/ldap/

I have also made 'struct ldb_val' the same as a DATA_BLOB, which will
simplify data handling in quite a few places (I haven't yet removed
all the code that maps between these two, that will come later)
(This used to be commit 87fc307339)
2007-10-10 13:18:12 -05:00
Derrell Lipman
c2747479e0 r7586: ldb_sqlite3 making progress. add and search have indicated a willingness to operate properly on initial testing
(This used to be commit 86ca8639e0)
2007-10-10 13:18:11 -05:00
Simo Sorce
9189833a87 r7582: Better way to have a fast path searching for a specific DN.
Old way was ugly and had a bug, you couldn't add an attribute named
dn or distinguishedName and search for it, tdb would change that search in a dn search.
This makes it also possible to search by dn against an ldap server as the old method was
not supported by ldap syntaxes.

sss
(This used to be commit a614466dec)
2007-10-10 13:18:11 -05:00
Andrew Tridgell
051b93bec3 r7572: fixed filter in test suite
(This used to be commit 73d2e5df0c)
2007-10-10 13:18:11 -05:00
Andrew Tridgell
42863aebb1 r7571: fixed the generation of the filter string for extended filters
(This used to be commit 348a86e643)
2007-10-10 13:18:10 -05:00
Andrew Tridgell
1491f9b615 r7564: added a test showing the search expression that w2k is actually giving
us that triggered this work
(This used to be commit 853b8cd72d)
2007-10-10 13:18:09 -05:00
Derrell Lipman
81b4183e1c r7562: work in progress
(This used to be commit d8a9ce7853)
2007-10-10 13:18:09 -05:00
Derrell Lipman
785b452a04 r7561: moved OID constants into ldb.h and used manifest constants in ldb_match.c
(This used to be commit 42cbb155c2)
2007-10-10 13:18:08 -05:00
Andrew Tridgell
5ec2c79dc5 r7560: added tests for extended bitop search functions
(This used to be commit 7b58b3a9c5)
2007-10-10 13:18:08 -05:00
Andrew Tridgell
3f09462719 r7559: support 64 bit matching in bitops
(This used to be commit 0c44a67001)
2007-10-10 13:18:08 -05:00
Andrew Tridgell
4fec6356ea r7558: added support in ldb for extended ldap search requests. These are
using to perform such things as bitop tests on integers.

So far I have only added support for the 1.2.840.113556.1.4.803 and
1.2.840.113556.1.4.804 rules, which are for bitwise and/or
(This used to be commit 5f773b065f)
2007-10-10 13:18:08 -05:00
Derrell Lipman
4a139f8171 r7556: fixed typo in documentation
(This used to be commit 77fc2036a0)
2007-10-10 13:18:08 -05:00
Andrew Tridgell
734ff692f3 r7533: don't show compile flags for each file
(This used to be commit 6a9ab148a9)
2007-10-10 13:18:07 -05:00
Andrew Bartlett
00e2b7c1b4 r7530: Simply calling convention of lp_load().
This always loads all the services, as we now don't have an easy way
to split out smbd.

Andrew Bartlett
(This used to be commit 990e061939)
2007-10-10 13:18:07 -05:00
Andrew Tridgell
4b0e5bd753 r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_tree
instead of a search expression. This allows our ldap server to pass
  its ASN.1 parsed search expressions straight to ldb, instead of going
  via strings.

- updated all the ldb modules code to handle the new interface

- got rid of the separate ldb_parse.h now that the ldb_parse
  structures are exposed externally

- moved to C99 structure initialisation in ldb

- switched ldap server to using ldb_search_bytree()
(This used to be commit 96620ab2ee)
2007-10-10 13:18:06 -05:00
Andrew Tridgell
d71e1a7a7f r7526: make test should depend on the bins
(This used to be commit 646953df4c)
2007-10-10 13:18:06 -05:00
Andrew Bartlett
2b4791ae73 r7525: Unify lp_load(), load_interfaces and logging setup into popt().
There is now a new --debug-stderr option to enable debug to STDERR.

popt isn't perfect, but the callbacks are used in all the main Samba
binaries, and should be used in the rest.  This avoids duplicated
code, and ensures every binary is setup correctly.

This also ensures the setup happens early enough to have -s function,
and have a correct impact on the credentials code.  (Fixing a bug that
frustrated tridge earlier today).

The only 'subtle' aspect of all this is that I'm pretty sure that the
SAMBA_COMMON popt code must be above the CREDENTIALS code, in the
popt tables.

Andrew Bartlett
(This used to be commit 50f3c2b3a2)
2007-10-10 13:18:06 -05:00
Andrew Tridgell
e5c70a5887 r7522: added a ldb_filter_from_tree() function that takes a ldb_parse_tree
and forms a ldab search filter expression. Next step is to make our
ldap server code go from ASN.1 to a ldb_parse_tree, instead of trying
to construct string filters, then add a ldb_search_tree() call to
allow for searches using parse trees.

all of this is being done as I am hitting bitwise '&' ldap search
expressions from w2k, and want to handle them cleanly.
(This used to be commit 04356c1b1e)
2007-10-10 13:18:05 -05:00
Andrew Tridgell
490a5a5d59 r7518: don't use an uninitialised ldb debug function when failing to load modules in the ldap
backend
(This used to be commit 52e4a5b3b0)
2007-10-10 13:18:03 -05:00
Andrew Tridgell
d94805ea55 r7517: handle zero length equality tests
(This used to be commit 18c96f2b3e)
2007-10-10 13:18:03 -05:00
Andrew Tridgell
e1fa7352ca r7516: make sure binary decoding gives us something we can run string functions on
(This used to be commit 9913ab2550)
2007-10-10 13:18:03 -05:00
Andrew Tridgell
9cb3b2d49b r7515: merge in the binary encode/decode enhancements from the libcli/ldap/
code into the ldb parse code
(This used to be commit 12647e3722)
2007-10-10 13:18:02 -05:00
Andrew Tridgell
87acba39f9 r7514: make the ldb_parse code not depend on a ldb_context, so we can now potentially use
it in our ldap client code, instead of replicating all the code
(This used to be commit 5b3575d930)
2007-10-10 13:18:02 -05:00
Derrell Lipman
2e1851e1ac r7498: ldb_sqlite3 work in progress
(This used to be commit 797263330b)
2007-10-10 13:18:00 -05:00
Stefan Metzmacher
4233f18a31 r7486: fix for the build farm to display the panic messages and backtrace inside the per test frame
metze
(This used to be commit 5cf27b4af3)
2007-10-10 13:17:58 -05:00
Tim Potter
182dd02ebe r7481: Add a mprVarIsPtr macro.
(This used to be commit 633b24345f)
2007-10-10 13:17:57 -05:00
Derrell Lipman
0264c1792d r7480: ldb_sqlite3 work in progress
(This used to be commit 510e7994da)
2007-10-10 13:17:57 -05:00
Andrew Tridgell
b1b134084f r7476: ensure dgram sockets are created non-blocking. As they usually skip
the connect() stage, we were missing this
(This used to be commit f5102b886c)
2007-10-10 13:17:57 -05:00
Andrew Tridgell
d543e4a265 r7460: fixed several problems with the socket wrapper code and unbound sockets
This should fix the LOCAL-SOCKET test in the build farm
(This used to be commit 417e967afb)
2007-10-10 13:17:55 -05:00
Tim Potter
a925848704 r7456: Add a simple type that represents a pointer. The ejs people may ask us
to change this later but that will be pretty easy.

We can use this type to pass around pointers to handles in C.  Talloc
allows us to do type checking too.
(This used to be commit b95c0bc9b0)
2007-10-10 13:17:54 -05:00
Derrell Lipman
5351ae59a0 r7449: add ctype.h header to dn expand function
(This used to be commit 0e3b872560)
2007-10-10 13:17:54 -05:00
Derrell Lipman
09bdc1b938 r7446: add distclean target to generated ldb makefile
(This used to be commit 9a78161b0f)
2007-10-10 13:17:54 -05:00
Derrell Lipman
b501bf17ab r7443: reorg functions for readability
(This used to be commit 7543acfa9f)
2007-10-10 13:17:54 -05:00
Volker Lendecke
84ee48e3e9 r7441: Get rid of // comments. Tridge, if this breaks anything, please revert it. More tomorrow
Volker
(This used to be commit 02efa4427d)
2007-10-10 13:17:54 -05:00
Derrell Lipman
ee3f4b12d2 r7438: work in progress
(This used to be commit 2fc5343f06)
2007-10-10 13:17:53 -05:00
Derrell Lipman
c63c28f5bd r7437: Make Simo happy.
I still think this URI syntax for a 'protocol' which has no network component
is stupid; it should just be

  sqlite:local_file
or
  sqlite:/full/path/to/file

but there is enough precedent to warrant the behavior that Simo wants that it
is not worth arguing.
(This used to be commit 61dcb462f3)
2007-10-10 13:17:53 -05:00
Volker Lendecke
c96492a9dc r7436: As far as I see it, these are the last two "real" ones for Samba4 on AIX to
build. The remaining patch (not now) is to convert the javascript stuff not to
use // style comments.

Volker
(This used to be commit 29f7e430ac)
2007-10-10 13:17:53 -05:00
Derrell Lipman
a6717fae68 r7418: work in progress
(This used to be commit 2a13e7655b)
2007-10-10 13:17:51 -05:00
Derrell Lipman
322f0df3f1 r7410: minor cleanup
(This used to be commit 4c8bffc3f0)
2007-10-10 13:17:51 -05:00
Derrell Lipman
7fc1c3553c r7408: added DN explode function, based on simo's ldap_parse_dn() function. simo, when you get a chance, please change your license so this can be linked with ldb.
(This used to be commit 588a1d1451)
2007-10-10 13:17:50 -05:00
Jelmer Vernooij
c6a3ee8bab r7373: Disable reg_gconf by default, allow building it with --enable-reg-gconf
(This used to be commit 6596f619c0)
2007-10-10 13:17:47 -05:00
Andrew Tridgell
bce8cda061 r7352: the internal heimdal build change. This changes quite a few things:
- if you want kerberos now, you need to unpack a lorikeet heimdal
   tree in source/heimdal/. If source/heimdal/ does not exist at
   configure time then all kerberos features are disabled. You cannot
   use an external kerberos library for now. That may change later.

 - moved lib/replace/ config stuff to lib/replace/ and create a
   lib/replace/replace.h. That allows the heimdal build to use our
   portability layer, and prevenets duplicate definitions of functions
   like strlcat()

 - if you do enable heimdal, then you will need to do 'make
   HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once
   I explain the problem to jelmer (the problem is the inability to
   set a depend without also dragging in the object list of the
   dependency. We need this for building the heimdal asn1 compiler and
   et compiler.

 - disabled all of the m4 checks for external kerberos libraries. I
   left them in place in auth/kerberos/, but disabled it in
   configure.in

some of the heimdal_build/ code is still very rough, for example I
don't correctly detect the correct awk, flex, bison replacements for
heimdal_build/build_external.sh. I expect to fix that stuff up over
the next few days.
(This used to be commit d4648249b2)
2007-10-10 13:17:45 -05:00
Derrell Lipman
f08fafc492 r7349: work in progress
(This used to be commit 0e4d9729d9)
2007-10-10 13:17:45 -05:00
Simo Sorce
ca7baa3c9f r7343: handle url like ldb_tdb does
(This used to be commit d36fde5c0c)
2007-10-10 13:17:45 -05:00
Simo Sorce
198241adc2 r7338: let it be possible to run sqlite3 tests when it is compiled in
make it also so that we do not run test for modules we do not compile in
(This used to be commit c226c1c7a3)
2007-10-10 13:17:44 -05:00
Stefan Metzmacher
5141a1e50c r7336: make --with-sqlite3=auto possible
metze
(This used to be commit cd59ff50ed)
2007-10-10 13:17:44 -05:00
Simo Sorce
903a7fb990 r7334: I do not feel oblidged to use sqlite3 when I configure ldap support :-)
(fix typo)
(This used to be commit d6dae85881)
2007-10-10 13:17:43 -05:00
Derrell Lipman
b8e8e5ed4e r7332: added note to self for required modification
(This used to be commit 8fa340c1d4)
2007-10-10 13:17:43 -05:00
Andrew Tridgell
0093e1b62c r7320: added support for a private pointer in irpc registered handlers
(This used to be commit eec521dffd)
2007-10-10 13:17:41 -05:00
Derrell Lipman
34ffdb12fc r7316: work in progress
(This used to be commit 84a2b4049f)
2007-10-10 13:17:41 -05:00
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
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
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
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
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
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
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
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
Simo Sorce
e331dcbc32 r7239: add a little test
(This used to be commit 9293de1c35)
2007-10-10 13:17:30 -05:00
Andrew Tridgell
a8feef8d36 r7228: use socket_pending() instead of the direct ioctl in the messaging code
(This used to be commit ca3c4e9617)
2007-10-10 13:17:28 -05:00
Andrew Tridgell
1692bbf2e2 r7227: added a socket_pending() call to abstract away the FIONREAD ioctl. It
will be interesting to see if this causes any portability problems, as
it is a less commonly used call.
(This used to be commit f6993db31d)
2007-10-10 13:17:28 -05:00
Tim Potter
65d685c722 r7214: Undo my interpreter patch. Tridge thought of a much better way to do it
that doesn't involve any changes to ejs at all.
(This used to be commit 7b49711ecb)
2007-10-10 13:17:26 -05:00
Tim Potter
0253adcab3 r7213: Add a small bit to the ejs parser to ignore a #!/path/to/interpreter
as the first line of the script.  This allows smbscript to be used as an
interpreter.
(This used to be commit 875c816409)
2007-10-10 13:17:26 -05:00
Andrew Tridgell
f1ade86d75 r7211: - use ioctl(FIONREAD) to remove the artificial limit on messaging size
- avoid a memcpy
(This used to be commit 753839c358)
2007-10-10 13:17:26 -05:00
Andrew Tridgell
dd43abbd32 r7206: changed the messaging library to use sendto instead of a connected
send on the unix domain datagram socket. This gains us about 50% in
speed, and also means that we don't run the risk of running out of
file descriptors due to heavy messaging traffic. We now use a single
file descriptor no matter how many messages are pending to any number
of servers.
(This used to be commit 2369170fc1)
2007-10-10 13:17:26 -05:00
Andrew Tridgell
e83b74244d r7205: added support for sendto() on unix domain sockets
(This used to be commit 35ef6e3b15)
2007-10-10 13:17:26 -05:00
Jelmer Vernooij
e4a505192d r7166: Move replacement stuff to seperate directory
(easier to add win32-specific bits later)
Trim LIBBASIC a bit more
(This used to be commit fc7f519e4a)
2007-10-10 13:17:22 -05:00
Derrell Lipman
913c19cd5b r7133: work in progress, including a HIGHLY revised and simplified schema
(This used to be commit aa9bb6ad4c)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
999d0eb6e8 r7127: allow for recursive ejs functions
(This used to be commit 567bb9568c)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
5c1a3defc6 r7124: fixed a bug in array construction (see ECMA standard section 15.4.2.2)
(This used to be commit f9f1d85e65)
2007-10-10 13:17:19 -05:00
Derrell Lipman
a3972de894 r7116: work in progress
(This used to be commit c860a4f994)
2007-10-10 13:17:18 -05:00
Jelmer Vernooij
1863240bbc r7114: Convert ldb documentation to DocBook/XML
(This used to be commit 470c6185fb)
2007-10-10 13:17:18 -05:00
Jelmer Vernooij
dde05bc787 r7113: Move manpages from docs repository to source repository
(This used to be commit f16d346032)
2007-10-10 13:17:18 -05:00
Andrew Tridgell
89f796006f r7085: fixed a bug in ejs with setting up the arguments[] array
(This used to be commit 722950c213)
2007-10-10 13:17:14 -05:00