mirror of
https://github.com/samba-team/samba.git
synced 2025-02-11 17:58:16 +03:00
Clean up non-krb5 breakages from my modifications to luke howard's patch.
Andrew Bartlett
This commit is contained in:
parent
059ac2d839
commit
32fd0c4900
@ -1239,6 +1239,7 @@ krb5_const_principal get_principal_from_tkt(krb5_ticket *tkt);
|
||||
krb5_error_code krb5_locate_kdc(krb5_context ctx, const krb5_data *realm, struct sockaddr **addr_pp, int *naddrs, int get_masters);
|
||||
krb5_error_code get_kerberos_allowed_etypes(krb5_context context, krb5_enctype **enctypes);
|
||||
void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes);
|
||||
BOOL krb5_get_smb_session_key(krb5_context context, krb5_auth_context auth_context, uint8 session_key[16]);
|
||||
#endif /* HAVE_KRB5 */
|
||||
|
||||
#endif /* _INCLUDES_H */
|
||||
|
@ -365,7 +365,7 @@ failed:
|
||||
return data_blob(NULL, 0);
|
||||
}
|
||||
|
||||
BOOL krb5_get_smb_session_key(krb5_context context, krb5_auth_context auth_context, uint8 session_key[16])
|
||||
BOOL krb5_get_smb_session_key(krb5_context context, krb5_auth_context auth_context, uint8 session_key[16])
|
||||
{
|
||||
krb5_keyblock *skey;
|
||||
BOOL ret = False;
|
||||
@ -394,10 +394,4 @@ DATA_BLOB krb5_get_ticket(const char *principal, time_t time_offset)
|
||||
return data_blob(NULL, 0);
|
||||
}
|
||||
|
||||
BOOL krb5_get_smb_session_key(krb5_context context, krb5_auth_context ac, uint8 session_key[16])
|
||||
{
|
||||
DEBUG(0,("NO KERBEROS SUPPORT\n"));
|
||||
memset(session_key, 0, 16);
|
||||
return False;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user