diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-23 17:02:31 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-24 09:25:44 +1000 |
commit | e823cb8cacd9301609314ed52d2b51856294e58c (patch) | |
tree | b4da78b69e49ef988cb332b24c36cf299342de25 /source4 | |
parent | f03913e2ccfcd75a9d569a5b6e9152b091e0014f (diff) | |
download | samba-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')
-rw-r--r-- | source4/libnet/libnet_join.c | 7 |
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); |