jelmer/samba4-debian.git
12 years agor24576: Implement endpwent
Kai Blin [Mon, 20 Aug 2007 11:41:36 +0000 (11:41 +0000)]
r24576: Implement endpwent

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agor24489: only typedef enum { ... } foo; enum's should look
Stefan Metzmacher [Thu, 16 Aug 2007 13:34:54 +0000 (13:34 +0000)]
r24489: only typedef enum { ... } foo; enum's should look
for has_properties() of $enum->{PARENT}

metze

12 years agor24488: enum's and bitmap's not have nested types
Stefan Metzmacher [Thu, 16 Aug 2007 13:29:38 +0000 (13:29 +0000)]
r24488: enum's and bitmap's not have nested types

metze

12 years agor24487: fix formating and add defined($opt_header)
Stefan Metzmacher [Thu, 16 Aug 2007 13:27:41 +0000 (13:27 +0000)]
r24487: fix formating and add defined($opt_header)

metze

12 years agor24486: Bump another DEBUG to level 5
Kai Blin [Thu, 16 Aug 2007 12:56:37 +0000 (12:56 +0000)]
r24486: Bump another DEBUG to level 5

12 years agor24484: pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm
Stefan Metzmacher [Thu, 16 Aug 2007 10:54:11 +0000 (10:54 +0000)]
r24484: pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm

metze

12 years agor24483: Implement backend for wbinfo -u (list users)
Kai Blin [Thu, 16 Aug 2007 10:40:04 +0000 (10:40 +0000)]
r24483: Implement backend for wbinfo -u (list users)

12 years agor24482: white space cleanup only...
Stefan Metzmacher [Thu, 16 Aug 2007 10:07:19 +0000 (10:07 +0000)]
r24482: white space cleanup only...

metze

12 years agor24480: Bump another DEBUG down to level 5
Kai Blin [Thu, 16 Aug 2007 09:01:59 +0000 (09:01 +0000)]
r24480: Bump another DEBUG down to level 5

12 years agor24479: Typo fix - this makes 'make test' pass against OpenLDAP again.
Andrew Bartlett [Thu, 16 Aug 2007 01:58:56 +0000 (01:58 +0000)]
r24479: Typo fix - this makes 'make test' pass against OpenLDAP again.

The objectCategory canonicalise_fn makes everything a DN, which is
exactly what we need here.

Andrew Bartlett

12 years agor24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISION
Jeremy Allison [Thu, 16 Aug 2007 01:05:18 +0000 (01:05 +0000)]
r24478: Check that NTrename also maps NT_STATUS_OBJECT_NAME_COLLISION
to ERRDOS, ERRrename.
Jeremy.

12 years agor24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISION
Jeremy Allison [Thu, 16 Aug 2007 00:54:16 +0000 (00:54 +0000)]
r24477: Add a rename test to prove that NT_STATUS_OBJECT_NAME_COLLISION
is mapped to ERRDOS, ERRrename on a rename error, but mapped
to ERRDOS, ERRfilexists on an open error.
Jeremy.

12 years agor24473: Prove this is also the same for NTcreateX. It's pretty much
Jeremy Allison [Wed, 15 Aug 2007 23:30:12 +0000 (23:30 +0000)]
r24473: Prove this is also the same for NTcreateX. It's pretty much
guarenteed now that NT_STATUS_OBJECT_NAME_COLLISION should
map to ERRDOS, ERRfilexists on all open calls at least.
Jeremy.

12 years agor24469: Start adding in the torture tests that prove that NT_STATUS_OBJECT_NAME_COLLISION
Jeremy Allison [Wed, 15 Aug 2007 22:59:06 +0000 (22:59 +0000)]
r24469: Start adding in the torture tests that prove that NT_STATUS_OBJECT_NAME_COLLISION
should map to ERRDOS, ERRfilexists not ERRDOS, ERRrename as it currently does in
the errormap. This will break the build farm against Samba3 until I start adding
in the hand mapping from the above. Tridge - we may need to reconsider the mapping
here.
Jeremy.

12 years agor24463: we have a function to correctly create an $env object
Stefan Metzmacher [Wed, 15 Aug 2007 14:02:23 +0000 (14:02 +0000)]
r24463: we have a function to correctly create an $env object
so don't try it manually and introduce bugs:-)

metze

12 years agor24459: Fix up ldap.js and test_ldb.sh to test the domain_scope control, and
Andrew Bartlett [Wed, 15 Aug 2007 13:14:38 +0000 (13:14 +0000)]
r24459: Fix up ldap.js and test_ldb.sh to test the domain_scope control, and
to test the behaviour of objectCategory=user searches.

It turns out (thanks to a hint on
http://blog.joeware.net/2005/12/08/147/) that objectCategory=user maps
into objectCategory=CN=Person,... (by the defaultObjectCategory of
that objectclass).

Simplify the entryUUID module by using the fact that we now set the DN
as the canoncical form of objectCategory.

Andrew Bartlett

12 years agor24454: when level 0 is a pointer we need to look for an array in level 1...
Stefan Metzmacher [Wed, 15 Aug 2007 10:23:28 +0000 (10:23 +0000)]
r24454: when level 0 is a pointer we need to look for an array in level 1...

metze

12 years agor24452: bail out instead of only giving a warning on
Stefan Metzmacher [Wed, 15 Aug 2007 09:18:25 +0000 (09:18 +0000)]
r24452: bail out instead of only giving a warning on
incorrect idl files

metze

12 years agor24449: length_is() isn't supported without size_is().
Stefan Metzmacher [Wed, 15 Aug 2007 09:12:35 +0000 (09:12 +0000)]
r24449: length_is() isn't supported without size_is().

I assume what we need is an array of strings,
so the code isn't used and broken anyway without
a testsuite...just get rid of the pidl warning

metze

12 years agor24448: merge formating fixes SAMBA_3_2
Stefan Metzmacher [Wed, 15 Aug 2007 09:07:17 +0000 (09:07 +0000)]
r24448: merge formating fixes SAMBA_3_2

metze

12 years agor24447: fix samba3-cli pidl tests
Stefan Metzmacher [Wed, 15 Aug 2007 08:55:16 +0000 (08:55 +0000)]
r24447: fix samba3-cli pidl tests

metze

12 years agor24446: We only need one genric GenerateFunctionInEnv
Stefan Metzmacher [Wed, 15 Aug 2007 06:08:02 +0000 (06:08 +0000)]
r24446: We only need one genric GenerateFunctionInEnv
function

metze

12 years agor24407: $element->{ARRAY_LEN} doesn't exist...
Stefan Metzmacher [Tue, 14 Aug 2007 11:50:45 +0000 (11:50 +0000)]
r24407: $element->{ARRAY_LEN} doesn't exist...

and a few lines above we use $element->{ORIGINAL}->{ARRAY_LEN}
I assume it was just forgotten in the update.

metze

12 years agor24397: Bump debug level of sid2(u|g)id calls to 5.
Kai Blin [Tue, 14 Aug 2007 07:21:10 +0000 (07:21 +0000)]
r24397: Bump debug level of sid2(u|g)id calls to 5.

12 years agor24396: Fix a typo.
Kai Blin [Tue, 14 Aug 2007 07:18:41 +0000 (07:18 +0000)]
r24396: Fix a typo.

Thanks to metze (metze@samba.org) for catching this one.

12 years agor24395: Add check if talloc_strdup worked.
Kai Blin [Tue, 14 Aug 2007 07:15:16 +0000 (07:15 +0000)]
r24395: Add check if talloc_strdup worked.

12 years agor24390: Another attempt to find out why we fail the LOCAL-EVENT test on some build...
Andrew Bartlett [Tue, 14 Aug 2007 03:10:22 +0000 (03:10 +0000)]
r24390: Another attempt to find out why we fail the LOCAL-EVENT test on some build farm hosts.

Andrew Bartlett

12 years agor24376: Missed this file from the checkin, sorry.
Kai Blin [Mon, 13 Aug 2007 16:45:51 +0000 (16:45 +0000)]
r24376: Missed this file from the checkin, sorry.

12 years agor24375: Implement backend for wbinfo --uid-infp (getpwuid)
Kai Blin [Mon, 13 Aug 2007 16:34:29 +0000 (16:34 +0000)]
r24375: Implement backend for wbinfo --uid-infp (getpwuid)

12 years agor24374: Add a getpwuid lookup to wbinfo
Kai Blin [Mon, 13 Aug 2007 16:26:39 +0000 (16:26 +0000)]
r24374: Add a getpwuid lookup to wbinfo

12 years agor24373: Implement backend for wbinfo -G (gid2sid)
Kai Blin [Mon, 13 Aug 2007 16:20:26 +0000 (16:20 +0000)]
r24373: Implement backend for wbinfo -G (gid2sid)

12 years agor24372: Implement backend for wbinfo -U
Kai Blin [Mon, 13 Aug 2007 16:07:47 +0000 (16:07 +0000)]
r24372: Implement backend for wbinfo -U

12 years agor24371: Actually add the glue to make wbinfo -S and wbinfo -Y work
Kai Blin [Mon, 13 Aug 2007 15:58:41 +0000 (15:58 +0000)]
r24371: Actually add the glue to make wbinfo -S and wbinfo -Y work

12 years agor24370: Implement wbinfo -i backend (getpwnam)
Kai Blin [Mon, 13 Aug 2007 15:49:09 +0000 (15:49 +0000)]
r24370: Implement wbinfo -i backend (getpwnam)

12 years agor24369: Don't use goto in wb_name2domain, fix wb_samba3_split_names call.
Kai Blin [Mon, 13 Aug 2007 15:41:31 +0000 (15:41 +0000)]
r24369: Don't use goto in wb_name2domain, fix wb_samba3_split_names call.

Missed this one on my previous name2domain cleanup patch.

12 years agor24366: Implemet backend for wbinfo -Y, sid2gid
Kai Blin [Mon, 13 Aug 2007 15:27:37 +0000 (15:27 +0000)]
r24366: Implemet backend for wbinfo -Y, sid2gid

12 years agor24365: Implemet backend for wbinfo -S, sid2uid
Kai Blin [Mon, 13 Aug 2007 15:22:26 +0000 (15:22 +0000)]
r24365: Implemet backend for wbinfo -S, sid2uid

12 years agor24364: Remove sync call from name2domain, bump debug level to 5
Kai Blin [Mon, 13 Aug 2007 15:18:34 +0000 (15:18 +0000)]
r24364: Remove sync call from name2domain, bump debug level to 5

12 years agor24363: Add template shell and template homedir settings to smb.conf
Kai Blin [Mon, 13 Aug 2007 14:43:18 +0000 (14:43 +0000)]
r24363: Add template shell and template homedir settings to smb.conf

12 years agor24350: Remove offsetof() replacement to see if there are actually any
Jelmer Vernooij [Sun, 12 Aug 2007 12:21:34 +0000 (12:21 +0000)]
r24350: Remove offsetof() replacement to see if there are actually any
hosts that don't have it.

12 years agor24345: Add --format=html option to selftest.
Jelmer Vernooij [Sun, 12 Aug 2007 04:00:15 +0000 (04:00 +0000)]
r24345: Add --format=html option to selftest.

12 years agor24342: Move environments into a separate directory.
Jelmer Vernooij [Sun, 12 Aug 2007 01:49:38 +0000 (01:49 +0000)]
r24342: Move environments into a separate directory.

12 years agor24339: Move output functions to separate files.
Jelmer Vernooij [Sun, 12 Aug 2007 00:50:25 +0000 (00:50 +0000)]
r24339: Move output functions to separate files.

12 years agor24338: Add callbacks for starting and finishing tests.
Jelmer Vernooij [Sat, 11 Aug 2007 22:14:07 +0000 (22:14 +0000)]
r24338: Add callbacks for starting and finishing tests.

12 years agor24337: Make libreplace provide offsetof.
Jelmer Vernooij [Sat, 11 Aug 2007 21:30:19 +0000 (21:30 +0000)]
r24337: Make libreplace provide offsetof.

12 years agor24336: Use standard data type uint32_t rather than tdb-specific u32.
Jelmer Vernooij [Sat, 11 Aug 2007 21:19:24 +0000 (21:19 +0000)]
r24336: Use standard data type uint32_t rather than tdb-specific u32.

12 years agor24335: Fix -N support.
Jelmer Vernooij [Sat, 11 Aug 2007 18:31:27 +0000 (18:31 +0000)]
r24335: Fix -N support.

12 years agor24333: Add convenience function for checking the contents of a file in tests.
Jelmer Vernooij [Sat, 11 Aug 2007 17:08:22 +0000 (17:08 +0000)]
r24333: Add convenience function for checking the contents of a file in tests.

12 years agor24313: Merge r23377 from 3_2
Volker Lendecke [Fri, 10 Aug 2007 11:53:52 +0000 (11:53 +0000)]
r24313: Merge r23377 from 3_2

Patch from Bjoern Jacke <bjoern@j3e.de> to deal
with non-GNU implementations of tr in autogen.sh

12 years agor24301: The less escape characters the better. This changes the winbind
Andrew Bartlett [Fri, 10 Aug 2007 08:46:29 +0000 (08:46 +0000)]
r24301: The less escape characters the better.  This changes the winbind
seperator to /, which is not an escape character, and uses the fact
that we always support / as the DOMAIN/username seperator.

Andrew Bartlett

12 years agor24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() in
Andrew Bartlett [Fri, 10 Aug 2007 07:40:50 +0000 (07:40 +0000)]
r24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() in
glibc, but not in the host kernel.

Andrew Bartlett

12 years agor24286: (missed from previous commit)
Andrew Bartlett [Thu, 9 Aug 2007 08:43:15 +0000 (08:43 +0000)]
r24286: (missed from previous commit)

A number of machines on the build farm fail because while they use
SOCKET_WRAPPER, they don't compile with --enable-developer.  As such
the winbind tests fail.

We need to ensure that on production systems we never have
SOCKET_WRAPPER set, or this could be a security issue.

Andrew Bartlett

12 years agor24285: A number of machines on the build farm fail because while they use
Andrew Bartlett [Thu, 9 Aug 2007 08:08:09 +0000 (08:08 +0000)]
r24285: A number of machines on the build farm fail because while they use
SOCKET_WRAPPER, they don't compile with --enable-developer.  As such
the winbind tests fail.

We need to ensure that on production systems we never have
SOCKET_WRAPPER set, or this could be a security issue.

Andrew Bartlett

12 years agor24284: change brlock_tdb.c to use the dbwrap API. This actually makes the
Andrew Tridgell [Thu, 9 Aug 2007 06:36:16 +0000 (06:36 +0000)]
r24284: change brlock_tdb.c to use the dbwrap API. This actually makes the
backend abstraction for brlock pointless, but I have left it in place
for now. It would be useful for other clustering systems that can't
map to dbwrap, and would also be useful if we wanted to keep the
remote function call capabilities in ctdb instead of the less
efficient fetch_locked() call in dbwrap

12 years agor24283: added a dbwrap API for temporary databases, based on the one from the
Andrew Tridgell [Thu, 9 Aug 2007 06:34:20 +0000 (06:34 +0000)]
r24283: added a dbwrap API for temporary databases, based on the one from the
s3 clustering code.

This commit just establishes the API. The ctdb backend for this will
come soon.

12 years agor24282: Try to fix the occasional Samba4 crash in BASE-BENCH-READWRITE, as
Andrew Bartlett [Thu, 9 Aug 2007 06:26:19 +0000 (06:26 +0000)]
r24282: Try to fix the occasional Samba4 crash in BASE-BENCH-READWRITE, as
seen in particular on opi.

This looked like a Heimdal problem, but I think it was simply that we
didn't do a talloc_reference() to keep tabs on the memory we were
using, and in between obtaining the pointer and using it, it was
assigned to unrelated memory.

Andrew Bartlett

12 years agor24277: Tidyup as requested by metze.
Andrew Bartlett [Wed, 8 Aug 2007 06:37:37 +0000 (06:37 +0000)]
r24277: Tidyup as requested by metze.

Andrew Bartlett

12 years agor24276: don't mark a stream readable until after the messaging setup is
Andrew Tridgell [Wed, 8 Aug 2007 03:20:37 +0000 (03:20 +0000)]
r24276: don't mark a stream readable until after the messaging setup is
complete. This is needed because messaging setup with ctdb involve
events, and we don't want a SMB packet to be processed on this stream
until after the stream structure is fully setup