1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

9095 Commits

Author SHA1 Message Date
Stefan Metzmacher
2a8925ad25 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 a00063eeb3)
2007-10-10 14:05:43 -05:00
Stefan Metzmacher
c3958aa231 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 8322fc70ad)
2007-10-10 14:05:43 -05:00
Andrew Bartlett
7f0a396e3b 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 756e1dad7c)
2007-10-10 14:05:43 -05:00
Andrew Bartlett
e9c7016699 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 dbf51ea985)
2007-10-10 14:05:43 -05:00
Rafal Szczesniak
bbc6e216bd r15502: Typo fix.
rafal
(This used to be commit f076041ff1)
2007-10-10 14:05:43 -05:00
Andrew Bartlett
8792ff810d r15501: Allow interactive password prompting on kerberos as well.
Andrew Bartlett
(This used to be commit 7003c3e8de)
2007-10-10 14:05:42 -05:00
Andrew Bartlett
5f36534629 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 be6dde22fe)
2007-10-10 14:05:42 -05:00
Andrew Bartlett
ceb1d66172 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 ca0ffb1218)
2007-10-10 14:05:42 -05:00
Andrew Bartlett
bfbc269d0d 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 f9bcfb04aa)
2007-10-10 14:05:42 -05:00
Andrew Bartlett
490d6120a9 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 afaee0a6b7)
2007-10-10 14:05:42 -05:00
Andrew Bartlett
e9237f96ef r15491: Always initialise is_cfx (found by Valgrind)
Always remember to free the crypto context (found by Luke Howard)
(This used to be commit 4b44355d42)
2007-10-10 14:05:41 -05:00
Rafal Szczesniak
ece95aad3d r15490: Typo fixes and remove long forgotten commented piece.
rafal
(This used to be commit a2f6dc7860)
2007-10-10 14:05:41 -05:00
Rafal Szczesniak
4010a61fd8 r15489: Typo fixes.
rafal
(This used to be commit 221907fc0d)
2007-10-10 14:05:41 -05:00
Rafal Szczesniak
f8f231da25 r15488: This structure is not needed any longer.
rafal
(This used to be commit 45cd7bc4ec)
2007-10-10 14:05:40 -05:00
Rafal Szczesniak
4d8aaf5f1c r15487: More comments and a few minor changes (not even fixes).
rafal
(This used to be commit 12d0faf9bc)
2007-10-10 14:05:40 -05:00
Andrew Bartlett
985e70189e 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 888e2b7f4e)
2007-10-10 14:05:40 -05:00
Andrew Bartlett
44c36af9b6 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 23a4db28ed)
2007-10-10 14:05:40 -05:00
Andrew Bartlett
1ec7132b30 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 120374f5f9)
2007-10-10 14:05:39 -05:00
Andrew Bartlett
07767825b7 r15482: Don't shadow the global function pipe() with a local variable name.
Andrew Bartlett
(This used to be commit ed4ab63c2d)
2007-10-10 14:05:39 -05:00
Andrew Bartlett
835926c879 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 ef5604b877)
2007-10-10 14:05:39 -05:00
Andrew Bartlett
7a0b65efce 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 d72fafc1f0)
2007-10-10 14:05:39 -05:00
Jelmer Vernooij
55969efea3 r15474: Generate proper type declarations, fix headers
(This used to be commit 1405f59d55)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
a3f2ed12b9 r15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code.
(This used to be commit a2bb0b6012)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
ce8dad9396 r15469: Fix unixinfo interface to use pointers for [out] parameters (required
for generating Samba3-style client functions and midl)
(This used to be commit cc2961427f)
2007-10-10 14:05:38 -05:00
Rafal Szczesniak
eff21e317e 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 daca283990)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
bd90da5b60 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 02859870d6)
2007-10-10 14:05:38 -05:00
Jelmer Vernooij
b56789c349 r15457: Get rid of more usages of uint_t
(This used to be commit 849818dcde)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
9604b161ad 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 0d008fbea0)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
b2154e79b1 r15440: Formatting.
rafal
(This used to be commit b4c378302b)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
ccf5696b97 r15439: Reorder the code a bit to be like in other calls. More comments
and comment-fixes.

rafal
(This used to be commit d35f1e07be)
2007-10-10 14:05:37 -05:00
Jelmer Vernooij
e81fd2e119 r15437: Add generator that creates Samba3 client code which uses Samba4's NDR
routines.
(This used to be commit 538be4a631)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
a3898df957 r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
(This used to be commit 76d965b0b0)
2007-10-10 14:05:36 -05:00
Rafal Szczesniak
538adbf677 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 aef0a2de9d)
2007-10-10 14:05:36 -05:00
Andrew Bartlett
209edfb807 r15433: Add a todo.
Andrew Bartlett
(This used to be commit 437ce41237)
2007-10-10 14:05:36 -05:00
Jelmer Vernooij
2420b38336 r15427: Rename private to private_data to prevent errors from C++ errors (which
we care about in Samba3)
(This used to be commit eb07aea711)
2007-10-10 14:05:36 -05:00
Andrew Bartlett
5f4d86f955 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 b3212d1fb9)
2007-10-10 14:05:36 -05:00
Jelmer Vernooij
086c9cc5f4 r15422: Fix issues with functions being called recursively in the credentials
callback code.
(This used to be commit edf0701e87)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
b2f8c9b82d r15421: Correct function comments.
Andrew Bartlett
(This used to be commit f989927789)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
1789976c17 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 4c4b8e4b39)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
5d689a5de2 r15416: Point out that this doesn't work, but for servers this old, I just
don't care...

Andrew Bartlett
(This used to be commit 8abe7ba619)
2007-10-10 14:05:35 -05:00
Andrew Bartlett
ed752c8004 r15415: Use Jelmer's new credentials 'wrong password' code to give the user 3
attempts for the password, when talking to a remote CIFS server.

Andrew Bartlett
(This used to be commit 3a4ddc8f59)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
557c98bd5f r15414: Support retrying different username/password combinations
(This used to be commit 5de894fb8b)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
bec9dad294 r15413: Disable gwsvcctl on hosts without gtk
(This used to be commit 95cca6a881)
2007-10-10 14:05:34 -05:00
Rafal Szczesniak
5adcc59265 r15412: Put the test in a dangerous category.
rafal
(This used to be commit 52b4ef14a0)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
0bcfa67f0e r15410: Fix segfaults
(This used to be commit e8de80afb9)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
38efc3e0d5 r15409: Start working on GTK+ tool for services management
(This used to be commit 5be3627cc6)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
86a2f18b96 r15408: Fix some small bugs in the GTK+ tools
Add utility function for connection to an interface
(This used to be commit 266f747220)
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
37aa2c5e8f r15407: Get rid of some more uint_t
(This used to be commit 897329c253)
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
72a5cbadc1 r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
not available on some platforms but is a Samba-specific library.
(This used to be commit e9d3660fa6)
2007-10-10 14:05:33 -05:00
Stefan Metzmacher
9177f9cf09 r15405: remove define for STAT_ST_BLOCKSIZE
as it's not used anywhere and it doesn't belong to check_ld.m4

metze
(This used to be commit 86a9b17b3a)
2007-10-10 14:05:33 -05:00