s4:kdc Push context to hdb_samba4 by way of the 'name' of the DB
authorAndrew Bartlett <abartlet@samba.org>
Mon, 27 Jul 2009 06:09:25 +0000 (16:09 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Jul 2009 12:41:42 +0000 (22:41 +1000)
commit56f4516399431cc508ca0c3e0dd7f179cc7ab62c
tree917157ee7f661927edd5535a5ed939d8bfe6a928
parentb50ab318c1c66aaffd68c01b19140d0221c3e9c1
s4:kdc Push context to hdb_samba4 by way of the 'name' of the DB

This overloads the 'name' part of the keytab name to supply a context
pointer, and so avoids 3 global variables!

To do this, we had to stop putting the entry for kpasswd into the
secrets.ldb.  (I don't consider this a big loss, and any entry left
there by an upgrade will be harmless).

Andrew Bartlett
source4/kdc/hdb-samba4.c
source4/kdc/hdb-samba4.h
source4/kdc/kdc.c
source4/kdc/kdc.h
source4/kdc/kpasswdd.c
source4/setup/secrets_dc.ldif