1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/heimdal/kdc
Andrew Bartlett 9c6b7f2d62 r11995: A big kerberos-related update.
This merges Samba4 up to current lorikeet-heimdal, which includes a
replacement for some Samba-specific hacks.

In particular, the credentials system now supplies GSS client and
server credentials.  These are imported into GSS with
gss_krb5_import_creds().  Unfortunetly this can't take an MEMORY
keytab, so we now create a FILE based keytab as provision and join
time.

Because the keytab is now created in advance, we don't spend .4s at
negprot doing sha1 s2k calls.  Also, because the keytab is read in
real time, any change in the server key will be correctly picked up by
the the krb5 code.

To mark entries in the secrets which should be exported to a keytab,
there is a new kerberosSecret objectClass.  The new routine
cli_credentials_update_all_keytabs() searches for these, and updates
the keytabs.

This is called in the provision.js via the ejs wrapper
credentials_update_all_keytabs().

We can now (in theory) use a system-provided /etc/krb5.keytab, if

krb5Keytab: FILE:/etc/krb5.keytab

is added to the secrets.ldb record.  By default the attribute

privateKeytab: secrets.keytab

is set, pointing to allow the whole private directory to be moved
without breaking the internal links.
(This used to be commit 6b75573df4)
2007-10-10 13:46:56 -05:00
..
524.c r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00
default_config.c r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00
headers.h r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00
kaserver.c r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00
kdc_locl.h r11536: Add a hook for client-principal access control to hdb-ldb, re-using 2007-10-10 13:45:50 -05:00
kdc-protos.h r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00
kdc.h r11294: Update Heimdal in Samba4 to lorikeet-heimdal (which is in turn updated 2007-10-10 13:45:15 -05:00
kerberos4.c r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00
kerberos5.c r11995: A big kerberos-related update. 2007-10-10 13:46:56 -05:00
log.c r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00
misc.c r11536: Add a hook for client-principal access control to hdb-ldb, re-using 2007-10-10 13:45:50 -05:00
pkinit.c r11294: Update Heimdal in Samba4 to lorikeet-heimdal (which is in turn updated 2007-10-10 13:45:15 -05:00
process.c r9413: Bring Samba4 back up to date with lorikeet-heimdal. 2007-10-10 13:33:35 -05:00
rx.h r8302: import mini HEIMDAL into the tree 2007-10-10 13:19:33 -05:00