summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/kerberos.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-24 14:17:58 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-24 15:07:56 +1000
commitc9b19d9b696d8528e59eade89695c60a40461ec9 (patch)
tree92b084758f58190e0c4b4a04ecdadba96c6bb84d /source4/auth/kerberos/kerberos.h
parentd8814b1a48adaf1f428c7119b97c87b69123e6fa (diff)
downloadsamba-c9b19d9b696d8528e59eade89695c60a40461ec9.tar.gz
samba-c9b19d9b696d8528e59eade89695c60a40461ec9.tar.bz2
samba-c9b19d9b696d8528e59eade89695c60a40461ec9.zip
s4-kerberos Rework keytab handling to export servicePrincipalName entries
This creates keytab entries with all the servicePrincipalNames listed in the secrets.ldb entry. Andrew Bartlett
Diffstat (limited to 'source4/auth/kerberos/kerberos.h')
-rw-r--r--source4/auth/kerberos/kerberos.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h
index 091242dc82..94de096543 100644
--- a/source4/auth/kerberos/kerberos.h
+++ b/source4/auth/kerberos/kerberos.h
@@ -147,10 +147,12 @@ struct ldb_context;
uint32_t kerberos_enctype_to_bitmap(krb5_enctype enc_type_enum);
/* Translate between the Microsoft msDS-SupportedEncryptionTypes values and the IETF encryption type values */
krb5_enctype kerberos_enctype_bitmap_to_enctype(uint32_t enctype_bitmap);
-krb5_error_code smb_krb5_update_keytab(struct smb_krb5_context *smb_krb5_context,
+krb5_error_code smb_krb5_update_keytab(TALLOC_CTX *parent_ctx,
+ struct smb_krb5_context *smb_krb5_context,
struct ldb_context *ldb,
struct ldb_message *msg,
- bool delete_all_kvno);
+ bool delete_all_kvno,
+ const char **error_string);
#include "auth/kerberos/proto.h"