summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-23 17:02:31 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-24 09:25:44 +1000
commite823cb8cacd9301609314ed52d2b51856294e58c (patch)
treeb4da78b69e49ef988cb332b24c36cf299342de25 /source4/libnet
parentf03913e2ccfcd75a9d569a5b6e9152b091e0014f (diff)
downloadsamba-e823cb8cacd9301609314ed52d2b51856294e58c.tar.gz
samba-e823cb8cacd9301609314ed52d2b51856294e58c.tar.bz2
samba-e823cb8cacd9301609314ed52d2b51856294e58c.zip
s4-libnet_join Use header constant for 'all encryption types' in msDS-SupportedEncryptionTypes
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_join.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index dd533355ad..7992670eec 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -34,6 +34,8 @@
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "param/param.h"
#include "param/provision.h"
+#include "system/kerberos.h"
+#include "auth/kerberos/kerberos.h"
/*
* complete a domain join, when joining to a AD domain:
@@ -333,10 +335,7 @@ static NTSTATUS libnet_JoinADSDomain(struct libnet_context *ctx, struct libnet_J
rtn = ldb_msg_add_fmt(msg, "msDS-SupportedEncryptionTypes",
"%lu",
- (long unsigned int)(ENC_CRC32 | ENC_RSA_MD5 |
- ENC_RC4_HMAC_MD5 |
- ENC_HMAC_SHA1_96_AES128 |
- ENC_HMAC_SHA1_96_AES256));
+ (long unsigned int)(ENC_ALL_TYPES));
if (rtn != LDB_SUCCESS) {
r->out.error_string = NULL;
talloc_free(tmp_ctx);