tprouty/samba.git
16 years agor15625: Partial commit of my current work. It makes libnet api functions
Rafal Szczesniak [Mon, 15 May 2006 21:49:27 +0000 (21:49 +0000)]
r15625: Partial commit of my current work. It makes libnet api functions
a bit more smart and more aware of what libnet_context can offer.
The context is a help when some of the arguments are not passed
(programmer counts on using sensible defaults) and stores some of
results so that similar subsequent calls don't need to reopen some
of policy handles, pipes, etc. again. It also helps to hide some
of details the library user don't really want to know much about.

Also, change domain open function to be part of public api, as
it is going to be used in ejsnet interface.

Note, this is work in progress. Comments are welcome.

rafal
(This used to be commit 1ed80c594c2f466e364a11194d6fdc30ac4a8f27)

16 years agor15624: add some useful helper functions
Stefan Metzmacher [Mon, 15 May 2006 14:38:04 +0000 (14:38 +0000)]
r15624: add some useful helper functions

metze
(This used to be commit 8fa6059100d1f6e235bacc722a83a961e460ebb2)

16 years agor15622: pass 'target:samba4=yes' to samba4's smbtorture when running samba4's make...
Stefan Metzmacher [Mon, 15 May 2006 13:12:01 +0000 (13:12 +0000)]
r15622: pass 'target:samba4=yes' to samba4's smbtorture when running samba4's make test

we can use this in samba4's smbtorture to disable tests sections which doesn't pass
against samba4

metze
(This used to be commit 430c7143c66846565e851a3243db0d81ec886d6e)

16 years agor15619: use source/version.h again
Stefan Metzmacher [Mon, 15 May 2006 13:03:44 +0000 (13:03 +0000)]
r15619: use source/version.h again

I have removed the old files from the unpacked area,
so we should not get any problems on the build farm

metze
(This used to be commit a54f9a4fa83afb66d95ee8488c6aa02f4d92d74b)

16 years agor15618: fix compiler warning
Stefan Metzmacher [Mon, 15 May 2006 12:50:47 +0000 (12:50 +0000)]
r15618: fix compiler warning

metze
(This used to be commit 43067e3691ef248c9552e9d2544701696dd1f4a9)

16 years agor15616: fix white spaces
Stefan Metzmacher [Mon, 15 May 2006 12:29:06 +0000 (12:29 +0000)]
r15616: fix white spaces

metze
(This used to be commit 0ff74d327bd0035494ca1b8194fd7f4bca82ed04)

16 years agor15615: - add some tests for cancel pending locks by SMBexit, SMBulogoff and SMBtdis
Stefan Metzmacher [Mon, 15 May 2006 12:25:03 +0000 (12:25 +0000)]
r15615: - add some tests for cancel pending locks by SMBexit, SMBulogoff and SMBtdis
- add some tests which demonstrate the LOCK_NOT_GRANTED vs. FILE_LOCK_CONFLICT
  error cases of failed locks

metze
(This used to be commit 218910f9270767a7316b344212ee305f74ac93ea)

16 years agor15614: the byte range locking error handling caches the last failed lock
Stefan Metzmacher [Mon, 15 May 2006 12:22:00 +0000 (12:22 +0000)]
r15614: the byte range locking error handling caches the last failed lock
per file handle and not per tree connect

metze
(This used to be commit 5d825261c0b8341f0a7f0f6d96d83807352566f4)

16 years agor15613: the snum doesn't identify the tcon, but the brl_context pointer does
Stefan Metzmacher [Mon, 15 May 2006 11:43:25 +0000 (11:43 +0000)]
r15613: the snum doesn't identify the tcon, but the brl_context pointer does

metze
(This used to be commit 5e256f4b78441269de2e53c9582f3237e4220f6c)

16 years agor15612: look at the lock_type and not at the notify_ptr being NULL or not
Stefan Metzmacher [Mon, 15 May 2006 10:45:38 +0000 (10:45 +0000)]
r15612: look at the lock_type and not at the notify_ptr being NULL or not

metze
(This used to be commit 7fa6d736913af2d1d2215ca1a04ed8763ccb3d45)

16 years agor15607: Fix readline summary reporting
Jelmer Vernooij [Mon, 15 May 2006 01:02:10 +0000 (01:02 +0000)]
r15607: Fix readline summary reporting
(This used to be commit 146c6d6e003a9ba0bfd0427b1db47fe5e746f8b1)

16 years agor15606: Fix another dependency
Jelmer Vernooij [Sun, 14 May 2006 23:19:00 +0000 (23:19 +0000)]
r15606: Fix another dependency
(This used to be commit 278ecee6adcd1d621b907ef6595daf4c5f8ebc4c)

16 years agor15605: Yet another dependencies fix
Jelmer Vernooij [Sun, 14 May 2006 23:07:35 +0000 (23:07 +0000)]
r15605: Yet another dependencies fix
(This used to be commit eef495a8efd8d5e8bcb42226b1885648774c5c76)

16 years agor15603: True isn't a valid parameter here, PVFS_WAIT_TIMEOUT is...
Stefan Metzmacher [Sun, 14 May 2006 20:33:04 +0000 (20:33 +0000)]
r15603: True isn't a valid parameter here, PVFS_WAIT_TIMEOUT is...
(both are '1')

metze
(This used to be commit de9d04abcceae7b1e21f521d0bb2fa5129c237b2)

16 years agor15602: Another dependency fix
Jelmer Vernooij [Sun, 14 May 2006 19:15:07 +0000 (19:15 +0000)]
r15602: Another dependency fix
(This used to be commit 5ef6b90faedd3dc4356c0da2ce8ceb388c673b39)

16 years agor15599: Fix more popt dependencies - these should be the last ones
Jelmer Vernooij [Sun, 14 May 2006 13:51:27 +0000 (13:51 +0000)]
r15599: Fix more popt dependencies - these should be the last ones
(This used to be commit b26e38cb62d6180e1896a6ab1cd291b0e7900afa)

16 years agor15598: Another dependency fix
Jelmer Vernooij [Sun, 14 May 2006 13:19:12 +0000 (13:19 +0000)]
r15598: Another dependency fix
(This used to be commit 1f6022b11231169fe14de28f5d1ce4d3cb23d626)

16 years agor15596: Fix another popt dependency issue
Jelmer Vernooij [Sun, 14 May 2006 11:43:33 +0000 (11:43 +0000)]
r15596: Fix another popt dependency issue
(This used to be commit 0f9406da20b414604b4bbfaa7f656d90521f4283)

16 years agor15595: Fix another broken dependency rlated to popt
Jelmer Vernooij [Sun, 14 May 2006 02:17:02 +0000 (02:17 +0000)]
r15595: Fix another broken dependency rlated to popt
(This used to be commit 5dfea7e4d7b4f02d93a94c71dd2cd41100bbcff8)

16 years agor15594: Remove another unused include
Jelmer Vernooij [Sun, 14 May 2006 00:35:13 +0000 (00:35 +0000)]
r15594: Remove another unused include
(This used to be commit 0c078988715744bb4cbdf210d8ac9d7782135737)

16 years agor15593: Warn about [out] arguments that are not pointers. These can all be
Jelmer Vernooij [Sun, 14 May 2006 00:22:24 +0000 (00:22 +0000)]
r15593: Warn about [out] arguments that are not pointers. These can all be
fixed by adding [ref] pointers.

This will cause a lot of warnings to be outputted by pidl for now. I will
fix these gradually over the next few days.

We need to avoid [out] arguments that are not pointers because they are
not understood by other IDL compilers and don't work with some of
our output modules (Samba3, Samba3NDR and ethereal)
(This used to be commit c4ab021ee8d93aa74f15deebf64a366b33b7bb9f)

16 years agor15592: Remove unused header
Jelmer Vernooij [Sun, 14 May 2006 00:07:03 +0000 (00:07 +0000)]
r15592: Remove unused header
(This used to be commit 7d3cbfb15768f95c7af6628eba578cae28ae2025)

16 years agor15591: Generate function calls correctly as well.
Jelmer Vernooij [Sat, 13 May 2006 23:58:16 +0000 (23:58 +0000)]
r15591: Generate function calls correctly as well.
(This used to be commit b0439779b8eba68680cfd49ea2364affc739300e)

16 years agor15590: Fix another include issue
Jelmer Vernooij [Sat, 13 May 2006 23:30:05 +0000 (23:30 +0000)]
r15590: Fix another include issue
(This used to be commit 4d5b046c83b40f8e6b3f9e243d012e05dd1969be)

16 years agor15588: Fix the build of smbtorture.
Rafal Szczesniak [Sat, 13 May 2006 22:17:58 +0000 (22:17 +0000)]
r15588: Fix the build of smbtorture.

rafal
(This used to be commit c4ff7aacfb97419448160af82f30f55fe8446c18)

16 years agor15587: Generate stubs for the SWIG functions
Jelmer Vernooij [Sat, 13 May 2006 22:03:44 +0000 (22:03 +0000)]
r15587: Generate stubs for the SWIG functions
(This used to be commit 746d0a7fa7a43685e6ebb4877bb5459101e51ed1)

16 years agor15586: Remove unused header
Jelmer Vernooij [Sat, 13 May 2006 21:39:01 +0000 (21:39 +0000)]
r15586: Remove unused header
(This used to be commit 1ca3612255565785488a6a091dd71d48f703d5e0)

16 years agor15585: Revive pidl's SWIG file generator. It now generates simple
Jelmer Vernooij [Sat, 13 May 2006 21:36:15 +0000 (21:36 +0000)]
r15585: Revive pidl's SWIG file generator. It now generates simple
object oriented wrappers for the interfaces (still need to fix
the actual function calls)
(This used to be commit bf5da20869eae29aea92386cbb13413b507fc55f)

16 years agor15584: List SWIG files as being updated when pidl runs
Jelmer Vernooij [Sat, 13 May 2006 21:31:04 +0000 (21:31 +0000)]
r15584: List SWIG files as being updated when pidl runs
(This used to be commit dcebba4ee8d38f6400f9d250141653e38ba9715e)

16 years agor15582: Commit some forgotten stuff that have been setting on my private tree fro...
Simo Sorce [Sat, 13 May 2006 21:08:37 +0000 (21:08 +0000)]
r15582: Commit some forgotten stuff that have been setting on my private tree fro long
(This used to be commit 7c050b541e98cd442a0c9ed0ddadb3e573cd1304)

16 years agor15581: Remove unused include
Jelmer Vernooij [Sat, 13 May 2006 21:03:47 +0000 (21:03 +0000)]
r15581: Remove unused include
(This used to be commit b79092d7ee0c463e644ead2bfeb9692fc82d9c74)

16 years agor15580: (Hopefully) fix pthreads process model
Jelmer Vernooij [Sat, 13 May 2006 20:47:10 +0000 (20:47 +0000)]
r15580: (Hopefully) fix pthreads process model
(This used to be commit 8d95bf14b93326b097884366a527753f8ad93d47)

16 years agor15578: Move some cpp-specific things from CFLAGS to CPPFLAGS
Jelmer Vernooij [Sat, 13 May 2006 20:04:44 +0000 (20:04 +0000)]
r15578: Move some cpp-specific things from CFLAGS to CPPFLAGS
Proper dependencies for POPT_SAMBA (fixes build when popt is in /usr/local)
(This used to be commit ed82490e5a074da56d0a96ee52f1d1832b824fe3)

16 years agor15577: Make popt CFLAGS popt-specific rather then global
Jelmer Vernooij [Sat, 13 May 2006 19:57:09 +0000 (19:57 +0000)]
r15577: Make popt CFLAGS popt-specific rather then global
(This used to be commit 87233041ff6df94069f0d76f90aba22e275f83be)

16 years agor15576: Separate out Samba4 bits a bit more
Jelmer Vernooij [Sat, 13 May 2006 19:56:06 +0000 (19:56 +0000)]
r15576: Separate out Samba4 bits a bit more
(This used to be commit 77a2eb406e2b108089d3621194f9b86328a3e774)

16 years agor15575: Fix getpass test
Jelmer Vernooij [Sat, 13 May 2006 19:25:04 +0000 (19:25 +0000)]
r15575: Fix getpass test
(This used to be commit 5205faf898ad70790e1b09bb394622d81a56a9b4)

16 years agor15574: Keep information about which scalar types are references in a
Jelmer Vernooij [Sat, 13 May 2006 19:15:31 +0000 (19:15 +0000)]
r15574: Keep information about which scalar types are references in a
separate data structure
(This used to be commit 0cb1906046c8e4ad105ad4a47740f94f30f5d6db)

16 years agor15573: Fix build of systems that have iconv headers in non-standard locations
Jelmer Vernooij [Sat, 13 May 2006 19:14:12 +0000 (19:14 +0000)]
r15573: Fix build of systems that have iconv headers in non-standard locations

Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
(This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)

16 years agor15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.
Jelmer Vernooij [Sat, 13 May 2006 18:12:53 +0000 (18:12 +0000)]
r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)

16 years agor15568: Simplify detection of iconv libraries a fair bit and fix it to
Jelmer Vernooij [Sat, 13 May 2006 17:13:46 +0000 (17:13 +0000)]
r15568: Simplify detection of iconv libraries a fair bit and fix it to
work on FreeBSD.

Based very loosely on a patch by Timur Bakevey

Fixes #3688
(This used to be commit ea7b28572b453da8eced565a49e4c10e7ebd2e28)

16 years agor15567: Add entry for iconv
Jelmer Vernooij [Sat, 13 May 2006 17:10:33 +0000 (17:10 +0000)]
r15567: Add entry for iconv
(This used to be commit 8d794e59119d4a306d1f6f87a821287ce6a4aa61)

16 years agor15565: Rename configure.in to configure.ac, which is the name preferred
Jelmer Vernooij [Sat, 13 May 2006 17:09:44 +0000 (17:09 +0000)]
r15565: Rename configure.in to configure.ac, which is the name preferred
by autoconf these days
(This used to be commit e0c178d297a978d3b4e942cc9d3d35127f898814)

16 years agor15564: Fix copyrights (this file was originally based on just a few lines from smb.h)
Jelmer Vernooij [Sat, 13 May 2006 12:57:14 +0000 (12:57 +0000)]
r15564: Fix copyrights (this file was originally based on just a few lines from smb.h)
(This used to be commit 045bd55dd992f054606ffacae1580afb817b1e33)

16 years agor15563: Fix for use with configurations where srcdir!=builddir (caught by Alexander)
Jelmer Vernooij [Sat, 13 May 2006 11:21:46 +0000 (11:21 +0000)]
r15563: Fix for use with configurations where srcdir!=builddir (caught by Alexander)
(This used to be commit 33388cbb452ed3b838f22a6aea469876342bb839)

16 years agor15551: Fix clash between config.pm and globally installed Config.pm on
Jelmer Vernooij [Fri, 12 May 2006 22:21:44 +0000 (22:21 +0000)]
r15551: Fix clash between config.pm and globally installed Config.pm on
case-insensitive filesystems. Patch by John Malmberg tweaked by me
(This used to be commit 58cc0b23eb1de818123b3b34278518e467f04f15)

16 years agor15538: Use pkg-config file where possible and
Jelmer Vernooij [Thu, 11 May 2006 21:21:36 +0000 (21:21 +0000)]
r15538: Use pkg-config file where possible and
only fall back to manual tests if that can't be found (for systems
that have older versions of gnutls without the .pc file installed)
(This used to be commit d77ea8f9072070f47b2b44676facaf66ed40fd17)

16 years agor15535: fix the build
Stefan Metzmacher [Thu, 11 May 2006 18:32:34 +0000 (18:32 +0000)]
r15535: fix the build

metze
(This used to be commit 297868325f305c652b14023a698099d5b358d70a)

16 years agor15533: with this vista does a fine SMB2 TreeConnect against samba4
Stefan Metzmacher [Thu, 11 May 2006 11:01:47 +0000 (11:01 +0000)]
r15533: with this vista does a fine SMB2 TreeConnect against samba4

metze
(This used to be commit 6c920d21a16e88040818cc8db6ebe918b5669a9b)

16 years agor15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
Stefan Metzmacher [Thu, 11 May 2006 10:47:37 +0000 (10:47 +0000)]
r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
(This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)

16 years agor15530: added testing of generic CLDAP requests, looking at the rootDSE. Jerry
Andrew Tridgell [Thu, 11 May 2006 02:57:41 +0000 (02:57 +0000)]
r15530: added testing of generic CLDAP requests, looking at the rootDSE. Jerry
has found that w2k3 does respond to rootDSE cldap requests. This test
shows that it does indeed work, but the expression handling is not
what you would expect
(This used to be commit 388e98e77cfd1603156ea431877e40ac886d9c08)

16 years agor15524: fix a problem with rpc faults from bind and alter context
Andrew Tridgell [Wed, 10 May 2006 05:57:20 +0000 (05:57 +0000)]
r15524: fix a problem with rpc faults from bind and alter context
requests. The fix involves using the same packet queue mechanism for
these requests as normal requests, which also simplifies the code
somewhat
(This used to be commit 2e7f5add13da3061d2f2e2869d10df06b3a98f40)

16 years agor15522: allow cifs:map_trans2 per share
Stefan Metzmacher [Tue, 9 May 2006 15:50:35 +0000 (15:50 +0000)]
r15522: allow cifs:map_trans2 per share

metze
(This used to be commit da82e2bc45c23cc46f3013b38078229755b4ea61)

16 years agor15521: Take an optional subsystem name to generate a dependency graph for
Jelmer Vernooij [Tue, 9 May 2006 09:41:40 +0000 (09:41 +0000)]
r15521: Take an optional subsystem name to generate a dependency graph for
just that subsystem
(This used to be commit 3fae92eef5d2f591dd40c4c07e20baa1c4a33211)

16 years agor15518: the 'password' option in POPT_COMMON_CREDENTIALS was conflicting with
Andrew Tridgell [Tue, 9 May 2006 03:50:32 +0000 (03:50 +0000)]
r15518: the 'password' option in POPT_COMMON_CREDENTIALS was conflicting with
the password option in newuser. Move the local options above the
global options to fix.
(This used to be commit 2adcd4ff4ec1ef867b91274d994c39e7c0fdaad2)

16 years agor15517: fixed the segv in provision. The problem was that SAMBA_VERSION_STRING
Andrew Tridgell [Tue, 9 May 2006 03:41:11 +0000 (03:41 +0000)]
r15517: fixed the segv in provision. The problem was that SAMBA_VERSION_STRING
was defined recursively as the mkversion.sh script was putting the new
version in the wrong spot
(This used to be commit 962afd362cd5612ef6b527b24c8f80c98eafe984)

16 years agor15515: Syncronsise with current lorikeet-heimdal.
Andrew Bartlett [Mon, 8 May 2006 23:30:40 +0000 (23:30 +0000)]
r15515: Syncronsise with current lorikeet-heimdal.

Andrew Bartlett
(This used to be commit 0132312124260f74001546a34ff96db89d72b7f6)

16 years agor15514: Fix include
Jelmer Vernooij [Mon, 8 May 2006 13:10:23 +0000 (13:10 +0000)]
r15514: Fix include
(This used to be commit 242f0f23b506cd441a63f26a8167af383477521f)

16 years agor15513: only run 'svn info' and 'svk info' once
Stefan Metzmacher [Mon, 8 May 2006 13:09:09 +0000 (13:09 +0000)]
r15513: only run 'svn info' and 'svk info' once

metze
(This used to be commit 82cd1de3fb061e0f02455be06506b5aed157b0e5)

16 years agor15512: Move uuid functions out of ndr_misc.c
Jelmer Vernooij [Mon, 8 May 2006 12:54:39 +0000 (12:54 +0000)]
r15512: Move uuid functions out of ndr_misc.c
(This used to be commit 54cc9f8ccf30a0f5de1d3bb68d15ec3a8791c162)

16 years agor15511: Using this name causes less warnings on the IBM checker, due to using
Andrew Bartlett [Mon, 8 May 2006 09:24:07 +0000 (09:24 +0000)]
r15511: Using this name causes less warnings on the IBM checker, due to using
the original, rather than equivilant, enum type.

Andrew Bartlett
(This used to be commit 3d43e458a828801a294e56a1aeb74a4d7cbf9f23)

16 years agor15510: As discussed on samba-technical, move the VERSION system back to a
Andrew Bartlett [Mon, 8 May 2006 08:27:22 +0000 (08:27 +0000)]
r15510: As discussed on samba-technical, move the VERSION system back to a
#define based system only.  This avoids allocation in the fault code.

Andrew Bartlett
(This used to be commit 31c97b4e67ba6a188d0ed4844ca4f2f86f29514f)

16 years agor15507: if we change the idl, we need to change the calling code too:-)
Stefan Metzmacher [Sun, 7 May 2006 21:56:26 +0000 (21:56 +0000)]
r15507: if we change the idl, we need to change the calling code too:-)

is it possible to run the RPC-UNIXINFO test in samba4's make test?

metze
(This used to be commit a00063eeb308dae8396e3b79ed5dd7884652f1ba)

16 years agor15505: - add 'generic' alias to smb_seek and smb_flush
Stefan Metzmacher [Sun, 7 May 2006 20:53:45 +0000 (20:53 +0000)]
r15505: - add 'generic' alias to smb_seek and smb_flush
- add struct ntvfs_handle pointer to smb_file, this will
  later be used by the ntvfs backends

metze
(This used to be commit 8322fc70adbb951ad72b97dfcc91467c1d906afe)

16 years agor15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my head
Andrew Bartlett [Sun, 7 May 2006 19:55:14 +0000 (19:55 +0000)]
r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my head
around the mess that is composite functions...

Async might be all the rage, but it's bloody painful to debug.

Andrew Bartlett
(This used to be commit 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)

16 years agor15503: I may shortly have to revert all of this, but be clearer about how we
Andrew Bartlett [Sun, 7 May 2006 19:36:06 +0000 (19:36 +0000)]
r15503: I may shortly have to revert all of this, but be clearer about how we
handle the NTLMSSP and wrong password fallbacks.

Andrew Bartlett
(This used to be commit dbf51ea985e0b300631e2070e91d4d901c784c44)

16 years agor15502: Typo fix.
Rafal Szczesniak [Sun, 7 May 2006 19:26:48 +0000 (19:26 +0000)]
r15502: Typo fix.

rafal
(This used to be commit f076041ff16cbc3f58d0d6244fc0857b34533dda)

16 years agor15501: Allow interactive password prompting on kerberos as well.
Andrew Bartlett [Sun, 7 May 2006 18:21:55 +0000 (18:21 +0000)]
r15501: Allow interactive password prompting on kerberos as well.

Andrew Bartlett
(This used to be commit 7003c3e8dee2d2bfc391875d90eb747616cb361a)

16 years agor15500: Add support for interactive prompting on bad passwords to the RPC libraries.
Andrew Bartlett [Sun, 7 May 2006 18:11:47 +0000 (18:11 +0000)]
r15500: Add support for interactive prompting on bad passwords to the RPC libraries.

This support requires that the bind_ack and alter_ack recv functions
also be send the DCE/RPC fault.  This would be best done by having the
ack run as a normal RPC reply callback, but this isn't easily possible
for now.

Andrew Bartlett
(This used to be commit be6dde22fe728d64d47875699d3421c6d8d872a4)

16 years agor15499: This test can't run if the remote server won't let us open a policy handle.
Andrew Bartlett [Sun, 7 May 2006 18:09:54 +0000 (18:09 +0000)]
r15499: This test can't run if the remote server won't let us open a policy handle.

Andrew Bartlett
(This used to be commit ca0ffb1218f3c2482b6b04463e627accd03d8cf9)

16 years agor15498: Initialise the callback_running field, and get the flag set/clear the
Andrew Bartlett [Sun, 7 May 2006 18:08:57 +0000 (18:08 +0000)]
r15498: Initialise the callback_running field, and get the flag set/clear the
right way around for all the callers.

Andrew Bartlett
(This used to be commit f9bcfb04aa3ec93eed7076dbb1fed50cf1edb424)

16 years agor15497: I'm not really sure this is correct in terms of how we should be responding to
Andrew Bartlett [Sun, 7 May 2006 17:55:20 +0000 (17:55 +0000)]
r15497: I'm not really sure this is correct in terms of how we should be responding to

krbtgt/MY.REALM@MY.REALM

TGS ticket requests, but for the moment, these are still marked as
'server' requests by the kerberos5.c caller.

Andrew Bartlett
(This used to be commit afaee0a6b7aba3db118e6529c341c9377bc26546)

16 years agor15491: Always initialise is_cfx (found by Valgrind)
Andrew Bartlett [Sun, 7 May 2006 15:02:27 +0000 (15:02 +0000)]
r15491: Always initialise is_cfx (found by Valgrind)

Always remember to free the crypto context (found by Luke Howard)
(This used to be commit 4b44355d42592f4acaae459c6ae09dd928f083b7)

16 years agor15490: Typo fixes and remove long forgotten commented piece.
Rafal Szczesniak [Sun, 7 May 2006 13:40:56 +0000 (13:40 +0000)]
r15490: Typo fixes and remove long forgotten commented piece.

rafal
(This used to be commit a2f6dc786031aa368b0398c21baf18cf82375c46)

16 years agor15489: Typo fixes.
Rafal Szczesniak [Sun, 7 May 2006 13:39:53 +0000 (13:39 +0000)]
r15489: Typo fixes.

rafal
(This used to be commit 221907fc0d0141c6c73f10f2dc829879205b9bcb)

16 years agor15488: This structure is not needed any longer.
Rafal Szczesniak [Sun, 7 May 2006 13:12:12 +0000 (13:12 +0000)]
r15488: This structure is not needed any longer.

rafal
(This used to be commit 45cd7bc4ec152c8623c134c6f33bcd3edbb1ff5e)

16 years agor15487: More comments and a few minor changes (not even fixes).
Rafal Szczesniak [Sun, 7 May 2006 12:51:53 +0000 (12:51 +0000)]
r15487: More comments and a few minor changes (not even fixes).

rafal
(This used to be commit 12d0faf9bc4c97b61879e8f7bb0419f4553bb340)

16 years agor15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested.
Andrew Bartlett [Sun, 7 May 2006 11:15:52 +0000 (11:15 +0000)]
r15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested.

This also tests that the server accepts the incorrect GSSAPI checksum,
and that we get the right session key.

Andrew Bartlett
(This used to be commit 888e2b7f4ec8e50869d323e51f191e018f8620ec)

16 years agor15485: This 'fake' GSSAPI doesn't do the extra SASL negotiation correctly, so
Andrew Bartlett [Sun, 7 May 2006 11:14:46 +0000 (11:14 +0000)]
r15485: This 'fake' GSSAPI doesn't do the extra SASL negotiation correctly, so
don't attribute the GSSAPI SASL mech to it.

Andrew Bartlett
(This used to be commit 23a4db28ed825bc8c45e5f704137a72386394f45)

16 years agor15484: Make accept_security_context() more compatible with how Samba3 (and
Andrew Bartlett [Sun, 7 May 2006 09:28:49 +0000 (09:28 +0000)]
r15484: Make accept_security_context() more compatible with how Samba3 (and
similarly built clients) behave.

This is better than just ignoring the checksum, if it isn't the GSSAPI
checksum.  (Samba4 clients in Samba3 mode use more than just the MD5
checksum, and will use a signed AES checksum if available.  Actual
samba3 may well do the same in future, against a suitable KDC).

Also a change for easier debugging of checksum issues.

Andrew Bartlett
(This used to be commit 120374f5f9e9af0653a26e0308e4bfdabbcaa3f3)

16 years agor15482: Don't shadow the global function pipe() with a local variable name.
Andrew Bartlett [Sun, 7 May 2006 05:35:52 +0000 (05:35 +0000)]
r15482: Don't shadow the global function pipe() with a local variable name.

Andrew Bartlett
(This used to be commit ed4ab63c2dd811d07594ba397ed22f9d02eeb63a)

16 years agor15481: Update heimdal/ to match current lorikeet-heimdal.
Andrew Bartlett [Sun, 7 May 2006 04:51:30 +0000 (04:51 +0000)]
r15481: Update heimdal/ to match current lorikeet-heimdal.

This includes many useful upstream changes, many of which should
reduce warnings in our compile.

It also includes a change to the HDB interface, which removes the need
for Samba4/lorikeet-heimdal to deviate from upstream for hdb_fetch().
The new flags replace the old entry type enum.

(This required the rework in hdb-ldb.c included in this commit)

Andrew Bartlett
(This used to be commit ef5604b87744c89e66e4d845f45b23563754ec05)

16 years agor15480: Patch from lha, to ensure we don't leave a free()'ed element in the
Andrew Bartlett [Sun, 7 May 2006 04:16:48 +0000 (04:16 +0000)]
r15480: Patch from lha, to ensure we don't leave a free()'ed element in the
principal on strdup failure.

Andrew Bartlett
(This used to be commit d72fafc1f0089212634fc1a77352b47970e82410)

16 years agor15474: Generate proper type declarations, fix headers
Jelmer Vernooij [Sat, 6 May 2006 16:19:29 +0000 (16:19 +0000)]
r15474: Generate proper type declarations, fix headers
(This used to be commit 1405f59d5501319c7d08861e19165e012c4bc3a9)

16 years agor15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code.
Jelmer Vernooij [Sat, 6 May 2006 11:44:00 +0000 (11:44 +0000)]
r15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code.
(This used to be commit a2bb0b6012b14787825a9cd5f33e2c0e989b65a7)

16 years agor15469: Fix unixinfo interface to use pointers for [out] parameters (required
Jelmer Vernooij [Sat, 6 May 2006 11:24:11 +0000 (11:24 +0000)]
r15469: Fix unixinfo interface to use pointers for [out] parameters (required
for generating Samba3-style client functions and midl)
(This used to be commit cc2961427fc649185847fffdf583b05305e6b473)

16 years agor15459: Add forgotten guid retrieval among other data and thus prevent
Rafal Szczesniak [Fri, 5 May 2006 13:57:17 +0000 (13:57 +0000)]
r15459: Add forgotten guid retrieval among other data and thus prevent
from returning uninitialised structure member. Thank heavens for build
farm and valgrind :)

rafal
(This used to be commit daca283990c7a8b6efc952c9308c43b68dd49f06)

16 years agor15458: Fix support for Windows XP-style registry files and support for large numbers...
Jelmer Vernooij [Fri, 5 May 2006 13:16:58 +0000 (13:16 +0000)]
r15458: Fix support for Windows XP-style registry files and support for large numbers of subkeys.

Patch by Wilco Baan Hofman <wilco@baanhofman.nl>
(This used to be commit 02859870d62b875eca5feff175c489a93fa7ad84)

16 years agor15457: Get rid of more usages of uint_t
Jelmer Vernooij [Fri, 5 May 2006 13:02:14 +0000 (13:02 +0000)]
r15457: Get rid of more usages of uint_t
(This used to be commit 849818dcdeb8eaf2eb22fea3896a4f7c777d8c5f)

16 years agor15456: Inspired by a short discussion with abartlet on IRC.
Rafal Szczesniak [Fri, 5 May 2006 09:52:12 +0000 (09:52 +0000)]
r15456: Inspired by a short discussion with abartlet on IRC.

- create "async" parameter for smbtorture to categorise async tests
  potentially hard for windows servers
- create "num-async" parameter to specify the number of simultaneous
  async requests to be made
- move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably
  do the same for many others async tests...)

It's an interesting way to determine resources availability on windows
servers...

rafal
(This used to be commit 0d008fbea0aec279d389cff676a4319262475d17)

16 years agor15440: Formatting.
Rafal Szczesniak [Thu, 4 May 2006 17:39:35 +0000 (17:39 +0000)]
r15440: Formatting.

rafal
(This used to be commit b4c378302bd56e7bbdce6a20b5623d8949d3ecef)

16 years agor15439: Reorder the code a bit to be like in other calls. More comments
Rafal Szczesniak [Thu, 4 May 2006 17:37:57 +0000 (17:37 +0000)]
r15439: Reorder the code a bit to be like in other calls. More comments
and comment-fixes.

rafal
(This used to be commit d35f1e07bed594dfae5421209c4318fe5e66a5aa)

16 years agor15437: Add generator that creates Samba3 client code which uses Samba4's NDR
Jelmer Vernooij [Thu, 4 May 2006 16:04:08 +0000 (16:04 +0000)]
r15437: Add generator that creates Samba3 client code which uses Samba4's NDR
routines.
(This used to be commit 538be4a6319b6f8235ed450740784104671ab0b5)

16 years agor15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
Rafal Szczesniak [Thu, 4 May 2006 14:54:31 +0000 (14:54 +0000)]
r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
(This used to be commit 76d965b0b04496ae959ba6f13d748c6dfb858591)

16 years agor15435: Turn libnet_RpcConnectDCInfo into another level of libnet_RpcConnect
Rafal Szczesniak [Thu, 4 May 2006 14:52:03 +0000 (14:52 +0000)]
r15435: Turn libnet_RpcConnectDCInfo into another level of libnet_RpcConnect
and make it async. Also, update any other usages of old function.
Build goes fine and so do tests, comments to follow.

rafal
(This used to be commit aef0a2de9d2f01a6f619e3fccc8715288f5c37a3)

16 years agor15433: Add a todo.
Andrew Bartlett [Thu, 4 May 2006 13:06:08 +0000 (13:06 +0000)]
r15433: Add a todo.

Andrew Bartlett
(This used to be commit 437ce4123761b65edebc9b9432515a62348f360b)

16 years agor15427: Rename private to private_data to prevent errors from C++ errors (which
Jelmer Vernooij [Thu, 4 May 2006 11:01:10 +0000 (11:01 +0000)]
r15427: Rename private to private_data to prevent errors from C++ errors (which
we care about in Samba3)
(This used to be commit eb07aea711a5e3606e169d77b208b03bd876c639)

16 years agor15426: Implement SPNEGO as the default RPC authentication mechanism. Where
Andrew Bartlett [Thu, 4 May 2006 10:03:41 +0000 (10:03 +0000)]
r15426: Implement SPNEGO as the default RPC authentication mechanism.  Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
(This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)

16 years agor15422: Fix issues with functions being called recursively in the credentials
Jelmer Vernooij [Wed, 3 May 2006 20:56:14 +0000 (20:56 +0000)]
r15422: Fix issues with functions being called recursively in the credentials
callback code.
(This used to be commit edf0701e877592695bd69124e528338c27f24efd)

16 years agor15421: Correct function comments.
Andrew Bartlett [Wed, 3 May 2006 20:31:24 +0000 (20:31 +0000)]
r15421: Correct function comments.

Andrew Bartlett
(This used to be commit f9899277898ee7ef1118cbc49f5f277623ff7444)

16 years agor15420: Add a new function to print a the 'unparsed' string format for usernames.
Andrew Bartlett [Wed, 3 May 2006 20:23:19 +0000 (20:23 +0000)]
r15420: Add a new function to print a the 'unparsed' string format for usernames.

This is used in the password prompt, and should be reversable by the
parse string function.

Also, don't look at the ccache, even for the guess code, if kerberos
is disabled.

Andrew Bartlett
(This used to be commit 4c4b8e4b396ca44270a0456c732d3b9c3c34d69d)