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

6341 Commits

Author SHA1 Message Date
Stefan Metzmacher
a302b79a37 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 f3e0bf022f)
2007-10-10 13:37:51 -05:00
Stefan Metzmacher
2f72d3a0dd r10076: this macro was moved to build/m4/smb_cc_featues.m4
metze
(This used to be commit cd444bd6f0)
2007-10-10 13:37:51 -05:00
Stefan Metzmacher
477c8ba583 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 89149c06c9)
2007-10-10 13:37:50 -05:00
Jelmer Vernooij
c070fd6222 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 9c9ebd2214)
2007-10-10 13:37:50 -05:00
Andrew Bartlett
6a74a83151 r10072: Fix mismerge weridness in error handling.
Andrew Bartlett
(This used to be commit c17926b6fe)
2007-10-10 13:36:34 -05:00
James Peach
e6190e6be5 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 82fab8b747)
2007-10-10 13:36:34 -05:00
Andrew Bartlett
1f2f470889 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 a3aba57c00)
2007-10-10 13:36:33 -05:00
Jelmer Vernooij
db400b4a58 r10052: Add 'print' command
(This used to be commit d99c9e2817)
2007-10-10 13:36:33 -05:00
Tim Potter
622b75f4dc 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 b62811afcb)
2007-10-10 13:36:33 -05:00
Tim Potter
e817e44bfe 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 42568d3f28)
2007-10-10 13:36:33 -05:00
Tim Potter
10a160ac2d r10046: Don't generate any ethereal dissectors for security.idl
(This used to be commit 5b8b956887)
2007-10-10 13:36:33 -05:00
Andrew Bartlett
1da54ac07c r10045: metze reminded me to use the correct enum entry, rather than 0 for the
return here.

Andrew Bartlett
(This used to be commit 73bd6c7534)
2007-10-10 13:36:32 -05:00
Andrew Bartlett
9b8b2bb094 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 330f351085)
2007-10-10 13:36:32 -05:00
Jelmer Vernooij
e3a1ee4788 r10043: Only recompile subsystems that actually need recompilation
(This used to be commit de98309797)
2007-10-10 13:36:32 -05:00
Jelmer Vernooij
46ca543e19 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 72bb84add4)
2007-10-10 13:36:32 -05:00
Jelmer Vernooij
3ca370b3db r10038: Update instructions on using gcov with ldb
(This used to be commit 8d246fac49)
2007-10-10 13:36:32 -05:00
Andrew Bartlett
6b14ffe271 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 506a7b67ae)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
a514877341 r10032: Add tdr generated files to clean target
(This used to be commit c1e9fb24e1)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
a3e0e69196 r10030: Add hierarchical memory allocation to TDR's pull functions
(This used to be commit 0e358de93a)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
a487b6c19c 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 499d03bc90)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
f4910eff48 r10027: Use blob length for keeping track of buffer length, add TODO
(This used to be commit a924bec84b)
2007-10-10 13:36:31 -05:00
Jelmer Vernooij
ff7342a4ad 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 47cecd4726)
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
4729c3db26 r10025: Add some utility functions for storing/loading tdr encoded data
(This used to be commit bcd433bfc1)
2007-10-10 13:36:30 -05:00
Andrew Bartlett
52d9dbe75c r10022: Merge tpot's fix for IRIX and AIX_rea build problems from lorikeet-heimdal
to Samba4.

Andrew Bartlett
(This used to be commit 6835e42790)
2007-10-10 13:36:30 -05:00
Andrew Bartlett
370f5b9563 r10021: More kerberos notes.
(This used to be commit f36e657a41)
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
23e6e07b28 r10020: Support for malloc / realloc / free in HBIN blocks
Initial support for adding keys (still broken though)
(This used to be commit ff8d3a27c1)
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
16788f27a8 r10019: Only return NT_STATUS_NO_MEMORY if the alloc failed..
(This used to be commit ea92959209)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
eac7fe4ebc r10016: Support reading security descriptors on keys.
(This used to be commit b349e902c7)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
40cbd4625a r10015: Change the NT4 registry backend to use the IDL-generate parse functions.
(This used to be commit 0ad46ef804)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
c5fbb78244 r10014: Support ?, : and = in attribute arguments.
(This used to be commit 6a549f3558)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
6a2c9e729f r10013: Support zero-sized strings.
(This used to be commit cf3be71c33)
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
e9b5bf90e6 r10010: Support base_type() attribute
(This used to be commit c0bae9b0b5)
2007-10-10 13:36:28 -05:00
Jelmer Vernooij
102a6ec95b r10009: Fix bug in uint8 parsing functions
(This used to be commit abb0db1218)
2007-10-10 13:36:28 -05:00
Jelmer Vernooij
02b3abec25 r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.
Fix handling of REG_DWORD in the LDB backend.
Fix a couple of warnings
(This used to be commit 709fdc7ebf)
2007-10-10 13:36:28 -05:00
Jelmer Vernooij
0eea337a6f r10006: Insert correct header file.
(This used to be commit dfa45ec1b3)
2007-10-10 13:36:28 -05:00
Tim Potter
1da463cb48 r10000: Congratulations to me for getting the 10,000th commit.
(This used to be commit d5c12a02af)
2007-10-10 13:36:28 -05:00
Jelmer Vernooij
201fd3bd72 r9995: Add file describing the REGF file format in IDL.
(used in reg_backend_nt4.c rewrite)
(This used to be commit 5e1a16eda2)
2007-10-10 13:36:27 -05:00
Tim Potter
58a74c723d r9994: Unused variable.
(This used to be commit ce4902f8de)
2007-10-10 13:36:27 -05:00
Tim Potter
7f66d5ce25 r9993: Gcc is fussy about the lack of parentheses around assignment statements.
(This used to be commit 908ba89259)
2007-10-10 13:36:27 -05:00
Tim Potter
3caab0a64d r9992: More fixes from the 64-bit warning police.
(This used to be commit cda829f0d9)
2007-10-10 13:36:27 -05:00
Tim Potter
48c945034c r9991: Some more 64-bit size_t warnings. There are a few more but they are
too hard to fix right now.  (-:
(This used to be commit a64b813ff7)
2007-10-10 13:36:27 -05:00
Tim Potter
ed4913d45d r9990: Fix some 64-bit size_t warnings.
(This used to be commit dd148451d7)
2007-10-10 13:36:26 -05:00
Tim Potter
40d70b92e0 r9984: Honour the NOEMIT conformance directive for entire IDL files.
(This used to be commit 73dffade2c)
2007-10-10 13:36:26 -05:00
Tim Potter
563be66ccb r9983: Make the NOEMIT conformance directive with no argument mean do not
emit any dissectors for this IDL.
(This used to be commit 55a98b3dfd)
2007-10-10 13:36:26 -05:00
Tim Potter
7a81e529dc r9982: Strip prefixes off the check for noemit in the conformance info so you
can use the typedef names in the IDL rather than the autogenerated
function names.  This means you can say "NOEMIT security_descriptor"
instead of "NOEMIT dissect_security_descriptor_type" or whatever.
(This used to be commit ec80c5ceec)
2007-10-10 13:36:26 -05:00
Tim Potter
5d2d627cde r9980: Fix some warnings.
(This used to be commit 716011dd92)
2007-10-10 13:36:26 -05:00
Jelmer Vernooij
52d995feb0 r9959: Fix bug where data offset was incorrect after parsing element with
[charset]
(This used to be commit b17478229e)
2007-10-10 13:36:25 -05:00
Jelmer Vernooij
c70405cd72 r9957: Switch to using DATA_BLOBs internally in TDR
(This used to be commit 351149d160)
2007-10-10 13:36:25 -05:00
Stefan Metzmacher
550eac8ea6 r9954: getntacl depends on EXT_LIB_XATTR
(maybe we need to disable this binary when EXT_LIB_XATTR isn't enabled)

metze
(This used to be commit 0e5cac10cb)
2007-10-10 13:36:25 -05:00
Jelmer Vernooij
aae4b1a951 r9951: Add another value to the default HKLM.
Convert Samba3 policy "refuse machine pw change" to registry value.
(This used to be commit a143234ac7)
2007-10-10 13:36:24 -05:00