diff options
author | Günther Deschner <gd@samba.org> | 2014-09-29 16:01:25 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2014-10-08 18:18:49 +0200 |
commit | 1b27b73c6056b8ba1a7192f7a42c7638af445565 (patch) | |
tree | a68a0821f94cda8182d932557408c73531d66854 | |
parent | 4237138c464d7e2046de43b431ab9796f80182db (diff) | |
download | samba-1b27b73c6056b8ba1a7192f7a42c7638af445565.tar.gz samba-1b27b73c6056b8ba1a7192f7a42c7638af445565.tar.xz samba-1b27b73c6056b8ba1a7192f7a42c7638af445565.zip |
s3-net: display full value of "msDS-SupportedEncryptionTypes".
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Oct 8 18:18:50 CEST 2014 on sn-devel-104
-rw-r--r-- | source3/utils/net_ads.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 5f18bf4401..e96377f8fa 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -2916,11 +2916,10 @@ static int net_ads_enctype_lookup_account(struct net_context *c, static void net_ads_enctype_dump_enctypes(const char *username, const char *enctype_str) { - int enctypes; + int enctypes = atoi(enctype_str); - d_printf(_("'%s' uses \"msDS-SupportedEncryptionTypes\":\n"), username); - - enctypes = atoi(enctype_str); + d_printf(_("'%s' uses \"msDS-SupportedEncryptionTypes\": %d (0x%08x)\n"), + username, enctypes, enctypes); printf("[%s] 0x%08x DES-CBC-CRC\n", enctypes & ENC_CRC32 ? "X" : " ", |