sfrench/samba-autobuild/.git
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.
(This used to be commit 7f914b08a77c6035918d9f4463990f1dd8f3efb9)

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

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
(This used to be commit ba82197e30da8e626419e877d224431703edc866)

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
(This used to be commit ce9b64341159cb1a8f42809dcecc0b1e80eb8a5e)

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
(This used to be commit 98350b35ab0b0f06cc9ddf8edaf3dfe705c3e5bf)

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.
(This used to be commit 6bdebc3cfdf13358bbb610af2a7f9889b4f885cb)

16 years agor24647: this passes now
Andrew Tridgell [Fri, 24 Aug 2007 06:10:16 +0000 (06:10 +0000)]
r24647: this passes now
(This used to be commit baa6cfaa78725a2504e1557cad76a2152df7f979)

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
(This used to be commit 066bcd8420045f095130674e32bdee97cb1471be)

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
(This used to be commit e2d173fde17ab903bddf2139d8100785280856bd)

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
(This used to be commit 1aa4628f16b4c2ba4c8253fdd9c109b3ea874c5a)

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
(This used to be commit 5705ee04498780d8ca89290e85b8ec831f0a185d)

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
(This used to be commit dd951b983c0cde2dd54c5370dc8d6440509b0559)

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
(This used to be commit aa0a3489646ee0ce9d69e4c57c60f83e4894c8a3)

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
(This used to be commit 8f02ade1b2cc164f64f4ea8a371c107ccf6a81b3)

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
(This used to be commit a1bfd410d6c31f58d6c7825cd1970c38d2ad713d)

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
(This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)

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
(This used to be commit 37363307c6cbe28f1ca7135ca501d8c0dcd4c6d7)

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
(This used to be commit 0216ff6daa276e413811ca32cca0a66b4b2abe55)

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
(This used to be commit 5ecc1311a143dd1adf9369d71ccb919be06daf57)

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
(This used to be commit 69bf7f1874c8e89b61c4baa03ff9ad191e71b804)

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
(This used to be commit 30e02747d511630659c59eafec8d28f58605943b)

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
(This used to be commit 48fd2889571b10a6057b9e271860e4951fc85c8b)

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
(This used to be commit 3ab90ad312b85b5a887090418e9cb7594f519b2f)

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
(This used to be commit 417ea885b41cc097a0bb3a10ffbffb31f234f25d)

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
(This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)

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
(This used to be commit fa577a12940d2df9d5ea9e3e0fed40021d59647d)

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
(This used to be commit 9b59534a14700f7bfe56cae448030df59ced0ba5)

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
(This used to be commit 710f6dc17f4bdf994a5fefd439eee93e1774e70e)

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
(This used to be commit 2ebf00dc42edfc3474dc88ef2e560d4b1b534efa)

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
(This used to be commit 3bd35bb8abf2e49036d0356ce1b5db95908f7189)

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
(This used to be commit c61415b05ddd29c7214384189f7d0ddabdaa3b71)

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.
(This used to be commit e1b93be1e130692a75a2fc4eb5ca8ee425fe1b82)

16 years agor24576: Implement endpwent
Kai Blin [Mon, 20 Aug 2007 11:41:36 +0000 (11:41 +0000)]
r24576: Implement endpwent
(This used to be commit ef93a7991d3b4445ba87f964f2f17c33044ba8c4)

16 years agor24575: Implement setpwent
Kai Blin [Mon, 20 Aug 2007 11:38:00 +0000 (11:38 +0000)]
r24575: Implement setpwent
(This used to be commit 9bbbedac99278853e30a9f81f594ee3144545268)

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
(This used to be commit ebdd03ee9e5bf11d1cb85da0ecb66a84f810bbcc)

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
(This used to be commit b8a8a81ffe58ae8d7c2fd006c0cd285db714cbfe)

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
(This used to be commit 786706322a920fd54585bec72d860ed112398f12)

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
(This used to be commit 6e730d43e4052e074161af7bedef87994056e398)

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
(This used to be commit 8cfa1f898e5f5a8e57e3794a80174063223247ec)

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
(This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)

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
(This used to be commit 2dbf89e22352dcb36c7246671ccc9cd55d9f6a57)

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
(This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)

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
(This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)

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
(This used to be commit 184a7cfc36860e16f9483347ae70a053a5823e83)

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
(This used to be commit 40ad66dd75acce330c2db3f4258eacf8265b05e2)

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
(This used to be commit 75f81f862ef06e86f9dcfcf4709221ed9c4e22ed)

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
(This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)

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
(This used to be commit 473bca74dc9d9dc54a239c9b5d3dc5fcf5a117a9)

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
(This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)

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
(This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)

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
(This used to be commit 3cca299c72e0ae7da3d28d7284f1993eef9f1cea)

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
(This used to be commit 701aa31d14cde412c1fecef694d851882be8d17f)

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
(This used to be commit ff11f2ce0c3f9c882d93bda0c89577adaf8c2a41)

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
(This used to be commit a698fb18573baf016009bdd2d02aaf336dc92a63)

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
(This used to be commit 66d4d6f19643454fb781cebbca2c4f4dbb94e90b)

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
(This used to be commit fad5af2f2069993b7284e74a177b78a4b4798383)

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
(This used to be commit ff7fa11e70018e9691441d824483b803781943a7)

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
(This used to be commit ee92d47b538e2f92e4c342893f04c598311e1021)

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
(This used to be commit 98d8753d37e5ac6273316c83bf6f0e6851afd30a)

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
(This used to be commit d90a0d3ba1ac18caee08ab3f621b742229a41e45)

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
(This used to be commit b7d6ac5215c27f7eb4ae16e3a68b7f7fc32dcb72)

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
(This used to be commit 82cc41c5589899552256b06a3b1ae84e24d3b71f)

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
(This used to be commit e8ebee2698d7d91d8cf25b3017f3414578607ff5)

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
(This used to be commit 0eba05b6a67eb5b119e9054af3fe9db855cb9fbe)

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
(This used to be commit 0edec25af84744074aeeb5f8f7b61a6c78ef35b7)

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
(This used to be commit 8cc3fd09ffce6f389d979ec0a49d2ecefda70dd1)

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
(This used to be commit 0bad3f06199341aeacef228e482ab755e2e48306)

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
(This used to be commit 52cce94532edf1dd7f26e39bf3377f0077ea6792)

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
(This used to be commit 481a3f0b2ac217b0db2f481479d655910514b56c)

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
(This used to be commit fb1e1eebdae740a2b66ee1ea9e1e35f21292ac14)

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
(This used to be commit deefefeadfc4c5c3448ac378e1910fb75df0dc77)

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
(This used to be commit 5f1f50cd27e3702b79a19dbe1079498cbfc4842b)

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
(This used to be commit 3cbbddb94c9e986d0adbe3b001146b209cd810d9)

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
(This used to be commit 82aad0e42c44f5b277aed743595795fcc4bad0d4)

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
(This used to be commit 13144bdea914f92b5e15fa807fa7ef7c4d6510a2)

16 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
(This used to be commit 65f3bb8c19971c605fb81fa66317e2ee99132edc)

16 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
(This used to be commit 47fb2d42dfa917f5aca4daaacf53134afc22d288)

16 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
(This used to be commit ffd07d713bc01aee6306229e959773d5bc57104c)

16 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
(This used to be commit 0454edc9581e0013eee3a369fb77db3408253c6e)

16 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
(This used to be commit 212e8ec8d51b75fdfed5ae1ea228133811186a72)

16 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)
(This used to be commit 9fbc8aa15f97ab97f4da801e5d36223a874e912b)

16 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
(This used to be commit 8a23db61e425d10a6f9710a277497d60b114a753)

16 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
(This used to be commit 6e6eac551a42d4d68676d408b31207de7b9d0006)

16 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
(This used to be commit f5ec369741661fdf7ef5f5183c0e1a996bd46d41)

16 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.
(This used to be commit 7cc8be50b6c64bc1d0a3f43ab5d78a28260a3c93)

16 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.
(This used to be commit e634c627b155b8ce9d325b7b23236861993cfd59)

16 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.
(This used to be commit 125590e008549b2784b38f3fd8ff45b47dc3e3e9)

16 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.
(This used to be commit 74a871ce705a8362cfcc3e9f46ffdb63edc02b32)

16 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
(This used to be commit a79129a4ae412f29a0d730f49327269a92ec8402)

16 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
(This used to be commit b474be9507df51982a604289215bb1868124fc24)

16 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
(This used to be commit ca50b1ad3afbf02fef7c6d1fcbe11d23c515d340)

16 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
(This used to be commit 8aacab6f6a04d0f56bed945e07cd894ac1344ace)

16 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
(This used to be commit 46fadeb6983dff4e6a38fceec4679d3bf44dd5d9)

16 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
(This used to be commit f6ae9574b208e42a819249918b827457f245f519)

16 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
(This used to be commit 91fb099b3dd5c58608f1fbf65ed77acbc609598f)

16 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
(This used to be commit 0c5be644ba13c68b7378a6ae9dcd314018ece25d)

16 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
(This used to be commit 89ea0339b5f95b27ad0eaed430d1f264722a7e84)

16 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.
(This used to be commit ef9bc55a6b1e90d49d621a1c4bebc80b6c7c2be0)

16 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.
(This used to be commit abf631822da6221af187498cde9fe068cd91ee43)

16 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.
(This used to be commit 754b9ff696cda6b2df4d569c9a910ab0ca49e13b)