1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/setup
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
..
display_specifiers.ldif r11499: added a minimal set of display specifiers for mmc to use to display 2007-10-10 13:45:45 -05:00
hklm.ldif r9951: Add another value to the default HKLM. 2007-10-10 13:36:24 -05:00
newuser r11113: fixed two small bugs in newuser 2007-10-10 13:44:52 -05:00
provision r10190: Do some very basic input checking when provisioning. 2007-10-10 13:38:06 -05:00
provision_init.ldif r11954: add the static rootdse content to the sam ldb,and enable the rootdse 2007-10-10 13:46:50 -05:00
provision_templates.ldif r8790: Finish the migration of aliases and privilages with SamSync, by adding 2007-10-10 13:30:05 -05:00
provision_users.ldif r11990: Set the password set time as 'now', so it isn't expired back in 2004. 2007-10-10 13:46:55 -05:00
provision.ldif r11496: add a minimal ads-compatible schema into our sam.ldb setup. This is 2007-10-10 13:45:45 -05:00
provision.smb.conf r10314: Apply the controvertial 'server role =' patch after discussion on the list: 2007-10-10 13:38:16 -05:00
provision.zone r11208: Add DNS entries for finding the kpasswd server to the default zone. 2007-10-10 13:45:02 -05:00
schema.ldif r11496: add a minimal ads-compatible schema into our sam.ldb setup. This is 2007-10-10 13:45:45 -05:00
secrets.ldif r11995: A big kerberos-related update. 2007-10-10 13:46:56 -05:00
upgrade r11087: - add type,name,scope as attributes to winsRecords, 2007-10-10 13:44:46 -05:00