1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

8877 Commits

Author SHA1 Message Date
Jelmer Vernooij
b8b01cd970 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)
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
b7d574cf86 r15577: Make popt CFLAGS popt-specific rather then global
(This used to be commit 87233041ff6df94069f0d76f90aba22e275f83be)
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
c65d2f9b1b r15576: Separate out Samba4 bits a bit more
(This used to be commit 77a2eb406e2b108089d3621194f9b86328a3e774)
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
7403d50358 r15575: Fix getpass test
(This used to be commit 5205faf898ad70790e1b09bb394622d81a56a9b4)
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
664459a41f r15574: Keep information about which scalar types are references in a
separate data structure
(This used to be commit 0cb1906046c8e4ad105ad4a47740f94f30f5d6db)
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
172a83d724 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)
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
53f005f6aa r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
089cbd4a8e 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)
2007-10-10 14:05:57 -05:00
Jelmer Vernooij
8afca7791c r15567: Add entry for iconv
(This used to be commit 8d794e59119d4a306d1f6f87a821287ce6a4aa61)
2007-10-10 14:05:56 -05:00
Jelmer Vernooij
a3e5a7e91d r15565: Rename configure.in to configure.ac, which is the name preferred
by autoconf these days
(This used to be commit e0c178d297a978d3b4e942cc9d3d35127f898814)
2007-10-10 14:05:56 -05:00
Jelmer Vernooij
962039a81c r15564: Fix copyrights (this file was originally based on just a few lines from smb.h)
(This used to be commit 045bd55dd992f054606ffacae1580afb817b1e33)
2007-10-10 14:05:56 -05:00
Jelmer Vernooij
543d398a46 r15563: Fix for use with configurations where srcdir!=builddir (caught by Alexander)
(This used to be commit 33388cbb452ed3b838f22a6aea469876342bb839)
2007-10-10 14:05:55 -05:00
Jelmer Vernooij
4ff9e1c761 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)
2007-10-10 14:05:55 -05:00
Jelmer Vernooij
36a64c56b4 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)
2007-10-10 14:05:55 -05:00
Stefan Metzmacher
5761c59ef7 r15535: fix the build
metze
(This used to be commit 297868325f305c652b14023a698099d5b358d70a)
2007-10-10 14:05:55 -05:00
Stefan Metzmacher
bd6dd99eb9 r15533: with this vista does a fine SMB2 TreeConnect against samba4
metze
(This used to be commit 6c920d21a16e88040818cc8db6ebe918b5669a9b)
2007-10-10 14:05:54 -05:00
Stefan Metzmacher
dc86ab3e45 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)
2007-10-10 14:05:54 -05:00
Andrew Tridgell
cf83b29b58 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)
2007-10-10 14:05:54 -05:00
Andrew Tridgell
428873fd70 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)
2007-10-10 14:05:46 -05:00
Stefan Metzmacher
3590835ee6 r15522: allow cifs:map_trans2 per share
metze
(This used to be commit da82e2bc45c23cc46f3013b38078229755b4ea61)
2007-10-10 14:05:46 -05:00
Jelmer Vernooij
2895f28c4c r15521: Take an optional subsystem name to generate a dependency graph for
just that subsystem
(This used to be commit 3fae92eef5d2f591dd40c4c07e20baa1c4a33211)
2007-10-10 14:05:45 -05:00
Andrew Tridgell
5196640c2c 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)
2007-10-10 14:05:45 -05:00
Andrew Tridgell
7947d4c425 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)
2007-10-10 14:05:45 -05:00
Andrew Bartlett
bfff6b0e64 r15515: Syncronsise with current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit 0132312124260f74001546a34ff96db89d72b7f6)
2007-10-10 14:05:45 -05:00
Jelmer Vernooij
d4b8cb0bb5 r15514: Fix include
(This used to be commit 242f0f23b506cd441a63f26a8167af383477521f)
2007-10-10 14:05:44 -05:00
Stefan Metzmacher
713f241edc r15513: only run 'svn info' and 'svk info' once
metze
(This used to be commit 82cd1de3fb061e0f02455be06506b5aed157b0e5)
2007-10-10 14:05:44 -05:00
Jelmer Vernooij
3cd705a65f r15512: Move uuid functions out of ndr_misc.c
(This used to be commit 54cc9f8ccf30a0f5de1d3bb68d15ec3a8791c162)
2007-10-10 14:05:44 -05:00
Andrew Bartlett
c07db9b462 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)
2007-10-10 14:05:44 -05:00
Andrew Bartlett
721270ebad 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)
2007-10-10 14:05:44 -05:00
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 a00063eeb308dae8396e3b79ed5dd7884652f1ba)
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 8322fc70adbb951ad72b97dfcc91467c1d906afe)
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 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)
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 dbf51ea985e0b300631e2070e91d4d901c784c44)
2007-10-10 14:05:43 -05:00
Rafal Szczesniak
bbc6e216bd r15502: Typo fix.
rafal
(This used to be commit f076041ff16cbc3f58d0d6244fc0857b34533dda)
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 7003c3e8dee2d2bfc391875d90eb747616cb361a)
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 be6dde22fe728d64d47875699d3421c6d8d872a4)
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 ca0ffb1218f3c2482b6b04463e627accd03d8cf9)
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 f9bcfb04aa3ec93eed7076dbb1fed50cf1edb424)
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 afaee0a6b7aba3db118e6529c341c9377bc26546)
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 4b44355d42592f4acaae459c6ae09dd928f083b7)
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 a2f6dc786031aa368b0398c21baf18cf82375c46)
2007-10-10 14:05:41 -05:00
Rafal Szczesniak
4010a61fd8 r15489: Typo fixes.
rafal
(This used to be commit 221907fc0d0141c6c73f10f2dc829879205b9bcb)
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 45cd7bc4ec152c8623c134c6f33bcd3edbb1ff5e)
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 12d0faf9bc4c97b61879e8f7bb0419f4553bb340)
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 888e2b7f4ec8e50869d323e51f191e018f8620ec)
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 23a4db28ed825bc8c45e5f704137a72386394f45)
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 120374f5f9e9af0653a26e0308e4bfdabbcaa3f3)
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 ed4ab63c2dd811d07594ba397ed22f9d02eeb63a)
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 ef5604b87744c89e66e4d845f45b23563754ec05)
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 d72fafc1f0089212634fc1a77352b47970e82410)
2007-10-10 14:05:39 -05:00