jelmer/samba4-debian.git
16 years agor7615: fix the build and simplify gendb_search_dn
Simo Sorce [Wed, 15 Jun 2005 17:15:01 +0000 (17:15 +0000)]
r7615: fix the build and simplify gendb_search_dn

16 years agor7608: bug fix after yesterday's change
Simo Sorce [Wed, 15 Jun 2005 13:01:39 +0000 (13:01 +0000)]
r7608: bug fix after yesterday's change

16 years agor7605: Display properties in header files again.
Jelmer Vernooij [Wed, 15 Jun 2005 10:44:56 +0000 (10:44 +0000)]
r7605: Display properties in header files again.

16 years agor7604: Bunch of small pidl updates. Mostly removing unused functions,
Jelmer Vernooij [Wed, 15 Jun 2005 10:11:33 +0000 (10:11 +0000)]
r7604: Bunch of small pidl updates. Mostly removing unused functions,
  cleanups and more flexibility (all output options
now take an optional filename).

16 years agor7602: fix some compiler warnings
Derrell Lipman [Wed, 15 Jun 2005 02:45:11 +0000 (02:45 +0000)]
r7602: fix some compiler warnings

16 years agor7601: ldb_sqlite3 work in progress
Derrell Lipman [Wed, 15 Jun 2005 02:43:42 +0000 (02:43 +0000)]
r7601: ldb_sqlite3 work in progress

16 years agor7599: it turns out we were not using the ldif code in libcli/ldap/ at all,
Andrew Tridgell [Wed, 15 Jun 2005 01:22:30 +0000 (01:22 +0000)]
r7599: it turns out we were not using the ldif code in libcli/ldap/ at all,
so best to just remove it. If we need it again, then it will be easy
to just use a wrapper around the ldb code.

16 years agor7598: take advantage of struct data_blob and struct ldb_val being the same
Andrew Tridgell [Wed, 15 Jun 2005 01:12:31 +0000 (01:12 +0000)]
r7598: take advantage of struct data_blob and struct ldb_val being the same
structure in a couple of places

16 years agor7597: removed the bogus get_myfullname() and get_mydomname() calls, and put
Andrew Tridgell [Wed, 15 Jun 2005 01:08:54 +0000 (01:08 +0000)]
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

16 years agor7596: next step in ldap cleanup. I'm aiming to get rid of the cut&pasted
Andrew Tridgell [Wed, 15 Jun 2005 01:02:53 +0000 (01:02 +0000)]
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)

16 years agor7594: abartlet is right that this hack is not actually necessary, it just
Andrew Tridgell [Wed, 15 Jun 2005 00:30:03 +0000 (00:30 +0000)]
r7594: abartlet is right that this hack is not actually necessary, it just
prevents a bogus:
  GSS Update failed: Miscellaneous failure (see text): ASN.1 identifier doesn't match expected value
error on every ldap connection. I'll remove it and let the error remain until Andrew
works out a better fix.

16 years agor7593: simplified the memory management in the ldap code. Having a mem_ctx
Andrew Tridgell [Wed, 15 Jun 2005 00:27:51 +0000 (00:27 +0000)]
r7593: simplified the memory management in the ldap code. Having a mem_ctx
element in a structure is not necessary any more.

16 years agor7590: Cleanups, add more notes on new string code.
Jelmer Vernooij [Tue, 14 Jun 2005 22:47:14 +0000 (22:47 +0000)]
r7590: Cleanups, add more notes on new string code.

16 years agor7588: Fix lacking space in the comment.
Rafal Szczesniak [Tue, 14 Jun 2005 22:08:29 +0000 (22:08 +0000)]
r7588: Fix lacking space in the comment.

rafal

16 years agor7587: More comments.
Rafal Szczesniak [Tue, 14 Jun 2005 22:08:00 +0000 (22:08 +0000)]
r7587: More comments.

rafal

16 years agor7586: ldb_sqlite3 making progress. add and search have indicated a willingness...
Derrell Lipman [Tue, 14 Jun 2005 21:52:35 +0000 (21:52 +0000)]
r7586: ldb_sqlite3 making progress.  add and search have indicated a willingness to operate properly on initial testing

16 years agor7582: Better way to have a fast path searching for a specific DN.
Simo Sorce [Tue, 14 Jun 2005 19:15:17 +0000 (19:15 +0000)]
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

16 years agor7580: - add GetPrinterDriverDirectory() idl, torture test and server code
Stefan Metzmacher [Tue, 14 Jun 2005 18:44:22 +0000 (18:44 +0000)]
r7580: - add GetPrinterDriverDirectory() idl, torture test and server code
- add EnumMonitors() server code and return "Standard TCP/IP Port"
- add parsing for opening Ports and Monitors with OpenPrinterEx()

metze

16 years agor7575: - fix GetPrinterData() push side
Stefan Metzmacher [Tue, 14 Jun 2005 17:01:36 +0000 (17:01 +0000)]
r7575: - fix GetPrinterData() push side
- add somemore checks in the Emun*() pull/push glue code

metze

16 years agor7574: - seperate [in] and [out] buffers and buf_sizes
Stefan Metzmacher [Tue, 14 Jun 2005 15:52:31 +0000 (15:52 +0000)]
r7574: - seperate [in] and [out] buffers and buf_sizes

- use the same names as etherel (offered,needed) for the buffer sizes
  (and they are really independently used)

metze

16 years agor7572: fixed filter in test suite
Andrew Tridgell [Tue, 14 Jun 2005 07:50:18 +0000 (07:50 +0000)]
r7572: fixed filter in test suite

16 years agor7571: fixed the generation of the filter string for extended filters
Andrew Tridgell [Tue, 14 Jun 2005 07:48:44 +0000 (07:48 +0000)]
r7571: fixed the generation of the filter string for extended filters

16 years agor7570: Add tree, session and socket disconnect ejs functions.
Tim Potter [Tue, 14 Jun 2005 07:14:59 +0000 (07:14 +0000)]
r7570: Add tree, session and socket disconnect ejs functions.

16 years agor7569: Fix typo in comments.
Tim Potter [Tue, 14 Jun 2005 06:50:12 +0000 (06:50 +0000)]
r7569: Fix typo in comments.

16 years agor7568: enable the NTLMSSP bulk data sign/seal code for out ldap server. This
Andrew Tridgell [Tue, 14 Jun 2005 03:55:27 +0000 (03:55 +0000)]
r7568: enable the NTLMSSP bulk data sign/seal code for out ldap server. This
now works with windows clients, as I fixed the zero length bind ack packet.

Andrew, note that this has the strncmp("NTLMSSP", data, 7) hack. Please
replace with a more correct fix as we discussed.

16 years agor7567: added wire parsing of NOT and extended ldap search requests. This
Andrew Tridgell [Tue, 14 Jun 2005 03:53:35 +0000 (03:53 +0000)]
r7567: added wire parsing of NOT and extended ldap search requests. This
allows us to parse and handle the complex queries we are getting from
w2k, such as

(|(|(&(!(groupType:1.2.840.113556.1.4.803=1))(groupType:1.2.840.113556.1.4.803=2147483648)(groupType:1.2.840.113556.1.4.804=6))(samAccountType=805306368))(samAccountType=805306369))

16 years agor7566: added support for LDAPString types in the asn.1 library
Andrew Tridgell [Tue, 14 Jun 2005 03:52:27 +0000 (03:52 +0000)]
r7566: added support for LDAPString types in the asn.1 library

16 years agor7565: fixed handling of sasl data in ldap server
Andrew Tridgell [Tue, 14 Jun 2005 03:51:49 +0000 (03:51 +0000)]
r7565: fixed handling of sasl data in ldap server

16 years agor7564: added a test showing the search expression that w2k is actually giving
Andrew Tridgell [Tue, 14 Jun 2005 03:37:43 +0000 (03:37 +0000)]
r7564: added a test showing the search expression that w2k is actually giving
us that triggered this work

16 years agor7562: work in progress
Derrell Lipman [Tue, 14 Jun 2005 03:08:34 +0000 (03:08 +0000)]
r7562: work in progress

16 years agor7561: moved OID constants into ldb.h and used manifest constants in ldb_match.c
Derrell Lipman [Tue, 14 Jun 2005 03:04:24 +0000 (03:04 +0000)]
r7561: moved OID constants into ldb.h and used manifest constants in ldb_match.c

16 years agor7560: added tests for extended bitop search functions
Andrew Tridgell [Tue, 14 Jun 2005 02:34:13 +0000 (02:34 +0000)]
r7560: added tests for extended bitop search functions

16 years agor7559: support 64 bit matching in bitops
Andrew Tridgell [Tue, 14 Jun 2005 02:33:49 +0000 (02:33 +0000)]
r7559: support 64 bit matching in bitops

16 years agor7558: added support in ldb for extended ldap search requests. These are
Andrew Tridgell [Tue, 14 Jun 2005 01:35:44 +0000 (01:35 +0000)]
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

16 years agor7557: trigger a probe at tconx time to see if xattrs are really supported by
Andrew Tridgell [Tue, 14 Jun 2005 01:11:24 +0000 (01:11 +0000)]
r7557: trigger a probe at tconx time to see if xattrs are really supported by
the filesystem

16 years agor7556: fixed typo in documentation
Derrell Lipman [Tue, 14 Jun 2005 01:04:20 +0000 (01:04 +0000)]
r7556: fixed typo in documentation

16 years agor7552: Use ParseExpr() for [value] attributes; allows
Jelmer Vernooij [Mon, 13 Jun 2005 22:22:51 +0000 (22:22 +0000)]
r7552: Use ParseExpr() for [value] attributes; allows
us somewhat cleaner IDL.

16 years agor7546: fix comment
Stefan Metzmacher [Mon, 13 Jun 2005 18:51:02 +0000 (18:51 +0000)]
r7546: fix comment

metze

16 years agor7536: doesn't spam the smbd_log in the build_farm...
Stefan Metzmacher [Mon, 13 Jun 2005 14:39:39 +0000 (14:39 +0000)]
r7536: doesn't spam the smbd_log in the build_farm...

metze

16 years agor7533: don't show compile flags for each file
Andrew Tridgell [Mon, 13 Jun 2005 12:37:37 +0000 (12:37 +0000)]
r7533: don't show compile flags for each file

16 years agor7531: Finally fix lp_load(). I had left hooks in place which restricted us
Andrew Bartlett [Mon, 13 Jun 2005 10:54:18 +0000 (10:54 +0000)]
r7531: Finally fix lp_load().  I had left hooks in place which restricted us
to globals only (no shares).

Andrew Bartlett

16 years agor7530: Simply calling convention of lp_load().
Andrew Bartlett [Mon, 13 Jun 2005 10:01:11 +0000 (10:01 +0000)]
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

16 years agor7528: cleaned up the QueryDisplayInfo_continue test
Andrew Tridgell [Mon, 13 Jun 2005 09:11:21 +0000 (09:11 +0000)]
r7528: cleaned up the QueryDisplayInfo_continue test

16 years agor7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_tree
Andrew Tridgell [Mon, 13 Jun 2005 09:10:17 +0000 (09:10 +0000)]
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()

16 years agor7526: make test should depend on the bins
Andrew Tridgell [Mon, 13 Jun 2005 09:04:01 +0000 (09:04 +0000)]
r7526: make test should depend on the bins

16 years agor7525: Unify lp_load(), load_interfaces and logging setup into popt().
Andrew Bartlett [Mon, 13 Jun 2005 08:12:39 +0000 (08:12 +0000)]
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

16 years agor7524: make the ldap ASN.1 filter parse code go via a struct
Andrew Tridgell [Mon, 13 Jun 2005 07:36:52 +0000 (07:36 +0000)]
r7524: make the ldap ASN.1 filter parse code go via a struct
ldb_parse_tree. This also fixes the error handling.

next step will be to pass the parse tree straight into ldb, avoiding
the string encoding completely.

16 years agor7523: blergh
Andrew Tridgell [Mon, 13 Jun 2005 07:11:29 +0000 (07:11 +0000)]
r7523: blergh

the error code for an invalid tid depends on the command

16 years agor7522: added a ldb_filter_from_tree() function that takes a ldb_parse_tree
Andrew Tridgell [Mon, 13 Jun 2005 06:52:48 +0000 (06:52 +0000)]
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.

16 years agor7521: Remove useless loops from SAMLOGON test, which speeds it up a lot.
Andrew Bartlett [Mon, 13 Jun 2005 06:42:36 +0000 (06:42 +0000)]
r7521: Remove useless loops from SAMLOGON test, which speeds it up a lot.

Andrew Bartlett

16 years agor7520: Fix memory leak in hdb-ldb.c
Andrew Bartlett [Mon, 13 Jun 2005 06:07:18 +0000 (06:07 +0000)]
r7520: Fix memory leak in hdb-ldb.c

Andrew Bartlett

16 years agor7519: rip the copy of the ldap expression parser out of libcli/ldap/ and use
Andrew Tridgell [Mon, 13 Jun 2005 06:06:29 +0000 (06:06 +0000)]
r7519: rip the copy of the ldap expression parser out of libcli/ldap/ and use
the original one in lib/ldb/ instead. Having two copies of this code
is silly.

16 years agor7518: don't use an uninitialised ldb debug function when failing to load modules...
Andrew Tridgell [Mon, 13 Jun 2005 06:02:55 +0000 (06:02 +0000)]
r7518: don't use an uninitialised ldb debug function when failing to load modules in the ldap
backend

16 years agor7517: handle zero length equality tests
Andrew Tridgell [Mon, 13 Jun 2005 05:58:49 +0000 (05:58 +0000)]
r7517: handle zero length equality tests

16 years agor7516: make sure binary decoding gives us something we can run string functions on
Andrew Tridgell [Mon, 13 Jun 2005 05:56:46 +0000 (05:56 +0000)]
r7516: make sure binary decoding gives us something we can run string functions on

16 years agor7515: merge in the binary encode/decode enhancements from the libcli/ldap/
Andrew Tridgell [Mon, 13 Jun 2005 05:33:55 +0000 (05:33 +0000)]
r7515: merge in the binary encode/decode enhancements from the libcli/ldap/
code into the ldb parse code

16 years agor7514: make the ldb_parse code not depend on a ldb_context, so we can now potentially use
Andrew Tridgell [Mon, 13 Jun 2005 05:18:17 +0000 (05:18 +0000)]
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

16 years agor7513: don't try to write to the smbd log file between tests. zeroing a file
Andrew Tridgell [Mon, 13 Jun 2005 00:06:40 +0000 (00:06 +0000)]
r7513: don't try to write to the smbd log file between tests. zeroing a file
while it is open for writing by another process causes the file to end
up with lots of nulls in it, which messes up the build farm output.

16 years agor7510: fixed error code for using a bad tid.
Andrew Tridgell [Sun, 12 Jun 2005 12:24:54 +0000 (12:24 +0000)]
r7510: fixed error code for using a bad tid.

amazingly, I have seen w2k do a session setup followed by an immediate
attempted opening of \netlogon, with no tconx to ipc$ first. So this
error code can matter.

16 years agor7509: With the update to Heimdal 20050612 we no longer need krb5_freelog(),
Andrew Bartlett [Sun, 12 Jun 2005 11:55:48 +0000 (11:55 +0000)]
r7509: With the update to Heimdal 20050612 we no longer need krb5_freelog(),
as krb5_closelog() no longer leaks memory.

Andrew Bartlett

16 years agor7508: Fix memory leak of outgoing packets in the KDC.
Andrew Bartlett [Sun, 12 Jun 2005 11:31:57 +0000 (11:31 +0000)]
r7508: Fix memory leak of outgoing packets in the KDC.

Andrew Bartlett

16 years agor7507: fixed the problem with users being shown too many times in acl
Andrew Tridgell [Sun, 12 Jun 2005 11:03:15 +0000 (11:03 +0000)]
r7507: fixed the problem with users being shown too many times in acl
editors, and added a test for it.

16 years agor7506: handle the case where cron does not setup $USER
Andrew Tridgell [Sun, 12 Jun 2005 07:48:53 +0000 (07:48 +0000)]
r7506: handle the case where cron does not setup $USER

16 years agor7505: Add more argument forms for session_setup().
Tim Potter [Sun, 12 Jun 2005 07:03:32 +0000 (07:03 +0000)]
r7505: Add more argument forms for session_setup().

Throw an exception if tree connect fails.

16 years agor7504: missed one
Andrew Tridgell [Sun, 12 Jun 2005 06:58:20 +0000 (06:58 +0000)]
r7504: missed one

16 years agor7503: turn off the sleep test here too
Andrew Tridgell [Sun, 12 Jun 2005 06:56:47 +0000 (06:56 +0000)]
r7503: turn off the sleep test here too

16 years agor7502: the sleep test in echo is already run on the main rpc test, so no need to...
Andrew Tridgell [Sun, 12 Jun 2005 06:47:27 +0000 (06:47 +0000)]
r7502: the sleep test in echo is already run on the main rpc test, so no need to run it with every combination in
this test. It takes nearly all of the time.

16 years agor7501: Fix credential initialisation in ejs session setup. Implement four
Tim Potter [Sun, 12 Jun 2005 06:40:17 +0000 (06:40 +0000)]
r7501: Fix credential initialisation in ejs session setup.  Implement four
arg and anonymous version of command.

Implement ejs tconx.

16 years agor7500: Initialise module subsystems.
Tim Potter [Sun, 12 Jun 2005 06:37:25 +0000 (06:37 +0000)]
r7500: Initialise module subsystems.

16 years agor7499: ensure that the account we run tests as ("Administrator") maps to the
Andrew Tridgell [Sun, 12 Jun 2005 06:35:18 +0000 (06:35 +0000)]
r7499: ensure that the account we run tests as ("Administrator") maps to the
unixName that we are running as in the test suite. Otherwise files are
created as a user without any entry in the sam, so the ACL doesn't
allow that user read permission when it should. This should fix the
RAW-ACLS test in the build farm.

16 years agor7498: ldb_sqlite3 work in progress
Derrell Lipman [Sun, 12 Jun 2005 03:07:10 +0000 (03:07 +0000)]
r7498: ldb_sqlite3 work in progress

16 years agor7497: add timeouts to all rpc requests. The default timeout is 60
Andrew Tridgell [Sun, 12 Jun 2005 02:42:40 +0000 (02:42 +0000)]
r7497: add timeouts to all rpc requests. The default timeout is 60
seconds. This should prevent the problem I am seeing on a solaris box
where a rpc request gets stuck forever

16 years agor7496: removed an unused variable
Andrew Tridgell [Sun, 12 Jun 2005 02:18:25 +0000 (02:18 +0000)]
r7496: removed an unused variable

16 years agor7495: used --maximum-runtime=300 for each smbtorture call, to prevent it
Andrew Tridgell [Sun, 12 Jun 2005 01:36:56 +0000 (01:36 +0000)]
r7495: used --maximum-runtime=300 for each smbtorture call, to prevent it
running too long

16 years agor7494: added --maximum-runtime to smbtorture as well. I have seen smbtorture
Andrew Tridgell [Sun, 12 Jun 2005 01:28:20 +0000 (01:28 +0000)]
r7494: added --maximum-runtime to smbtorture as well. I have seen smbtorture
get stuck waiting on no file descriptors, with no timeout, so it sits
forever. I need to fix that bug separately, but to prevent build farm
machines being totally stuck, this timeout will be used.

16 years agor7493: add a --maximum-runtime option to smbd. If this time is exceeeded then it...
Andrew Tridgell [Sun, 12 Jun 2005 00:17:23 +0000 (00:17 +0000)]
r7493: add a --maximum-runtime option to smbd. If this time is exceeeded then it exits.

This will be used in the build farm

16 years agor7492: give better output
Stefan Metzmacher [Sat, 11 Jun 2005 17:55:58 +0000 (17:55 +0000)]
r7492: give better output

metze

16 years agor7491: libnet functions used in tests have different names now.
Rafal Szczesniak [Sat, 11 Jun 2005 10:33:31 +0000 (10:33 +0000)]
r7491: libnet functions used in tests have different names now.

rafal

16 years agor7490: Rename functions and prefices s/rpc_composite/libnet_rpc/
Rafal Szczesniak [Sat, 11 Jun 2005 10:31:33 +0000 (10:31 +0000)]
r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/
This makes more clear where the functions belong to. Also
the rule will be that lowercased function names are not
part of "official" libnet API (though it doesn't mean one
absolutely cannot use them).

rafal

16 years agor7489: just a cosmetic change
Stefan Metzmacher [Sat, 11 Jun 2005 08:49:12 +0000 (08:49 +0000)]
r7489: just a cosmetic change

metze

16 years agor7488: update the mode in the struct too,
Stefan Metzmacher [Sat, 11 Jun 2005 07:46:50 +0000 (07:46 +0000)]
r7488: update the mode in the struct too,
that fixes the RAW-RENAME test

metze

16 years agor7487: check both files before and after setting the attribs on file1
Stefan Metzmacher [Sat, 11 Jun 2005 07:01:44 +0000 (07:01 +0000)]
r7487: check both files before and after setting the attribs on file1

metze

16 years agor7486: fix for the build farm to display the panic messages and backtrace inside...
Stefan Metzmacher [Sat, 11 Jun 2005 05:06:32 +0000 (05:06 +0000)]
r7486: fix for the build farm to display the panic messages and backtrace inside the per test frame

metze

16 years agor7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX is setup
Andrew Tridgell [Sat, 11 Jun 2005 04:07:20 +0000 (04:07 +0000)]
r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX is setup

- use loopback interface only, otherwise nbtd will answer with a real
  ip, which the socket wrapper code will fail to connect to

- enable eadb for posix testing

- sleeping to wait for smbd to start is pointless, as smbd won't start
  till its fifo is opened due to the fifo redirection on stdin

- sleep for a few seconds to allow for nbt server to register names after opening fifo

- use bcast name resolution, so we don't rely on /etc/hosts being right

16 years agor7484: the previous bug can also affect the kdc
Andrew Tridgell [Sat, 11 Jun 2005 03:55:40 +0000 (03:55 +0000)]
r7484: the previous bug can also affect the kdc

16 years agor7483: ensure we try reading from a socket if epoll says we can, and don't
Andrew Tridgell [Sat, 11 Jun 2005 03:53:39 +0000 (03:53 +0000)]
r7483: ensure we try reading from a socket if epoll says we can, and don't
just do the write. This is needed because the write could return
-1/EAGAIN for dgram sockets, if the socket buffer is nearly full. The
epoll loop then goes on forever.

This was causing some failures in 'make test'

16 years agor7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get it
Tim Potter [Sat, 11 Jun 2005 03:35:28 +0000 (03:35 +0000)]
r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get it
confused with an async function.

16 years agor7481: Add a mprVarIsPtr macro.
Tim Potter [Sat, 11 Jun 2005 03:34:11 +0000 (03:34 +0000)]
r7481: Add a mprVarIsPtr macro.

16 years agor7480: ldb_sqlite3 work in progress
Derrell Lipman [Sat, 11 Jun 2005 03:20:26 +0000 (03:20 +0000)]
r7480: ldb_sqlite3 work in progress

16 years agor7479: ifdef out some more stuff to fix compiler warnings.
Tim Potter [Sat, 11 Jun 2005 03:04:40 +0000 (03:04 +0000)]
r7479: ifdef out some more stuff to fix compiler warnings.

16 years agor7478: fixed a problem with a backgrounded smbd looping to handle continuous
Andrew Tridgell [Sat, 11 Jun 2005 02:50:47 +0000 (02:50 +0000)]
r7478: fixed a problem with a backgrounded smbd looping to handle continuous
tty related signals

16 years agor7477: Add MPR_TYPE_PTR to ejs_typeof().
Tim Potter [Sat, 11 Jun 2005 02:39:14 +0000 (02:39 +0000)]
r7477: Add MPR_TYPE_PTR to ejs_typeof().

16 years agor7476: ensure dgram sockets are created non-blocking. As they usually skip
Andrew Tridgell [Sat, 11 Jun 2005 02:26:53 +0000 (02:26 +0000)]
r7476: ensure dgram sockets are created non-blocking. As they usually skip
the connect() stage, we were missing this

16 years agor7475: removed RPC-SAMLOGON test until we get a lighter version of it. It is
Andrew Tridgell [Sat, 11 Jun 2005 01:34:42 +0000 (01:34 +0000)]
r7475: removed RPC-SAMLOGON test until we get a lighter version of it. It is
chewing far too much cpu, which is unfair on our volunteer systems

andrew, sorry about this, I think we need RPC-SAMLOGON-FULL, and make
RPC-SAMLOGON only do a basic test

16 years agor7469: fix typo
Stefan Metzmacher [Fri, 10 Jun 2005 16:19:38 +0000 (16:19 +0000)]
r7469: fix typo

metze

16 years agor7468: create better output
Stefan Metzmacher [Fri, 10 Jun 2005 16:09:41 +0000 (16:09 +0000)]
r7468: create better output

metze

16 years agor7467: a little fix for the build-farm
Stefan Metzmacher [Fri, 10 Jun 2005 16:07:49 +0000 (16:07 +0000)]
r7467: a little fix for the build-farm

metze

16 years agor7466: add RPC-SPOOLSS to the supported tests
Stefan Metzmacher [Fri, 10 Jun 2005 15:47:51 +0000 (15:47 +0000)]
r7466: add RPC-SPOOLSS to the supported tests

metze

16 years agor7465: - return empty lists for now
Stefan Metzmacher [Fri, 10 Jun 2005 15:39:23 +0000 (15:39 +0000)]
r7465: - return empty lists for now
- return WERR_NOT_SUPPORTED on AddPort()
(we pass the RPC-SPOOLSS test now :-)

metze

16 years agor7464: add newline to printf
Stefan Metzmacher [Fri, 10 Jun 2005 15:37:07 +0000 (15:37 +0000)]
r7464: add newline to printf

metze