1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00
Commit Graph

8865 Commits

Author SHA1 Message Date
Jelmer Vernooij
58cc0b23eb r15551: Fix clash between config.pm and globally installed Config.pm on
case-insensitive filesystems. Patch by John Malmberg tweaked by me
2007-10-10 14:05:55 -05:00
Jelmer Vernooij
d77ea8f907 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)
2007-10-10 14:05:55 -05:00
Stefan Metzmacher
297868325f r15535: fix the build
metze
2007-10-10 14:05:55 -05:00
Stefan Metzmacher
6c920d21a1 r15533: with this vista does a fine SMB2 TreeConnect against samba4
metze
2007-10-10 14:05:54 -05:00
Stefan Metzmacher
7829100e1e r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
2007-10-10 14:05:54 -05:00
Andrew Tridgell
388e98e77c 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
2007-10-10 14:05:54 -05:00
Andrew Tridgell
2e7f5add13 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
2007-10-10 14:05:46 -05:00
Stefan Metzmacher
da82e2bc45 r15522: allow cifs:map_trans2 per share
metze
2007-10-10 14:05:46 -05:00
Jelmer Vernooij
3fae92eef5 r15521: Take an optional subsystem name to generate a dependency graph for
just that subsystem
2007-10-10 14:05:45 -05:00
Andrew Tridgell
2adcd4ff4e 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.
2007-10-10 14:05:45 -05:00
Andrew Tridgell
962afd362c 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
2007-10-10 14:05:45 -05:00
Andrew Bartlett
0132312124 r15515: Syncronsise with current lorikeet-heimdal.
Andrew Bartlett
2007-10-10 14:05:45 -05:00
Jelmer Vernooij
242f0f23b5 r15514: Fix include 2007-10-10 14:05:44 -05:00
Stefan Metzmacher
82cd1de3fb r15513: only run 'svn info' and 'svk info' once
metze
2007-10-10 14:05:44 -05:00
Jelmer Vernooij
54cc9f8ccf r15512: Move uuid functions out of ndr_misc.c 2007-10-10 14:05:44 -05:00
Andrew Bartlett
3d43e458a8 r15511: Using this name causes less warnings on the IBM checker, due to using
the original, rather than equivilant, enum type.

Andrew Bartlett
2007-10-10 14:05:44 -05:00
Andrew Bartlett
31c97b4e67 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
2007-10-10 14:05:44 -05:00
Stefan Metzmacher
a00063eeb3 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
2007-10-10 14:05:43 -05:00
Stefan Metzmacher
8322fc70ad 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
2007-10-10 14:05:43 -05:00
Andrew Bartlett
756e1dad7c 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
2007-10-10 14:05:43 -05:00
Andrew Bartlett
dbf51ea985 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
2007-10-10 14:05:43 -05:00
Rafal Szczesniak
f076041ff1 r15502: Typo fix.
rafal
2007-10-10 14:05:43 -05:00
Andrew Bartlett
7003c3e8de r15501: Allow interactive password prompting on kerberos as well.
Andrew Bartlett
2007-10-10 14:05:42 -05:00
Andrew Bartlett
be6dde22fe 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
2007-10-10 14:05:42 -05:00
Andrew Bartlett
ca0ffb1218 r15499: This test can't run if the remote server won't let us open a policy handle.
Andrew Bartlett
2007-10-10 14:05:42 -05:00
Andrew Bartlett
f9bcfb04aa r15498: Initialise the callback_running field, and get the flag set/clear the
right way around for all the callers.

Andrew Bartlett
2007-10-10 14:05:42 -05:00
Andrew Bartlett
afaee0a6b7 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
2007-10-10 14:05:42 -05:00
Andrew Bartlett
4b44355d42 r15491: Always initialise is_cfx (found by Valgrind)
Always remember to free the crypto context (found by Luke Howard)
2007-10-10 14:05:41 -05:00
Rafal Szczesniak
a2f6dc7860 r15490: Typo fixes and remove long forgotten commented piece.
rafal
2007-10-10 14:05:41 -05:00
Rafal Szczesniak
221907fc0d r15489: Typo fixes.
rafal
2007-10-10 14:05:41 -05:00
Rafal Szczesniak
45cd7bc4ec r15488: This structure is not needed any longer.
rafal
2007-10-10 14:05:40 -05:00
Rafal Szczesniak
12d0faf9bc r15487: More comments and a few minor changes (not even fixes).
rafal
2007-10-10 14:05:40 -05:00
Andrew Bartlett
888e2b7f4e 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
2007-10-10 14:05:40 -05:00
Andrew Bartlett
23a4db28ed r15485: This 'fake' GSSAPI doesn't do the extra SASL negotiation correctly, so
don't attribute the GSSAPI SASL mech to it.

Andrew Bartlett
2007-10-10 14:05:40 -05:00
Andrew Bartlett
120374f5f9 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
2007-10-10 14:05:39 -05:00
Andrew Bartlett
ed4ab63c2d r15482: Don't shadow the global function pipe() with a local variable name.
Andrew Bartlett
2007-10-10 14:05:39 -05:00
Andrew Bartlett
ef5604b877 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
2007-10-10 14:05:39 -05:00
Andrew Bartlett
d72fafc1f0 r15480: Patch from lha, to ensure we don't leave a free()'ed element in the
principal on strdup failure.

Andrew Bartlett
2007-10-10 14:05:39 -05:00
Jelmer Vernooij
1405f59d55 r15474: Generate proper type declarations, fix headers 2007-10-10 14:05:38 -05:00
Jelmer Vernooij
a2bb0b6012 r15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code. 2007-10-10 14:05:38 -05:00
Jelmer Vernooij
cc2961427f r15469: Fix unixinfo interface to use pointers for [out] parameters (required
for generating Samba3-style client functions and midl)
2007-10-10 14:05:38 -05:00
Rafal Szczesniak
daca283990 r15459: Add forgotten guid retrieval among other data and thus prevent
from returning uninitialised structure member. Thank heavens for build
farm and valgrind :)

rafal
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
02859870d6 r15458: Fix support for Windows XP-style registry files and support for large numbers of subkeys.
Patch by Wilco Baan Hofman <wilco@baanhofman.nl>
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
849818dcde r15457: Get rid of more usages of uint_t 2007-10-10 14:05:37 -05:00
Rafal Szczesniak
0d008fbea0 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
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
b4c378302b r15440: Formatting.
rafal
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
d35f1e07be r15439: Reorder the code a bit to be like in other calls. More comments
and comment-fixes.

rafal
2007-10-10 14:05:37 -05:00
Jelmer Vernooij
538be4a631 r15437: Add generator that creates Samba3 client code which uses Samba4's NDR
routines.
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
76d965b0b0 r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
2007-10-10 14:05:36 -05:00
Rafal Szczesniak
aef0a2de9d 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
2007-10-10 14:05:36 -05:00