git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c299c
)
Try to fix the build on hosts that HAVE_LDAP but don't HAVE_KRB5.
author
Michael Adam
<obnox@samba.org>
Wed, 9 Jan 2008 22:15:56 +0000
(23:15 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Jan 2008 22:15:56 +0000
(23:15 +0100)
Michael
(This used to be commit
829de79051cd1d1cc67c4c40fdc8e08c44450a09
)
source3/libnet/libnet_join.c
patch
|
blob
|
history
diff --git
a/source3/libnet/libnet_join.c
b/source3/libnet/libnet_join.c
index 1bb2a8295960950aaf181047f69c4d0b14b15c6e..8e6d91b38b10e7b8ab671ba41470af5033bdfc51 100644
(file)
--- a/
source3/libnet/libnet_join.c
+++ b/
source3/libnet/libnet_join.c
@@
-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,