summaryrefslogtreecommitdiff
path: root/source4/heimdal
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23895: reapply rev 23493:Stefan Metzmacher1-27/+6
regenerate lex.c files with flex 2.5.33 this makes sure we include config.h as first header hopefully fixes the build on SerNet-aix abartlet: please don't revert that again with your next heimdal merge...:-) metze (This used to be commit 8da4e9a9ac0fb09a7b84de87e1671a8689e20fcb)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell4-12/+4
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
2007-10-10r23678: Update to current lorikeet-heimdal (-r 767), which should fix theAndrew Bartlett66-884/+2166
panics on hosts without /dev/random. Andrew Bartlett (This used to be commit 14a4ddb131993fec72316f7e8e371638749e6f1f)
2007-10-10r23493: regenerate lex.c files with flex 2.5.33Stefan Metzmacher2-54/+12
this makes sure we include config.h as first header hopefully fixes the build on SerNet-aix metze (This used to be commit 0149226ece306af4a65c27ce3fff2988232f4523)
2007-10-10r23456: Update Samba4 to current lorikeet-heimdal.Andrew Bartlett449-2876/+8568
Andrew Bartlett (This used to be commit ae0f81ab235c72cceb120bcdeb051a483cf3cc4f)
2007-10-10r23209: import getnameinfo.c, inet_ntop.c and inet_pton.c fromStefan Metzmacher3-0/+309
loikeet-heimdal metze (This used to be commit 48eb20199e7a01f4ab7f5194a5256ad7dd03ad86)
2007-10-10r23060: use #include <roken.h> consistently. Using "roken.h" in this directoryAndrew Tridgell18-18/+18
breaks Samba builds on some systems as they find the wrong roken.h (This used to be commit 59cd26b664af5edebc979d2bc746bf9621333130)
2007-10-10r22191: Add a samba4kinit binary to the build, so I can test using an existingAndrew Bartlett4-0/+1273
ccache, as well as PKINIT. Andrew Bartlett (This used to be commit 440b8d9e4b09d5e8c943504ade85c17f752fe705)
2007-10-10r21746: We don't link in this file any more.Andrew Bartlett1-359/+0
(This used to be commit 123ae858c77c2507bdac6a93be1e2932a3fd7375)
2007-10-10r21620: commit updated versions (with correct paths)Andrew Tridgell4-858/+1206
(This used to be commit 2694bfb143eeb78a9a0b121dbc6a3e0a908ca06c)
2007-10-10r21448: return the same error codes as a windows KDCStefan Metzmacher1-3/+3
metze (This used to be commit e4d69b83dcee2f50e95690d84f95d9e69acf858e)
2007-10-10r21447: make handling of replying e_data more genericStefan Metzmacher1-18/+12
love: please merge this metze (This used to be commit 3e4ff2de9c57170d275adf54ffa00ac81253a714)
2007-10-10r21439: fix compiler warningsStefan Metzmacher1-6/+6
metze (This used to be commit ac347d7aa588574f6a18229083569608327874d8)
2007-10-10r21438: create the PAC element in the same order as w2k3,Stefan Metzmacher1-7/+7
maybe there's some broken code in windows which relies on this... love: can you merge this to heimdal? metze (This used to be commit b64abf9113a939308dc9e92ff7ddaad7be6ab551)
2007-10-10r21436: Choose the TGT session key enctype also by checking what enctypesStefan Metzmacher1-4/+20
the krbtgt hdb entry provides. We need to make sure other KDC's with the same hdb backend data can accept the TGT. (w2k and w2k3 don't support aes256-cts-hmac-sha1-96 (18) session keys.) Love: I'm not sure if this is the correct way of doing it... metze (This used to be commit 5840f50d8954e95a7071a90a1c4dcce9ae05d77c)
2007-10-10r20988: Call out to Heimdal's krb5.conf processing to configure many aspectsAndrew Bartlett3-4/+685
of KDC behaviour. This should allow PKINIT to be turned on and managed with reasonable sanity. This also means that the krb5.conf in the same directory as the smb.conf will always have priority in Samba4, which I think will be useful. Andrew Bartlett (This used to be commit a50bbde81b010bc5d06e3fc3417ade44627eb771)
2007-10-10r20786: Fix the build.Jelmer Vernooij1-586/+776
(This used to be commit 42bb335bd50a5070ee59c9d9748db8a9e9d6a9b0)
2007-10-10r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell1-778/+587
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20648: Closer to a build... Add missing header file.Andrew Bartlett1-0/+434
(This used to be commit a4051a2d6537a536266ce7562cd6b833528dd263)
2007-10-10r20647: add cluster codeAndrew Tridgell1-587/+778
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10r20643: Remove generated files accidentilly committed.Andrew Bartlett4-223/+0
Andrew Bartlett (This used to be commit 12953ee765de1beeab547cb30ab292b77501d9c9)
2007-10-10r20642: This bit of autoconf causes us pain. Revert back to how we had thingsAndrew Bartlett1-1/+0
before the last merge. Andrew Bartlett (This used to be commit 9e7124cc85ec9ed8291769689aa38ab14b3754d8)
2007-10-10r20640: Commit part 2/2Andrew Bartlett176-2843/+30855
Update Heimdal to match current lorikeet-heimdal. This includes integrated PAC hooks, so Samba doesn't have to handle this any more. This also brings in the PKINIT code, hence so many new files. Andrew Bartlett (This used to be commit 351f7040f7bb73b9a60b22b564686f7c2f98a729)
2007-10-10r20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller ↵Stefan Metzmacher1-2/+5
requested it! this is needed to create plain, singed or sealed LDAP connections. this should go into lorikeet and main heimdal... metze (This used to be commit 75c037cae21714e394a63f2506387e1049eb4406)
2007-10-10r19681: Update to current lorikeet-heimdal. I'm looking at using the realmAndrew Bartlett19-137/+978
lookup plugin, the new PAC validation code as well as Heimdal's SPNEGO implementation. Andrew Bartlett (This used to be commit 05421f45ed7811697ea491e26c9d991a7faa1a64)
2007-10-10r19663: merge changes from lorikeet heimdal:Stefan Metzmacher1-22/+52
support for netbios domain based realms metze (This used to be commit dcec6eebf1b474ae3055449efebf491b1106a458)
2007-10-10r19650: Allow Samba to use Heimdal's SPNEGO code. Currently this can onlyAndrew Bartlett2-5/+4
negotiate krb5, but if this works, I'll add NTLM as a GSSAPI backend by some means or other. Andrew Bartlett (This used to be commit 476452e143f61a3878a3646864729daaddccdf68)
2007-10-10r19644: Merge up to current lorikeet-heimdal, incling addingAndrew Bartlett10-73/+181
gsskrb5_set_default_realm(), which should fix mimir's issues. Andrew Bartlett (This used to be commit 8117e76d2adee163925a29df872015ff5021a1d3)
2007-10-10r19633: Merge to lorikeet-heimdal, removing krb5_rd_req_return_keyblock in ↵Andrew Bartlett19-224/+508
favour of a more tasteful replacement. Remove kerberos_verify.c, as we don't need that code any more. Replace with code for using the new krb5_rd_req_ctx() borrowed from Heimdal's accecpt_sec_context.c Andrew Bartlett (This used to be commit 13c9df1d4f0517468c80040d3756310d4dcbdd50)
2007-10-10r19632: This got missed in the heimdal merge. Without this, we don't keep theAndrew Bartlett1-1/+1
full database name. The existing code (needed for when we use the HDB as a keytab, such as for the kpasswd service) only works for HDB keytabs not prefixed with a type. Andrew Bartlett (This used to be commit 12dc157daea4a20200f910d8e71c49670e35ef50)
2007-10-10r19616: the heimdal spnego mech doesn't seem to use roken.h and isn't portableStefan Metzmacher1-0/+2
(it doesn't compile on suse 10.1 because gethostname() isn't found, unistd.h isn't included...) as we don't need the spnego mech, disable it till it gets fixed in heimdal metze (This used to be commit 0a52e11a9c34281c9ea284e007086b2ae6fce6c7)
2007-10-10r19615: include roken.h.in as this still includes the ifdef's we need in samba4Stefan Metzmacher2-276/+706
this should fix the portability of samba4 metze (This used to be commit 497543a17eaea16c3c7f379ed238e573427e28da)
2007-10-10r19613: remove diff between samba4 and lorikeetStefan Metzmacher1-0/+2
metze (This used to be commit bec1783c4c8ebba76c5467982c96e823491ce023)
2007-10-10r19612: fix the build with auto dependenciesStefan Metzmacher1-3/+0
the samba4 heimdal copy should do not need to use socket_wrapper metze (This used to be commit 704fe739406fb5eae38f4be9602b77be5ea1dff1)
2007-10-10r19606: Remove generated filesAndrew Bartlett3-463/+0
Andrew Bartlett (This used to be commit 7b7e1fe15358d9ed1893305fbf8a1010293ed772)
2007-10-10r19604: This is a massive commit, and I appologise in advance for it's size.Andrew Bartlett245-10617/+25407
This merges Samba4 with lorikeet-heimdal, which itself has been tracking Heimdal CVS for the past couple of weeks. This is such a big change because Heimdal reorganised it's internal structures, with the mechglue merge, and because many of our 'wishes' have been granted: we now have DCE_STYLE GSSAPI, send_to_kdc hooks and many other features merged into the mainline code. We have adapted to upstream's choice of API in these cases. In gensec_gssapi and gensec_krb5, we either expect a valid PAC, or NO PAC. This matches windows behavour. We also have an option to require the PAC to be present (which allows us to automate the testing of this code). This also includes a restructure of how the kerberos dependencies are handled, due to the fallout of the merge. Andrew Bartlett (This used to be commit 4826f1735197c2a471d771495e6d4c1051b4c471)
2007-10-10r19325: leak fix from lhaAndrew Tridgell1-1/+4
(This used to be commit 248f3265e6339f279691be5d17ca4ce733c6590d)
2007-10-10r18826: Allow 'enterprise' principal names to log in.Andrew Bartlett8-25/+43
These principals do not need to be in the same realm as the rest of the ticket, the full principal name is in the first componet of the ASN.1. Samba4's backend will handle getting this to the 'right' place. Andrew Bartlett (This used to be commit 90b01b8af21609e2e5c8b6bd8cab8bd393844acf)
2007-10-10r18528: work around what appears to be a compiler bug in gcc on irix. ItAndrew Tridgell1-1/+1
caused the RPC-SECRETS test to crash smbd in an inlined version of this memcmp() call. This patch should have absolutely no effect at all, but in fact it prevents the crash. Disassembling at the point of the crash, it shows that gcc is inlining the memcmp(). I don't know enough MIPS assembler to actually spot the bug. In case anyone reading this does know MIPS assembler, here is the gcc generated code that crashes: 0x105e0218 <gssapi_krb5_verify_header+168>: lw $t1,52($sp) 0x105e021c <gssapi_krb5_verify_header+172>: lw $t1,0($t1) 0x105e0220 <gssapi_krb5_verify_header+176>: lhu $t1,0($t1) 0x105e0224 <gssapi_krb5_verify_header+180>: lw $t2,68($sp) 0x105e0228 <gssapi_krb5_verify_header+184>: lhu $t2,0($t2) 0x105e022c <gssapi_krb5_verify_header+188>: subu $t1,$t1,$t2 it gets a segv at 0x105e0220. lha, what do you think of this? The change should be innocuous on all other platforms, apart from making the code harder to read :( (This used to be commit 95455b57893c99d6d2dc20c4f75042ae4c1cfe85)
2007-10-10r18322: fixed a compilation problem on AIX caused by lex not putting config.hAndrew Tridgell2-1/+3
first. That leads to a conflicting define for lseek() due to _LARGE_FILES being defined after standards headers are included (This used to be commit 9034238e27f22a7077df9fa0d7c83cce4503aabc)
2007-10-10r18308: get this right ....Andrew Tridgell1-1/+1
(This used to be commit 3697cd6597875fe22f6885ce20612a32d0be2513)
2007-10-10r18300: fixed a type bug in heimdal - lha, you happy with this upstream? ItAndrew Tridgell1-1/+1
showed up on ia_64 systems (This used to be commit 1f38a7ea56944466d90622832e4570dc324adc4e)
2007-10-10r18204: darn, compilers always look in the directory the source is in forAndrew Tridgell18-18/+18
headers with "" even with a -I override. That means our heimdal_build/ roken override doesn't work. Switching to <> style includes in roken fixes this. lha, would be be acceptable upstream? I notice that half your includes of roken.h are with <> now anyway, so should be harmless (and even more consistent!) (This used to be commit 92742b899941687c861a85683ad2c2c6a3083fb6)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij2-578/+777
* libreplace can now build stand-alone * add stub testsuite for libreplace * make talloc/tdb/ldb use libreplace (This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10r17986: Add a copy of the Heimdal licence to our source tree, to make it veryAndrew Bartlett1-0/+45
clear what the conditions on this code are, and that the terms are GPL compatible. Andrew Bartlett (This used to be commit 99ce2ecf396837caa812acf279f5156c50818373)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-587/+777
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r16235: Don't update minor_status when cleaning up on error. This restoresAndrew Bartlett1-2/+2
sensible log messages to gensec_gssapi. Andrew Bartlett (This used to be commit df2e4f061f3bc82930dfcdbb75b775939ae8832e)
2007-10-10r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for ↵Gerald Carter6-8/+8
correct grammar (This used to be commit 26a2fa97e4c819e630bc9b50e11c8d5328c7b8c8)
2007-10-10r16056: Fix errors found by trying to use our kpasswd server and the Apple ↵Andrew Bartlett1-1/+1
client. Andrew Bartlett (This used to be commit ae2913898c983dcba69b5d0b89c428e450e9bf5f)
2007-10-10r16000: - use uint16_t instead of u_int16_tStefan Metzmacher1-5/+6
- use int32_t for seq_number both changes let us use the types which the main heimdal code uses metze (This used to be commit ecff7b70aadb9ac27731a5b44aa20b49ac82321a)