mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
Try to fix the build on hosts that HAVE_LDAP but don't HAVE_KRB5.
Michael (This used to be commit 829de79051cd1d1cc67c4c40fdc8e08c44450a09)
This commit is contained in:
parent
c0c299cb26
commit
1c4466cedc
@ -1072,9 +1072,12 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
|
||||
return WERR_GENERAL_FAILURE;
|
||||
}
|
||||
|
||||
#ifdef HAVE_KRB5
|
||||
if (!libnet_join_derive_salting_principal(mem_ctx, r)) {
|
||||
return WERR_GENERAL_FAILURE;
|
||||
}
|
||||
#endif /* HAVE_KRB5 */
|
||||
|
||||
#endif /* HAVE_LDAP */
|
||||
if (!libnet_join_create_keytab(mem_ctx, r)) {
|
||||
libnet_join_set_error_string(mem_ctx, r,
|
||||
|
Loading…
x
Reference in New Issue
Block a user