samba.git
16 years agor10286: This patch is ugly and disgusting, but for now it works better than the other
Andrew Bartlett [Sat, 17 Sep 2005 01:11:50 +0000 (01:11 +0000)]
r10286: This patch is ugly and disgusting, but for now it works better than the other
ideas I have had.

When I get a full list of things I want to do to a krb5_context I'll
either add gsskrb5_ wrappers, or a way of speicfying the krb5 context
per gssapi context.

(I want to ensure that the only krb5_context variables created while
executing Samba4 are via our wrapper).

Andrew Bartlett
(This used to be commit 8a22d46e70e9f863831aba0c9913d195f833d625)

16 years agor10283: Eliminate some more use of autoconf substitution variables.
Jelmer Vernooij [Sat, 17 Sep 2005 00:42:05 +0000 (00:42 +0000)]
r10283: Eliminate some more use of autoconf substitution variables.
Add makefile rule for '.ho' files (compiled with host compiler). This
does not allow for cross-compiling yet as that requires a HOSTLD as well.
(This used to be commit c675ba0ee437ade4abe839a2fb193b9e3a98a3de)

16 years agor10277: do not ovverride LIKE, thanks to derrel I found out how to do
Simo Sorce [Fri, 16 Sep 2005 20:54:57 +0000 (20:54 +0000)]
r10277: do not ovverride LIKE, thanks to derrel I found out how to do
the same thing with a harmless user function
(This used to be commit 158693b4064bd731aa4f6cdb2fde51d7aa596cf5)

16 years agor10258: Fix an unused/duplicate local variable.
Tim Potter [Fri, 16 Sep 2005 07:24:36 +0000 (07:24 +0000)]
r10258: Fix an unused/duplicate local variable.
(This used to be commit 360be7028c2244391cdd9ed6d156cec8dab9e9e9)

16 years agor10257: strlen returns a size_t which can be 64 bits long.
Tim Potter [Fri, 16 Sep 2005 07:19:37 +0000 (07:19 +0000)]
r10257: strlen returns a size_t which can be 64 bits long.
(This used to be commit 4a4b0537183e16b00a94f0411e423c943d79cba9)

16 years agor10256: Fix some unhandled enumeration warnings. There's one still left,
Tim Potter [Fri, 16 Sep 2005 07:15:40 +0000 (07:15 +0000)]
r10256: Fix some unhandled enumeration warnings.  There's one still left,
RAW_SEARCH_UNIX_INFO find_fill_info(), which I think is a bug.
(This used to be commit 5f1cd6382cd90b1b33f645b1b2a469f4de4f42b9)

16 years agor10255: Fix some more 64-bit warnings.
Tim Potter [Fri, 16 Sep 2005 07:10:11 +0000 (07:10 +0000)]
r10255: Fix some more 64-bit warnings.
(This used to be commit f4f9337619f7793f5ad23fcb59a8e8751941fec6)

16 years agor10253: a fairly large tdb cleanup and re-organise. Nearly all of this change
Andrew Tridgell [Fri, 16 Sep 2005 03:52:42 +0000 (03:52 +0000)]
r10253: a fairly large tdb cleanup and re-organise. Nearly all of this change
just involves splitting up the core tdb.c code into separate files on
logical boundaries, but there are some minor functional changes as well:

 - move the 'struct tdb_context' into tdb_private.h, hiding it from
   users. This was done to allow the structure to change without
   breaking code that uses tdb.

 - added accessor functions tdb_fd(), tdb_name(), and tdb_log_fn() to
   access the elements of struct tdb_context that were used by
   external code but are no longer visible

 - simplied tdb_append() to use tdb_fetch()/tdb_store(), which is just
   as good due to the way tdb locks work

 - changed some of the types (such as tdb_off to tdb_off_t) to make
   syntax highlighting work better

 - removed the old optional spinlock code. It was a bad idea.

 - fixed a bug in tdb_reopen_all() that caused tdbtorture to sometimes
   fail or report nasty looking errors. This is the only real bug
   fixed in this commit. Jeremy/Jerry, you might like to pickup this
   change for Samba3, as that could definately affect smbd in
   Samba3.

The aim of all of these changes is to make the tdb
transactions/journaling code I am working on easier to write. I
started to write it on top of the existing tdb.c code and it got very
messy. Splitting up the code makes it much easier to follow.

There are more cleanups we could do in tdb, such as using uint32_t
instead of u32 (suggested by metze). I'll leave those for another day.
(This used to be commit 4673cdd0d261614e707b72a7a348bb0e7dbb2482)

16 years agor10252: a recent checkin from simo changed the handling of BASE and SUBTREE
Andrew Tridgell [Fri, 16 Sep 2005 03:18:49 +0000 (03:18 +0000)]
r10252: a recent checkin from simo changed the handling of BASE and SUBTREE
searches in ldb to be more ldap compliant, but broke the wins server
and the ejs ldb code. This fixes those up so 'make test' passes again.
(This used to be commit dff660c23c97114d0c1be705f4d6a9c114b60456)

16 years agor10251: some more work on ldb_sqlite3
Simo Sorce [Thu, 15 Sep 2005 23:10:07 +0000 (23:10 +0000)]
r10251: some more work on ldb_sqlite3

I must say that writing a new module is a very good way
to find lot of subtle bugs laying in the code

We need more tests!

commit oLschema2ldif.c to keep it safe from data losses (rm -fr :-)

update test generic to reflect the fix made on comparsion functions
(This used to be commit 4357a2db5eadb15519ed93b957b2bad25ebf2a7d)

16 years agor10250: the comparison is caseless so we must caseless subtract
Simo Sorce [Thu, 15 Sep 2005 23:06:57 +0000 (23:06 +0000)]
r10250: the comparison is caseless so we must caseless subtract
otherwise we get the wrong result when comparing upper
case chars with lower case chars
(This used to be commit f6ea6e9382f954be819ec82e28598cdf9cf88661)

16 years agor10246: Remove unused function
Jelmer Vernooij [Thu, 15 Sep 2005 20:03:35 +0000 (20:03 +0000)]
r10246: Remove unused function
Move auth-specific file to auth/
(This used to be commit 8aa9711a306b30da905f53148ebe352462852d74)

16 years agor10245: Get rid of XFILE in a few places.
Jelmer Vernooij [Thu, 15 Sep 2005 19:52:13 +0000 (19:52 +0000)]
r10245: Get rid of XFILE in a few places.
Add fdprintf() and vfdprintf() helper functions.
(This used to be commit 6685009f6af94b088084d69a43bcea5f8335ae57)

16 years agor10238: Add a entry for sec_info to treat it as a uint32 for now.
Tim Potter [Thu, 15 Sep 2005 10:20:08 +0000 (10:20 +0000)]
r10238: Add a entry for sec_info to treat it as a uint32 for now.
(This used to be commit 8a0a8d259dfc517a96053404985f2996b7342713)

16 years agor10237: fix parameter, how have I missed this...?
Stefan Metzmacher [Thu, 15 Sep 2005 09:55:16 +0000 (09:55 +0000)]
r10237: fix parameter, how have I missed this...?

metze
(This used to be commit d02e1aa049f29590fbb5e08a32ee54177baa71a7)

16 years agor10236: fix (C) note
Simo Sorce [Thu, 15 Sep 2005 07:23:15 +0000 (07:23 +0000)]
r10236: fix (C) note
(This used to be commit 466e6812c35af9096fea05520c6b59a19793c4d1)

16 years agor10233: add commented PRAGMA to avoid fsyncs
Simo Sorce [Wed, 14 Sep 2005 23:14:42 +0000 (23:14 +0000)]
r10233: add commented PRAGMA to avoid fsyncs
(This used to be commit e5d8d834600040793c1e45c7aaceb374df2b3839)

16 years agor10232: Some work on ldb_sqlite3.
Simo Sorce [Wed, 14 Sep 2005 22:45:49 +0000 (22:45 +0000)]
r10232: Some work on ldb_sqlite3.
It is still far from being usable in samba4 but I want to commit
so that the work does not get lost by mistake.
This is also a good way to get comments if somebody is interested.

Sorry Derrell I ended up rewriting large parts of the code but I find
this style much more readable. Thanks for the hard work done. Your
work was a good reference for me.

ah the current code also shows some good numbers

sqlite3 generic test:
uid search took 0.05 seconds
real    0m12.492s
user    0m0.492s
sys     0m0.345s

with tdb we still get better numbers:
uid search took 0.46 seconds
real    0m0.892s
user    0m0.360s
sys     0m0.468s

but most of the time is spent in adding operations and I think
there's still a lot of space for improvement.

Simo.
(This used to be commit ace9990060c10d0931f418934b2121aea9512ff7)

16 years agor10231: seem I flipped these, fix.
Simo Sorce [Wed, 14 Sep 2005 22:39:24 +0000 (22:39 +0000)]
r10231: seem I flipped these, fix.
(This used to be commit 8ddf4de162f42ed53ab0603dd0e1536796f9197e)

16 years agor10228: Reorganizing a bit, trying to simplify. This is an attempt
Deryck Hodge [Wed, 14 Sep 2005 21:48:03 +0000 (21:48 +0000)]
r10228: Reorganizing a bit, trying to simplify.  This is an attempt
to find what's going wrong in IE formatting.

This is some better, but still IE needs help.

deryck
(This used to be commit e7015c19374e1db8165790c623cb45e33b0a92df)

16 years agor10225: Adding back a style rule to qooxdoo that was originally
Deryck Hodge [Wed, 14 Sep 2005 15:08:46 +0000 (15:08 +0000)]
r10225: Adding back a style rule to qooxdoo that was originally
removed.  This is a cross browser hack that makes for
better performance amone differing browsers.

deryck
(This used to be commit b10d1d522cab53f50d7b3268b617c68e51b411a5)

16 years agor10216: Chris Samuel pointed out that we should note the need to run provision
Andrew Tridgell [Tue, 13 Sep 2005 22:58:38 +0000 (22:58 +0000)]
r10216: Chris Samuel pointed out that we should note the need to run provision
as a user with write permission on the install directory
(This used to be commit c0de3fd4c5718fbee76dbc9c08fa8e5754c4dc2a)

16 years agor10213: fixed a memory leak in the ldap client and server code spotted by Karl
Andrew Tridgell [Tue, 13 Sep 2005 22:05:45 +0000 (22:05 +0000)]
r10213: fixed a memory leak in the ldap client and server code spotted by Karl
Melcher. ldap_encode() now takes a memory context to use for the data
blob
(This used to be commit 09948a59336a7f02bf2b4605f2d4d886e65b85f2)

16 years agor10212: An IE fix. Must set initial values in the onload function.
Deryck Hodge [Tue, 13 Sep 2005 21:31:40 +0000 (21:31 +0000)]
r10212: An IE fix.  Must set initial values in the onload function.

deryck
(This used to be commit 3264ccf7438e003c3ed217f2d4a7315aceb05eb1)

16 years agor10207: Add some const
Jelmer Vernooij [Tue, 13 Sep 2005 17:28:18 +0000 (17:28 +0000)]
r10207: Add some const
(This used to be commit b1ad340b4720e922ae1e332c2a74986b1656358b)

16 years agor10200: added a composite_trigger_done() call that allows a composite function
Andrew Tridgell [Tue, 13 Sep 2005 12:46:03 +0000 (12:46 +0000)]
r10200: added a composite_trigger_done() call that allows a composite function
to cause an event to happen immediately. This allows metzes patch for
recognising IPs in resolve_name() to work, and also allows us to
remove some of the other code where we currently do specific checks
for is_ipaddress().
(This used to be commit 9cc000d868e1257ef6429f6f6f1f9d3c28ca330f)

16 years agor10199: added a LOCAL-RESOLVE torture test, useful for measuring the overhead of
Andrew Tridgell [Tue, 13 Sep 2005 12:44:33 +0000 (12:44 +0000)]
r10199: added a LOCAL-RESOLVE torture test, useful for measuring the overhead of
the async name resolution mechanisms
(This used to be commit b3a9d759bb7c6ca892f9810389292e79d963ca61)

16 years agor10197: Assume that external dissectors are structs which I think is always the
Tim Potter [Tue, 13 Sep 2005 06:39:40 +0000 (06:39 +0000)]
r10197: Assume that external dissectors are structs which I think is always the
case.
(This used to be commit 515f456facfeb2cd9893ac65dd96cdda16c9d1ca)

16 years agor10193: r11632@blu: tridge | 2005-08-30 23:08:27 +1000
Andrew Tridgell [Tue, 13 Sep 2005 01:02:06 +0000 (01:02 +0000)]
r10193:  r11632@blu:  tridge | 2005-08-30 23:08:27 +1000
 if we fail to erase a ldb during provision by traversing
 and deleting records (an in-place erase) then just unlink it
 and start it again. This makes provisioning much more robust
 to changes in ldb that make it not backward compatible with
 old DBs.
(This used to be commit 173655aec25c462b8b90b850df65ae6f95f44efb)

16 years agor10192: r11631@blu: tridge | 2005-08-30 23:06:37 +1000
Andrew Tridgell [Tue, 13 Sep 2005 01:01:55 +0000 (01:01 +0000)]
r10192:  r11631@blu:  tridge | 2005-08-30 23:06:37 +1000
 added a ldb.close() method in js. Useful for re-opening the db
(This used to be commit 1f12364a0f23ba39fd3d29b510fdef2423685f0d)

16 years agor10191: Return the right error code in the case of a time skew. Windows will now
Jelmer Vernooij [Tue, 13 Sep 2005 00:01:24 +0000 (00:01 +0000)]
r10191: Return the right error code in the case of a time skew. Windows will now
ignore Kerberos and fallback to NTLMSSP when joining. Thanks to Andrew Bartlett
for the assistence.
(This used to be commit 3b6bfbe8cf555f4144ed06044d3ecb8044f86bca)

16 years agor10190: Do some very basic input checking when provisioning.
Jelmer Vernooij [Mon, 12 Sep 2005 23:52:25 +0000 (23:52 +0000)]
r10190: Do some very basic input checking when provisioning.
(This used to be commit 87f25fe49caa78422582337c5208a331ef5b8c15)

16 years agor10185: Fix another two sets of unhandled enumeration warnings, plus correct some...
Tim Potter [Mon, 12 Sep 2005 21:40:40 +0000 (21:40 +0000)]
r10185: Fix another two sets of unhandled enumeration warnings, plus correct some awful indentation.  (-:
(This used to be commit 2f24fc7a7a195c04f88a25d52efc02ddf491126c)

16 years agor10184: Fix a stack of unhandled enumeration warnings.
Tim Potter [Mon, 12 Sep 2005 21:37:18 +0000 (21:37 +0000)]
r10184: Fix a stack of unhandled enumeration warnings.
(This used to be commit aeb42a446b3c28c5cf6800606b3f9b70c49cb94b)

16 years agor10181: Fix the build
Jelmer Vernooij [Mon, 12 Sep 2005 21:10:40 +0000 (21:10 +0000)]
r10181: Fix the build
(This used to be commit 231d01a3e79b26884409d24d8e25fc4ab8567d89)

16 years agor10174: This patch implements generic PAC verification, without assumptions
Andrew Bartlett [Mon, 12 Sep 2005 14:19:05 +0000 (14:19 +0000)]
r10174: This patch implements generic PAC verification, without assumptions
about the size of the signature.  In particular, this works with AES,
which was previously broken Samba4/Samba4.

Reviewed by metze (and thanks for help with the previous IDL commit).
(This used to be commit 3c8be196cce3bf275a0bf8d0cf127df570b560d3)

16 years agor10173: Document new option
Jelmer Vernooij [Mon, 12 Sep 2005 13:52:15 +0000 (13:52 +0000)]
r10173: Document new option
(This used to be commit efa6e3938df2f185fc7a303094a0b091422a7398)

16 years agor10172: Add --dump-ndr-tree argument
Jelmer Vernooij [Mon, 12 Sep 2005 13:49:51 +0000 (13:49 +0000)]
r10172: Add --dump-ndr-tree argument
(This used to be commit 8eb69b3a6e4e912af8a7c14a348f65b3d2512b42)

16 years agor10171: This seems to work for encoding/decoding a PAC at the buffers only
Andrew Bartlett [Mon, 12 Sep 2005 13:16:56 +0000 (13:16 +0000)]
r10171: This seems to work for encoding/decoding a PAC at the buffers only
level (required for signature verification).

Andrew Bartlett
(This used to be commit 76c224f28885759daae45e02a7637f2451dc84d3)

16 years agor10167: add a test to check if we always get the same assoc_ctx, on one connection.
Stefan Metzmacher [Mon, 12 Sep 2005 11:42:48 +0000 (11:42 +0000)]
r10167: add a test to check if we always get the same assoc_ctx, on one connection.

metze
(This used to be commit 589541b7402506422e8a85a857ea48910b24f2d6)

16 years agor10164: - add first assoc_ctx test
Stefan Metzmacher [Mon, 12 Sep 2005 10:06:22 +0000 (10:06 +0000)]
r10164: - add first assoc_ctx test
- handle the case where we're no valid pull partner of the tested server

metze
(This used to be commit d2e62dc205dd450ce57b9566c29e82878eb8471b)

16 years agor10161: Check for alloca.h to prevent incorrect local declaration.
James Peach [Mon, 12 Sep 2005 02:34:22 +0000 (02:34 +0000)]
r10161: Check for alloca.h to prevent incorrect local declaration.
(This used to be commit efc70d267285a94bcadd690ae4392d278cdeea94)

16 years agor10159: Dereference padsize before comparing to an int.
James Peach [Mon, 12 Sep 2005 01:34:51 +0000 (01:34 +0000)]
r10159: Dereference padsize before comparing to an int.
(This used to be commit 5767c05909c9927b3a806614b1f1bd2f90a35dd3)

16 years agor10157: Remove the last traces of heimdal/include.
James Peach [Mon, 12 Sep 2005 01:32:57 +0000 (01:32 +0000)]
r10157: Remove the last traces of heimdal/include.
(This used to be commit 651249010725196702a8a2ed0cba65039aa2f08d)

16 years agor10155: Add more notes on required gsskrb5 functions.
Andrew Bartlett [Mon, 12 Sep 2005 00:29:37 +0000 (00:29 +0000)]
r10155: Add more notes on required gsskrb5 functions.

Andrew Bartlett
(This used to be commit cdfcc093430c0a4ae2937dcbf29b8874e724ff29)

16 years agor10153: This patch adds a new parameter to gensec_sig_size(), the size of the
Andrew Bartlett [Sun, 11 Sep 2005 11:19:02 +0000 (11:19 +0000)]
r10153: This patch adds a new parameter to gensec_sig_size(), the size of the
data to be signed/sealed.  We can use this to split the data from the
signature portion of the resultant wrapped packet.

This required merging the gsskrb5_wrap_size patch from
lorikeet-heimdal, and fixes AES encrption issues on DCE/RPC (we no
longer use a static 45 byte value).

This fixes one of the krb5 issues in my list.

Andrew Bartlett
(This used to be commit e4f2afc34362953f56a026b66ae1aea81e9db104)

16 years agor10149: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett [Sat, 10 Sep 2005 22:25:13 +0000 (22:25 +0000)]
r10149: Update Samba4 to current lorikeet-heimdal.

Andrew Bartlett
(This used to be commit b9695d5e7cc052a952d8d60bc1ab08e00f4827e8)

16 years agor10148: Use samdb_base_dn() to find the local domain.
Andrew Bartlett [Sat, 10 Sep 2005 22:13:50 +0000 (22:13 +0000)]
r10148: Use samdb_base_dn() to find the local domain.

Andrew Bartlett
(This used to be commit 4969f86ac29aa1c4371a5cd01551f45c7fdb4cb2)

16 years agor10146: Clarify which test is failing in error messages.
Andrew Bartlett [Sat, 10 Sep 2005 10:59:49 +0000 (10:59 +0000)]
r10146: Clarify which test is failing in error messages.

Don't dump the pac to x.dat (accidental commit).

Andrew Bartlett
(This used to be commit a798d76a4ad6c0cb280d4e03e9819702acb16f55)

16 years agor10145: Allow a variable length signature, so we can support signing with
Andrew Bartlett [Sat, 10 Sep 2005 10:39:45 +0000 (10:39 +0000)]
r10145: Allow a variable length signature, so we can support signing with
other than arcfour-hmac-md5.  Currently we still fail to verify other
signatures however.

Andrew Bartlett
(This used to be commit 2e5884fc2472c6bcc7e6e083c28a4da6b2f72af1)

16 years agor10144: dump the whole data blob
Stefan Metzmacher [Sat, 10 Sep 2005 09:30:23 +0000 (09:30 +0000)]
r10144: dump the whole data blob

metze
(This used to be commit 4f933165c22113adecf5f1b57927aa89f1715945)

16 years agor10143: don't exit when the not all bytes are consumed,
Stefan Metzmacher [Sat, 10 Sep 2005 09:16:29 +0000 (09:16 +0000)]
r10143: don't exit when the not all bytes are consumed,
(this happens with relative pointers)

metze
(This used to be commit 3ba227aafd75b88c26c6a3fde8d55aeb360e344f)

16 years agor10141: if some of the LIBNDR_ALIGN_* flags and LIBNDR_FLAG_REMAINING are set,
Stefan Metzmacher [Sat, 10 Sep 2005 08:46:28 +0000 (08:46 +0000)]
r10141: if some of the LIBNDR_ALIGN_* flags and LIBNDR_FLAG_REMAINING are set,
ndr_pull_data_blob() doesn't work correct. so make them exclute each other.

jelmer, tridge: does that look correct? it fixes a problem, abartlet had
with krb5pac.idl, where the align flags are inherited from the parent, and we want to get the
[flag(NDR_REMAINING)] DATA_BLOB signature;

metze
(This used to be commit b9ea3e8f9f85098b63081bf12e2be65687921874)

16 years agor10140: reorder some stuff, for nicer output
Stefan Metzmacher [Sat, 10 Sep 2005 08:41:57 +0000 (08:41 +0000)]
r10140: reorder some stuff, for nicer output

metze
(This used to be commit 517d0ded6b4dc7aabe48581fee5878637bc2a674)

16 years agor10138: Fix the mapping table (as tested in smbtorture). EXEC_ACCESS
Jeremy Allison [Sat, 10 Sep 2005 02:21:44 +0000 (02:21 +0000)]
r10138: Fix the mapping table (as tested in smbtorture). EXEC_ACCESS
should map to SEC_RIGHTS_FILE_READ, not READ|WRITE.
Jeremy.
(This used to be commit 26f63973e6207e3b5c3123f1326027ceac38966f)

16 years agor10132: Confirm that openX with OPEN_EXEC implies read only.
Jeremy Allison [Fri, 9 Sep 2005 21:45:36 +0000 (21:45 +0000)]
r10132: Confirm that openX with OPEN_EXEC implies read only.
Jeremy.
(This used to be commit da70b2ab2df6d8239811b12b471c578cbff6dca8)

16 years agor10129: fix sinple ip's in wins replication, packets
Stefan Metzmacher [Fri, 9 Sep 2005 19:55:34 +0000 (19:55 +0000)]
r10129: fix sinple ip's in wins replication, packets

metze
(This used to be commit 7492afa48db68ee29048f8e1a56ccff712a3d162)

16 years agor10126: WREPL_REPL_UPDATE also takes a wrepl_table
Stefan Metzmacher [Fri, 9 Sep 2005 19:08:36 +0000 (19:08 +0000)]
r10126: WREPL_REPL_UPDATE also takes a wrepl_table

metze
(This used to be commit b897ad39bb063ee9ca963bd9848837307739f792)

16 years agor10123: Add more warnings. Support quotes in conformance command arguments
Jelmer Vernooij [Fri, 9 Sep 2005 18:21:59 +0000 (18:21 +0000)]
r10123: Add more warnings. Support quotes in conformance command arguments
(This used to be commit e6842fcc9809bcf8de678199a6f28fbbde6c0b83)

16 years agor10116: Print out a couple more warnings.
Jelmer Vernooij [Fri, 9 Sep 2005 16:23:50 +0000 (16:23 +0000)]
r10116: Print out a couple more warnings.
(This used to be commit 0628dfa5c3c74614a86b4f61b8d1555ef41c41bb)

16 years agor10115: bind client connection to the best interface, to the partner
Stefan Metzmacher [Fri, 9 Sep 2005 16:01:49 +0000 (16:01 +0000)]
r10115: bind client connection to the best interface, to the partner

metze
(This used to be commit e44aca0a8eb41abbaa494d379dd61713dc57c4f3)

16 years agor10113: rename libcli/wins to libcli/wrepl
Stefan Metzmacher [Fri, 9 Sep 2005 16:00:02 +0000 (16:00 +0000)]
r10113: rename libcli/wins to libcli/wrepl

metze
(This used to be commit d8b84112bb40605b07a77ab5f7a44ac1807ccc59)

16 years agor10112: - check attributes depending on the section type
Stefan Metzmacher [Fri, 9 Sep 2005 11:03:53 +0000 (11:03 +0000)]
r10112: - check attributes depending on the section type

metze
(This used to be commit d6af241d7b1459d81479205356c7422c4dcca0fb)

16 years agor10111: Make pidl by default assume the input file is an IDL file rather
Jelmer Vernooij [Fri, 9 Sep 2005 10:59:54 +0000 (10:59 +0000)]
r10111: Make pidl by default assume the input file is an IDL file rather
then a .pidl file.
(This used to be commit d8a31d3048a6421a3d49d3c121bc86d748838b3a)

16 years agor10110: Add some more warnings, implement FIELD_DESCRIPTION
Jelmer Vernooij [Fri, 9 Sep 2005 10:30:19 +0000 (10:30 +0000)]
r10110: Add some more warnings, implement FIELD_DESCRIPTION
(This used to be commit 1caeb3238dac6321bde8e254a8efaf090b4d56b0)

16 years agor10104: Fix code before declaration.
Tim Potter [Fri, 9 Sep 2005 04:22:58 +0000 (04:22 +0000)]
r10104: Fix code before declaration.
(This used to be commit 05c020181560afd4e6957be29795536e2d83d71e)

16 years agor10103: Put an #ifdef guard around ENOTSUP to fix systems that don't have it
Tim Potter [Fri, 9 Sep 2005 04:21:19 +0000 (04:21 +0000)]
r10103: Put an #ifdef guard around ENOTSUP to fix systems  that don't have it
(OpenBSD 3.7).
(This used to be commit cc24af6545b19ad7710c43399c396e1807f80eeb)

16 years agor10100: Check for more networking headers so the resolv.h test can succeed.
James Peach [Fri, 9 Sep 2005 01:19:32 +0000 (01:19 +0000)]
r10100: Check for more networking headers so the resolv.h test can succeed.
(This used to be commit db75b2da1ef9d8e926610d918953697dd346fe3b)

16 years agor10097: Remove extraneous include patch heimdal/include. Add configure
James Peach [Fri, 9 Sep 2005 00:42:18 +0000 (00:42 +0000)]
r10097: Remove extraneous include patch heimdal/include. Add configure
checks for getipnodeby*().
(This used to be commit 623c265312bdbf7a485f2b9a46fc79d2e53edb54)

16 years agor10094: Support quoted arguments in conformance files
Jelmer Vernooij [Thu, 8 Sep 2005 22:33:48 +0000 (22:33 +0000)]
r10094: Support quoted arguments in conformance files
Update pidl manpage
(This used to be commit a69e88e7b19b8f05222b54aea88395b51b96c003)

16 years agor10093: Fix the HF_FIELD conformance file command
Jelmer Vernooij [Thu, 8 Sep 2005 21:59:40 +0000 (21:59 +0000)]
r10093: Fix the HF_FIELD conformance file command
(This used to be commit 0c0a4b55cff4079276073060dae91ff0c19af42f)

16 years agor10091: Fix perl warnings
Jelmer Vernooij [Thu, 8 Sep 2005 20:34:35 +0000 (20:34 +0000)]
r10091: Fix perl warnings
(This used to be commit 045bce900ea0b864bf3ac2fe8c197d42c6d38a91)

16 years agor10089: Fix a typo breaking the Makefile generator and therefore - the build.
Rafal Szczesniak [Thu, 8 Sep 2005 19:58:59 +0000 (19:58 +0000)]
r10089: Fix a typo breaking the Makefile generator and therefore - the build.

rafal
(This used to be commit d6936185d5e4a85b188d5117d7a3b3d6bea2f96b)

16 years agor10085: decode level 5 and 9 too
Stefan Metzmacher [Thu, 8 Sep 2005 15:05:29 +0000 (15:05 +0000)]
r10085: decode level 5 and 9 too
(this is taken from the ethereal dissector)

metze
(This used to be commit c50f5fe33b0025edbf473d7c166dea9655e2d42f)

16 years agor10081: - create a seperate WINSDB subsystem
Stefan Metzmacher [Thu, 8 Sep 2005 14:43:15 +0000 (14:43 +0000)]
r10081: - create a seperate WINSDB subsystem
- use LIBCLI_WREPL for the winsreplication client code
- fix some dependencies

metze
(This used to be commit 7dd931ee5ac1408da8d14d00f43d19473e06871e)

16 years agor10078: - add a 'struct data_blob_list_item'
Stefan Metzmacher [Thu, 8 Sep 2005 11:26:05 +0000 (11:26 +0000)]
r10078: - add a 'struct data_blob_list_item'
- use this for the send_queue's of the different stream_servers
  to not redefine the same struct so often, and it maybe will be used
  in other places too

metze
(This used to be commit b6694f067ab7aff0ee303dbfe8a6e7fad801e7e9)

16 years agor10077: - move gcc option checks to check_cc.m4
Stefan Metzmacher [Thu, 8 Sep 2005 11:01:39 +0000 (11:01 +0000)]
r10077: - move gcc option checks to check_cc.m4
- only use -g if supported
- don't allow AC_PROG_C and friends to autoset the CFLAGS
  (we don't want -g -02 by default..., maybe a configure option
   for -OX could be useful...)

metze
(This used to be commit f3e0bf022f6a1d5de0d21eb7be3ec97f526fe631)

16 years agor10076: this macro was moved to build/m4/smb_cc_featues.m4
Stefan Metzmacher [Thu, 8 Sep 2005 10:55:05 +0000 (10:55 +0000)]
r10076: this macro was moved to build/m4/smb_cc_featues.m4

metze
(This used to be commit cd444bd6f0743cd5ba1d2b137c2411d3088ff6f0)

16 years agor10075: fix warning with autoconf 2.59 on SuSE 9.3
Stefan Metzmacher [Thu, 8 Sep 2005 10:49:21 +0000 (10:49 +0000)]
r10075: fix warning with autoconf 2.59 on SuSE 9.3
(don't use m4_regexp: use regexp or m4_bregexp)

metze
(This used to be commit 89149c06c9319a9ab1e1b411af3e931afa8035aa)

16 years agor10074: Pass CPP to pidl via environment variables rather then config.pm. This fixes the
Jelmer Vernooij [Thu, 8 Sep 2005 10:35:55 +0000 (10:35 +0000)]
r10074: Pass CPP to pidl via environment variables rather then config.pm. This fixes the
standalone pidl build (as used for ethereal)
(This used to be commit 9c9ebd2214423c58357854f09bd744e13e807d8f)

16 years agor10072: Fix mismerge weridness in error handling.
Andrew Bartlett [Thu, 8 Sep 2005 09:08:13 +0000 (09:08 +0000)]
r10072: Fix mismerge weridness in error handling.

Andrew Bartlett
(This used to be commit c17926b6fe278fd757862885f82fd342b755167c)

16 years agor10071: Configure checks for IRIX build environment. Test whether we can
James Peach [Thu, 8 Sep 2005 08:18:08 +0000 (08:18 +0000)]
r10071: Configure checks for IRIX build environment. Test whether we can
use the MIPSPro 7.4 -c99 option to get C99 support. Try to find
a common perl that is more modern than /usr/bin/perl.
(This used to be commit 82fab8b747bf68d8548c6f0f2f4bff98bd428d22)

16 years agor10066: This is the second in my patches to work on Samba4's kerberos support,
Andrew Bartlett [Wed, 7 Sep 2005 21:52:50 +0000 (21:52 +0000)]
r10066: This is the second in my patches to work on Samba4's kerberos support,
with an aim to make the code simpiler and more correct.

Gone is the old (since the very early Samba 3.0 krb5 days) 'iterate over
all keytypes)' code in gensec_krb5, we now follow the approach used in
gensec_gssapi, and use a keytab.

I have also done a lot of work in the GSSAPI code, to try and reduce
the diff between us and upstream heimdal.  It was becoming hard to
track patches in this code, and I also want this patch (the DCE_STYLE
support) to be in a 'manageable' state for when lha considers it for
merging.  (metze assures me it still has memory leak problems, but
I've started to address some of that).

This patch also includes a simple update of other code to current
heimdal, as well as changes we need for better PAC verification.

On the PAC side of things we now match windows member servers by
checking the name and authtime on an incoming PAC.  Not generating these
right was the cause of the PAC pain, and so now both the main code and
torture test validate this behaviour.

One thing doesn't work with this patch:
 - the sealing of RPC pipes with kerberos, Samba -> Samba seems
broken.  I'm pretty sure this is related to AES, and the need to break
apart the gss_wrap interface.

Andrew Bartlett
(This used to be commit a3aba57c00a9c5318f4706db55d03f64e8bea60c)

16 years agor10052: Add 'print' command
Jelmer Vernooij [Tue, 6 Sep 2005 15:44:08 +0000 (15:44 +0000)]
r10052: Add 'print' command
(This used to be commit d99c9e2817fbbe2a0a34910672c8473889bc6176)

16 years agor10048: Dissect a security_secinfo as a uint32 just to get the winreg
Tim Potter [Tue, 6 Sep 2005 01:55:40 +0000 (01:55 +0000)]
r10048: Dissect a security_secinfo as a uint32 just to get the winreg
dissector compiling and linking.  It's really an enum defined in
security.idl.
(This used to be commit b62811afcb85accf9ea0cf12f4b659cd9898e275)

16 years agor10047: Translate an idl NTTIME to an ethereal FT_ABSOLUTE_TIME instead of
Tim Potter [Tue, 6 Sep 2005 01:52:34 +0000 (01:52 +0000)]
r10047: Translate an idl NTTIME to an ethereal FT_ABSOLUTE_TIME instead of
a FT_UINT64.  Not sure about a NTTIME_hyper though.
(This used to be commit 42568d3f286679656417301d1cf29d3f0cd71030)

16 years agor10046: Don't generate any ethereal dissectors for security.idl
Tim Potter [Tue, 6 Sep 2005 00:42:21 +0000 (00:42 +0000)]
r10046: Don't generate any ethereal dissectors for security.idl
(This used to be commit 5b8b956887f80e99894e5732568ee65d670aaa72)

16 years agor10045: metze reminded me to use the correct enum entry, rather than 0 for the
Andrew Bartlett [Tue, 6 Sep 2005 00:34:22 +0000 (00:34 +0000)]
r10045: metze reminded me to use the correct enum entry, rather than 0 for the
return here.

Andrew Bartlett
(This used to be commit 73bd6c75343808952d97e32be9f624aba11c78d1)

16 years agor10044: Microsoft has defined this bit:
Andrew Bartlett [Tue, 6 Sep 2005 00:33:28 +0000 (00:33 +0000)]
r10044: Microsoft has defined this bit:
support.microsoft.com/?kbid=832572

(It inhbits the generation of a PAC).

Andrew Bartlett
(This used to be commit 330f351085089cc8f72eb350ec8b017b35e7e59c)

16 years agor10043: Only recompile subsystems that actually need recompilation
Jelmer Vernooij [Mon, 5 Sep 2005 20:56:28 +0000 (20:56 +0000)]
r10043: Only recompile subsystems that actually need recompilation
(This used to be commit de9830979788528754175b17fe45477e6ce9ce9e)

16 years agor10041: Add 'gcov' make target. Run
Jelmer Vernooij [Mon, 5 Sep 2005 19:54:35 +0000 (19:54 +0000)]
r10041: Add 'gcov' make target. Run
'make clean gcov' to generate a set of files describing the test coverage
of the Samba 4 code.
(This used to be commit 72bb84add469ad4f027ddbd8d73bb846b0609fa2)

16 years agor10038: Update instructions on using gcov with ldb
Jelmer Vernooij [Mon, 5 Sep 2005 18:11:15 +0000 (18:11 +0000)]
r10038: Update instructions on using gcov with ldb
(This used to be commit 8d246fac49332426699e797f52ef694083b5e2ea)

16 years agor10035: This patch removes the need for the special case hack
Andrew Bartlett [Mon, 5 Sep 2005 10:53:14 +0000 (10:53 +0000)]
r10035: This patch removes the need for the special case hack
'MEMORY_WILDCARD' keytab type. (part of this checking is in effect a
merge from lorikeet-heimdal, where I removed this)

This is achieved by correctly using the GSSAPI gsskrb5_acquire_cred()
function, as this allows us to specify the target principal, regardless
of which alias the client may use.

This patch also tries to simplify some principal handling and fixes some
error cases.

Posted to samba-technical, reviewed by metze, and looked over by lha on IRC.

Andrew Bartlett
(This used to be commit 506a7b67aee949b102d8bf0d6ee9cd12def10d00)

16 years agor10032: Add tdr generated files to clean target
Jelmer Vernooij [Mon, 5 Sep 2005 00:35:14 +0000 (00:35 +0000)]
r10032: Add tdr generated files to clean target
(This used to be commit c1e9fb24e1b53fb2c5ee6e32454350dff710c627)

16 years agor10030: Add hierarchical memory allocation to TDR's pull functions
Jelmer Vernooij [Sun, 4 Sep 2005 20:17:21 +0000 (20:17 +0000)]
r10030: Add hierarchical memory allocation to TDR's pull functions
(This used to be commit 0e358de93a007db921ad5e9a892114122254de39)

16 years agor10028: More registry fixes.
Jelmer Vernooij [Sun, 4 Sep 2005 17:26:23 +0000 (17:26 +0000)]
r10028: More registry fixes.
Remove save_hive() function (there is a flush_key function already).
Fixes for the allocation mechanism in the REGF backend
(This used to be commit 499d03bc90382bcd33c8c3a1577a58d2c76e5129)

16 years agor10027: Use blob length for keeping track of buffer length, add TODO
Jelmer Vernooij [Sun, 4 Sep 2005 17:25:04 +0000 (17:25 +0000)]
r10027: Use blob length for keeping track of buffer length, add TODO
(This used to be commit a924bec84b6d0a84db05c4315126474c9248fe2d)

16 years agor10026: Move registry header file to lib/registry
Jelmer Vernooij [Sun, 4 Sep 2005 14:47:19 +0000 (14:47 +0000)]
r10026: Move registry header file to lib/registry
Add support for showing security descriptor in regshell
Add support for saving files in NT4 registry backend
(This used to be commit 47cecd4726e6568f1aafb404646d2664f630a9bb)

16 years agor10025: Add some utility functions for storing/loading tdr encoded data
Jelmer Vernooij [Sun, 4 Sep 2005 13:13:47 +0000 (13:13 +0000)]
r10025: Add some utility functions for storing/loading tdr encoded data
(This used to be commit bcd433bfc1450317b75e22942dee1c42bb24ae79)

16 years agor10022: Merge tpot's fix for IRIX and AIX_rea build problems from lorikeet-heimdal
Andrew Bartlett [Sun, 4 Sep 2005 08:17:24 +0000 (08:17 +0000)]
r10022: Merge tpot's fix for IRIX and AIX_rea build problems from lorikeet-heimdal
to Samba4.

Andrew Bartlett
(This used to be commit 6835e427907bf52f7fdd332b726ffa47041853de)