jelmer/samba4-debian.git
16 years agor24691: All smbclient blackbox tests pass.
Jelmer Vernooij [Mon, 27 Aug 2007 00:36:26 +0000 (00:36 +0000)]
r24691: All smbclient blackbox tests pass.

16 years agor24690: Further fix to bug 4919: Ensure we don't supply a NULL URL argument to
Andrew Bartlett [Mon, 27 Aug 2007 00:31:14 +0000 (00:31 +0000)]
r24690: Further fix to bug 4919: Ensure we don't supply a NULL URL argument to
ldb_connect_backend().

Andrew Bartlett

16 years agor24689: There is no such test as LDAP-UPTODATENESS.
Jelmer Vernooij [Mon, 27 Aug 2007 00:21:37 +0000 (00:21 +0000)]
r24689: There is no such test as LDAP-UPTODATENESS.

16 years agor24688: Make output subunit-parseable.
Jelmer Vernooij [Mon, 27 Aug 2007 00:19:45 +0000 (00:19 +0000)]
r24688: Make output subunit-parseable.

16 years agor24687: Registry tests are succeeding now so remove from known failure list, add...
Jelmer Vernooij [Sun, 26 Aug 2007 23:22:54 +0000 (23:22 +0000)]
r24687: Registry tests are succeeding now so remove from known failure list, add summary page with failures and skipped tests to html output.

16 years agor24686: Make sure control messages are on a new line.
Jelmer Vernooij [Sun, 26 Aug 2007 22:20:02 +0000 (22:20 +0000)]
r24686: Make sure control messages are on a new line.

16 years agor24685: Don't warn about iconv tests not being usable until they're actually being...
Jelmer Vernooij [Sun, 26 Aug 2007 22:15:44 +0000 (22:15 +0000)]
r24685: Don't warn about iconv tests not being usable until they're actually being run.

16 years agor24684: Be a bit less verbose
Jelmer Vernooij [Sun, 26 Aug 2007 22:12:02 +0000 (22:12 +0000)]
r24684: Be a bit less verbose

16 years agor24683: Add two more tests.
Jelmer Vernooij [Sun, 26 Aug 2007 21:52:27 +0000 (21:52 +0000)]
r24683: Add two more tests.

16 years agor24682: forgot to actually make the new test buil...
Rafal Szczesniak [Sun, 26 Aug 2007 21:49:23 +0000 (21:49 +0000)]
r24682: forgot to actually make the new test buil...

rafal

16 years agor24681: add basic test of libnet_GroupInfo function.
Rafal Szczesniak [Sun, 26 Aug 2007 21:48:26 +0000 (21:48 +0000)]
r24681: add basic test of libnet_GroupInfo function.

rafal

16 years agor24680: fix a couple of stupid typos from previous commit.
Rafal Szczesniak [Sun, 26 Aug 2007 21:47:16 +0000 (21:47 +0000)]
r24680: fix a couple of stupid typos from previous commit.

rafal

16 years agor24679: Add (raw and untested) implementation of libnet_GroupInfo function.
Rafal Szczesniak [Sun, 26 Aug 2007 20:25:39 +0000 (20:25 +0000)]
r24679: Add (raw and untested) implementation of libnet_GroupInfo function.

rafal

16 years agor24678: More improvements to html output; list unexpected successes and failures...
Jelmer Vernooij [Sun, 26 Aug 2007 20:14:28 +0000 (20:14 +0000)]
r24678: More improvements to html output; list unexpected successes and failures seperately from expected ones.

16 years agor24677: Also add built flex file for people that don't have lex.
Jelmer Vernooij [Sun, 26 Aug 2007 20:07:12 +0000 (20:07 +0000)]
r24677: Also add built flex file for people that don't have lex.

16 years agor24676: Fix pointers being used rather than the data they point at - caught by the...
Jelmer Vernooij [Sun, 26 Aug 2007 20:05:13 +0000 (20:05 +0000)]
r24676: Fix pointers being used rather than the data they point at - caught by the IRIX compiler.

16 years agor24675: Specify mode to mkdir, as required by some versions of perl.
Jelmer Vernooij [Sun, 26 Aug 2007 20:00:56 +0000 (20:00 +0000)]
r24675: Specify mode to mkdir, as required by some versions of perl.

16 years agor24674: Make sure results are always on a new line, fix typo in test name.
Jelmer Vernooij [Sun, 26 Aug 2007 19:58:40 +0000 (19:58 +0000)]
r24674: Make sure results are always on a new line, fix typo in test name.

16 years agor24673: Put lex/yacc output under version control for hosts that don't have those...
Jelmer Vernooij [Sun, 26 Aug 2007 19:14:13 +0000 (19:14 +0000)]
r24673: Put lex/yacc output under version control for hosts that don't have those tools.

16 years agor24672: Add dummy variable to prevent errors on some compilers.
Jelmer Vernooij [Sun, 26 Aug 2007 19:09:40 +0000 (19:09 +0000)]
r24672: Add dummy variable to prevent errors on some compilers.

16 years agor24671: More improvements to the HTML test suite results: hide
Jelmer Vernooij [Sun, 26 Aug 2007 19:07:46 +0000 (19:07 +0000)]
r24671: More improvements to the HTML test suite results: hide
control messages, improve summary, stylesheet.

16 years agor24670: Use torture functions for settings.
Jelmer Vernooij [Sun, 26 Aug 2007 18:24:12 +0000 (18:24 +0000)]
r24670: Use torture functions for settings.

16 years agor24669: Add CSS to the test run HTML output. See http://samba.org/~jelmer/ for an
Jelmer Vernooij [Sun, 26 Aug 2007 16:56:41 +0000 (16:56 +0000)]
r24669: Add CSS to the test run HTML output. See samba.org/~jelmer/ for an
example of the current output.

16 years agor24668: Fix header installation.
Jelmer Vernooij [Sun, 26 Aug 2007 15:55:06 +0000 (15:55 +0000)]
r24668: Fix header installation.

16 years agor24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
Jelmer Vernooij [Sun, 26 Aug 2007 15:16:40 +0000 (15:16 +0000)]
r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code

16 years agor24665: Close file handles properly.
Jelmer Vernooij [Sun, 26 Aug 2007 14:07:23 +0000 (14:07 +0000)]
r24665: Close file handles properly.

16 years agor24657: Use torture functions.
Jelmer Vernooij [Sat, 25 Aug 2007 15:55:29 +0000 (15:55 +0000)]
r24657: Use torture functions.

16 years agor24655: Fix bug 4919 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>:
Andrew Bartlett [Fri, 24 Aug 2007 22:58:29 +0000 (22:58 +0000)]
r24655: Fix bug 4919 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>:

> When you change to the SAMBA private directory on a shell (default
> /usr/local/samba/private) and start there for example ldbedit with the sam.ldb,
> the application crashes if you don't put the "./" before the filename.

I've adapted Matthias's patch.

Andrew Bartlett

16 years agor24651: Allow dynamic updates for the domain controller over its own name
Simo Sorce [Fri, 24 Aug 2007 13:31:05 +0000 (13:31 +0000)]
r24651: Allow dynamic updates for the domain controller over its own name

16 years agor24650: Some more instructions to have make GSS-TSIG work
Simo Sorce [Fri, 24 Aug 2007 13:21:43 +0000 (13:21 +0000)]
r24650: Some more instructions to have make GSS-TSIG work

16 years agor24648: Found out the meaning of a few more flags.
Andrew Bartlett [Fri, 24 Aug 2007 06:29:20 +0000 (06:29 +0000)]
r24648: Found out the meaning of a few more flags.

16 years agor24647: this passes now
Andrew Tridgell [Fri, 24 Aug 2007 06:10:16 +0000 (06:10 +0000)]
r24647: this passes now

16 years agor24646: fixed the handling of case insensitive paths with wildcards
Andrew Tridgell [Fri, 24 Aug 2007 03:40:40 +0000 (03:40 +0000)]
r24646: fixed the handling of case insensitive paths with wildcards

16 years agor24645: add in the ctdb dbwrap backend
Andrew Tridgell [Fri, 24 Aug 2007 02:38:51 +0000 (02:38 +0000)]
r24645: add in the ctdb dbwrap backend

16 years agor24644: add a ctdb_fetch() function to the ctdb client code
Andrew Tridgell [Fri, 24 Aug 2007 02:38:17 +0000 (02:38 +0000)]
r24644: add a ctdb_fetch() function to the ctdb client code

16 years agor24643: add a ctdb_fetch() function to the ctdb client code
Andrew Tridgell [Fri, 24 Aug 2007 02:38:09 +0000 (02:38 +0000)]
r24643: add a ctdb_fetch() function to the ctdb client code

16 years agor24642: prevent recursion with fetch_locked
Andrew Tridgell [Fri, 24 Aug 2007 02:37:38 +0000 (02:37 +0000)]
r24642: prevent recursion with fetch_locked

add a note about server_id exists checking

16 years agor24641: fixed several memory leaks in the brlock code
Andrew Tridgell [Fri, 24 Aug 2007 02:35:46 +0000 (02:35 +0000)]
r24641: fixed several memory leaks in the brlock code

16 years agor24640: Add a suggested BIND configuration snippit, to help with DNS configuration.
Andrew Bartlett [Fri, 24 Aug 2007 01:57:54 +0000 (01:57 +0000)]
r24640: Add a suggested BIND configuration snippit, to help with DNS configuration.

When we sort out GSS-TSIG on the server, we can expand this to have
the 'right stuff'.

Andrew Bartlett

16 years agor24633: Try to start on a set of release notes for Samba4 alpha1.
Andrew Bartlett [Thu, 23 Aug 2007 11:52:54 +0000 (11:52 +0000)]
r24633: Try to start on a set of release notes for Samba4 alpha1.

I still have things to fix, but I think we are close to making this
release.

Andrew Bartlett

16 years agor24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
Andrew Bartlett [Thu, 23 Aug 2007 02:10:17 +0000 (02:10 +0000)]
r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.

Andrew Bartlett

16 years agor24629: Make read_sock return the total number of bytes read instead
Michael Adam [Wed, 22 Aug 2007 13:51:44 +0000 (13:51 +0000)]
r24629: Make read_sock return the total number of bytes read instead
of the number of bytes read in the last of possibly several
read calls.

This was noted by Metze.

Michael

16 years agor24626: as TALLOC_ABORT() is defined to abort() by default
Stefan Metzmacher [Wed, 22 Aug 2007 12:44:22 +0000 (12:44 +0000)]
r24626: as TALLOC_ABORT() is defined to abort() by default
wrap it into a function so that the function name
in the backtrace shows what happens.

metze

16 years agor24623: add back '-D' option to smbd
Stefan Metzmacher [Wed, 22 Aug 2007 12:21:40 +0000 (12:21 +0000)]
r24623: add back '-D' option to smbd

metze

16 years agor24620: move printing out the version string and exit()
Stefan Metzmacher [Wed, 22 Aug 2007 12:04:42 +0000 (12:04 +0000)]
r24620: move printing out the version string and exit()
into the popt _POST processing.

Now 'smbd -V --bla' complains about an unknown option

metze

16 years agor24614: Merge with current lorikeet-heimdal. This brings us one step closer
Andrew Bartlett [Wed, 22 Aug 2007 06:46:34 +0000 (06:46 +0000)]
r24614: Merge with current lorikeet-heimdal.  This brings us one step closer
to an alpha release.

Andrew Bartlett

16 years agor24613: Missed this in my recent commit -r 24611. We don't discriminate on
Andrew Bartlett [Wed, 22 Aug 2007 05:32:52 +0000 (05:32 +0000)]
r24613: Missed this in my recent commit -r 24611.  We don't discriminate on
where the password change came from, to determine if policy should be
applied.  We discriminate on if the account is a trust account.

Andrew Bartlett

16 years agor24612: Revert this part of -r 24611. This isn't related to my SAMR password
Andrew Bartlett [Wed, 22 Aug 2007 04:43:17 +0000 (04:43 +0000)]
r24612: Revert this part of -r 24611.  This isn't related to my SAMR password
work, but to an odd bind failure I noticed in a trace.  I need to
commit this with changes to the torture suite.

Andrew Bartlett

16 years agor24611: Following up on the re-opening of bug 4817 is it pretty clear that
Andrew Bartlett [Wed, 22 Aug 2007 04:28:15 +0000 (04:28 +0000)]
r24611: Following up on the re-opening of bug 4817 is it pretty clear that
machine accounts are not subject to password policy in Win2k3 R2 (at
least in terms of password quality).

In testing this, I found that Win2k3 R2 has changed the way the old
ChangePassword RPC call is handled - the 'cross-checks' between new LM
and NT passwords are not required.

Andrew Bartlett

16 years agor24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
Stefan Metzmacher [Tue, 21 Aug 2007 19:35:43 +0000 (19:35 +0000)]
r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
and rename the containing functions to have a ndr_
prefix

metze

16 years agor24596: - talloc request structure for the samba3 server bindings
Stefan Metzmacher [Tue, 21 Aug 2007 14:06:33 +0000 (14:06 +0000)]
r24596: - talloc request structure for the samba3 server bindings
  and make that the primary context for the request
  which the implementations can also use.
- go via functions pointers in the ndr_interface_table
  instead of calling functions directly.

metze

16 years agor24592: pass down the ndr_interface_table in the samba3 client bindings
Stefan Metzmacher [Tue, 21 Aug 2007 12:19:56 +0000 (12:19 +0000)]
r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze

16 years agor24588: use the right type
Andrew Tridgell [Tue, 21 Aug 2007 01:27:21 +0000 (01:27 +0000)]
r24588: use the right type

16 years agor24587: the elements of the array are not talloc pointers
Andrew Tridgell [Tue, 21 Aug 2007 01:25:15 +0000 (01:25 +0000)]
r24587: the elements of the array are not talloc pointers

16 years agor24586: same bug in RAW-BENCH-OPEN
Andrew Tridgell [Tue, 21 Aug 2007 01:17:13 +0000 (01:17 +0000)]
r24586: same bug in RAW-BENCH-OPEN

16 years agor24585: put in the right state variable when doing a SMBecho - this caused the
Andrew Tridgell [Tue, 21 Aug 2007 01:16:04 +0000 (01:16 +0000)]
r24585: put in the right state variable when doing a SMBecho - this caused the
wrong connection to reconnect on a SMBecho failure

16 years agor24577: Implement basic getpwent.
Kai Blin [Mon, 20 Aug 2007 11:51:01 +0000 (11:51 +0000)]
r24577: Implement basic getpwent.

This one still cheats and only returns one winbindd_pw structure per call.
Also, doesn't get a new libnet_UserList yet.

16 years agor24576: Implement endpwent
Kai Blin [Mon, 20 Aug 2007 11:41:36 +0000 (11:41 +0000)]
r24576: Implement endpwent

16 years agor24575: Implement setpwent
Kai Blin [Mon, 20 Aug 2007 11:38:00 +0000 (11:38 +0000)]
r24575: Implement setpwent

16 years agor24574: Fix a warning in wb_samba3_cmd.c
Kai Blin [Mon, 20 Aug 2007 11:29:17 +0000 (11:29 +0000)]
r24574: Fix a warning in wb_samba3_cmd.c

16 years agor24570: Attempt to fix make test
Volker Lendecke [Mon, 20 Aug 2007 07:30:59 +0000 (07:30 +0000)]
r24570: Attempt to fix make test

Samba4 seems not to survive the newly added tests

16 years agor24569: Add two tests
Volker Lendecke [Mon, 20 Aug 2007 05:24:19 +0000 (05:24 +0000)]
r24569: Add two tests

A subtest for rename to check if case-changing renames work

A test that exposes the case insensitivity unix_convert bug

16 years agor24568: Fix the build, caused by a conflict betwen mimir's work and metze's bulk...
Andrew Bartlett [Mon, 20 Aug 2007 01:03:51 +0000 (01:03 +0000)]
r24568: Fix the build, caused by a conflict betwen mimir's work and metze's bulk rename.

Andrew Bartlett

16 years agor24567: Try much harder not to leak memory when comparing objectCategory entires.
Andrew Bartlett [Mon, 20 Aug 2007 00:22:53 +0000 (00:22 +0000)]
r24567: Try much harder not to leak memory when comparing objectCategory entires.

Andrew Bartlett

16 years agor24566: Remove trailing newlines in ldb_debug(), these are not required.
Andrew Bartlett [Mon, 20 Aug 2007 00:22:08 +0000 (00:22 +0000)]
r24566: Remove trailing newlines in ldb_debug(), these are not required.

Andrew Bartlett

16 years agor24563: remove unused DCERPC specific stuff from the generated NDR code
Stefan Metzmacher [Sun, 19 Aug 2007 22:23:17 +0000 (22:23 +0000)]
r24563: remove unused DCERPC specific stuff from the generated NDR code

metze

16 years agor24560: rename some DCERPC_ prefixes into NDR_
Stefan Metzmacher [Sun, 19 Aug 2007 22:09:21 +0000 (22:09 +0000)]
r24560: rename some DCERPC_ prefixes into NDR_

metze

16 years agor24557: rename 'dcerpc_table_' -> 'ndr_table_'
Stefan Metzmacher [Sun, 19 Aug 2007 21:23:03 +0000 (21:23 +0000)]
r24557: rename 'dcerpc_table_' -> 'ndr_table_'

metze

16 years agor24556: forgot to commit the winbind/ subdir...sorry
Stefan Metzmacher [Sun, 19 Aug 2007 21:12:13 +0000 (21:12 +0000)]
r24556: forgot to commit the winbind/ subdir...sorry

metze

16 years agor24555: Add a test for libnet's group info call.
Rafal Szczesniak [Sun, 19 Aug 2007 21:09:15 +0000 (21:09 +0000)]
r24555: Add a test for libnet's group info call.

rafal

16 years agor24554: Add internal implementation (before api function) of group
Rafal Szczesniak [Sun, 19 Aug 2007 21:07:11 +0000 (21:07 +0000)]
r24554: Add internal implementation (before api function) of group
info call.

rafal

16 years agor24551: rename dcerpc_interface_table -> ndr_interface_table
Stefan Metzmacher [Sun, 19 Aug 2007 20:46:45 +0000 (20:46 +0000)]
r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze

16 years agor24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
Stefan Metzmacher [Sat, 18 Aug 2007 12:25:37 +0000 (12:25 +0000)]
r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h

metze

16 years agor24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
Stefan Metzmacher [Sat, 18 Aug 2007 10:30:40 +0000 (10:30 +0000)]
r24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze

16 years agor24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
Stefan Metzmacher [Sat, 18 Aug 2007 06:57:49 +0000 (06:57 +0000)]
r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
and move it into misc.idl

The goal is to get rid a all dcerpc specific stuff in the
generated ndr layer.

metze

16 years agor24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2open
Volker Lendecke [Fri, 17 Aug 2007 19:48:27 +0000 (19:48 +0000)]
r24529: Against samba3, treat EAS_NOT_SUPPORTED as acceptable for t2open

Many hosts in the build farm don't have EA support

16 years agor24524: make use of ElementStars()
Stefan Metzmacher [Fri, 17 Aug 2007 13:53:12 +0000 (13:53 +0000)]
r24524: make use of ElementStars()

metze

16 years agor24523: we don't support multi-dimentional [out] arrays
Stefan Metzmacher [Fri, 17 Aug 2007 13:47:03 +0000 (13:47 +0000)]
r24523: we don't support multi-dimentional [out] arrays
for the samba3 server stubs yet, so bail out.

metze

16 years agor24522: make the "skip pointer to an array" logic a bit easier
Stefan Metzmacher [Fri, 17 Aug 2007 13:45:18 +0000 (13:45 +0000)]
r24522: make the "skip pointer to an array" logic a bit easier

metze

16 years agor24521: we don't yet have optional args to DeclLong()
Stefan Metzmacher [Fri, 17 Aug 2007 13:42:09 +0000 (13:42 +0000)]
r24521: we don't yet have optional args to DeclLong()

metze

16 years agor24520: make use of the new ElementStars() and ArrayBrackets()
Stefan Metzmacher [Fri, 17 Aug 2007 13:08:00 +0000 (13:08 +0000)]
r24520: make use of the new ElementStars() and ArrayBrackets()
functions

metze

16 years agor24518: get rid of using ->{ORIGINAL} and move stuff
Stefan Metzmacher [Fri, 17 Aug 2007 13:01:51 +0000 (13:01 +0000)]
r24518: get rid of using ->{ORIGINAL} and move stuff
into subfunctions

metze

16 years agor24517: move skipping pointer before an array logic into the
Stefan Metzmacher [Fri, 17 Aug 2007 12:55:47 +0000 (12:55 +0000)]
r24517: move skipping pointer before an array logic into the
pointer loop as we do in other places

metze

16 years agor24516: don't use ->{ORIGINAL}
Stefan Metzmacher [Fri, 17 Aug 2007 12:04:41 +0000 (12:04 +0000)]
r24516: don't use ->{ORIGINAL}

metze

16 years agor24515: use fatal() wrapper instead of die() directly
Stefan Metzmacher [Fri, 17 Aug 2007 11:24:25 +0000 (11:24 +0000)]
r24515: use fatal() wrapper instead of die() directly

metze

16 years agor24514: IS_* elemements sound be perl integers consistantly...
Stefan Metzmacher [Fri, 17 Aug 2007 11:09:46 +0000 (11:09 +0000)]
r24514: IS_* elemements sound be perl integers consistantly...

metze

16 years agor24511: pass the correct thing to fatal()
Stefan Metzmacher [Fri, 17 Aug 2007 09:12:13 +0000 (09:12 +0000)]
r24511: pass the correct thing to fatal()

metze

16 years agor24509: pass down the full ndr elements instead of the old pidl elements
Stefan Metzmacher [Fri, 17 Aug 2007 09:01:19 +0000 (09:01 +0000)]
r24509: pass down the full ndr elements instead of the old pidl elements
from ->{ORIGINAL}

metze

16 years agor24508: add HeaderTypeNew() which will go if everything is converted
Stefan Metzmacher [Fri, 17 Aug 2007 08:47:38 +0000 (08:47 +0000)]
r24508: add HeaderTypeNew() which will go if everything is converted

metze

16 years agor24507: pass $d down to HeaderTypedef
Stefan Metzmacher [Fri, 17 Aug 2007 08:05:57 +0000 (08:05 +0000)]
r24507: pass $d down to HeaderTypedef

metze

16 years agor24506: pass $fn down one more layer
Stefan Metzmacher [Fri, 17 Aug 2007 07:46:34 +0000 (07:46 +0000)]
r24506: pass $fn down one more layer

metze

16 years agor24505: pass down $fn one level
Stefan Metzmacher [Fri, 17 Aug 2007 07:06:02 +0000 (07:06 +0000)]
r24505: pass down $fn one level

metze

16 years agor24504: Try to return more useful error information on why a bind failed.
Andrew Bartlett [Fri, 17 Aug 2007 05:28:39 +0000 (05:28 +0000)]
r24504: Try to return more useful error information on why a bind failed.
Note that the correct return for a failed alter_context is a fault,
not a bind_nak.

Andrew Bartlett

16 years agor24503: Make 'make test TEST_LDAP=yes' pass on Fedora 7, by trying more
Andrew Bartlett [Fri, 17 Aug 2007 05:22:58 +0000 (05:22 +0000)]
r24503: Make 'make test TEST_LDAP=yes' pass on Fedora 7, by trying more
combinations of modules.

Andrew Bartlett

16 years agor24502: More work to get LOCAL-EVENT passing on all platforms:
Andrew Bartlett [Fri, 17 Aug 2007 05:21:05 +0000 (05:21 +0000)]
r24502: More work to get LOCAL-EVENT passing on all platforms:

- Make the epoll_event_context_init() call fail if epoll_create() fails.

  This should cause this backend to be skipped on host with epoll() in
  libc but not in the kernel.

- At the moment, there is no sensible way to handle failures to add an
  epoll() event, and 'fallback to select' is misnamed (so we now
  abort()).

Andrew Bartlett

16 years agor24494: add comment to remind me to look at the flags on a tconx
Stefan Metzmacher [Thu, 16 Aug 2007 14:45:46 +0000 (14:45 +0000)]
r24494: add comment to remind me to look at the flags on a tconx

metze

16 years agor24493: - it turns out that
Stefan Metzmacher [Thu, 16 Aug 2007 14:42:22 +0000 (14:42 +0000)]
r24493: - it turns out that
  foreach my $e (@{$union->{ELEMENTS}}) {
  changes $union->{ELEMENTS} from undef into an empty array.
  this removes the difference between
  struct foo { }; and struct foo;
  So we need to explicit return before.
- we should return the same element for layout for
  structs and unions with no elements.
- fix the testsuite to match

metze

16 years agor24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
Stefan Metzmacher [Thu, 16 Aug 2007 13:41:48 +0000 (13:41 +0000)]
r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
not the $pidl tree anymore.

metze

16 years agor24491: base_type() isn't supported anymore and the default for enums
Stefan Metzmacher [Thu, 16 Aug 2007 13:40:41 +0000 (13:40 +0000)]
r24491: base_type() isn't supported anymore and the default for enums
is now uint16...

metze

16 years agor24490: For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()
Stefan Metzmacher [Thu, 16 Aug 2007 13:39:30 +0000 (13:39 +0000)]
r24490: For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()
so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn().

Also the base_type() property isn't standard IDL and we should not support it.

This changes TDR enum to also to default to uint16 (as with NDR enums).

metze