[Pkg-samba-maint] Bug#566977: samba-common-bin: 'net ads join' fails against, Windows 2003 domain with 'Program lacks support for encryption type'

Steve Langasek vorlon at debian.org
Wed Jan 27 11:33:59 UTC 2010


reopen 566977
thanks

On Wed, Jan 27, 2010 at 09:30:15AM +0100, Renzo Bagnati wrote:
> As I reported in launchpad for ubuntu
> (https://bugs.launchpad.net/ubuntu/+source/samba/+bug/512459),
> adding allow_weak_crypto = true to krb5.conf does not solve the
> problem for me:

> # net ads join -U Administrator
> Enter Administrator's password:
> Using short domain name -- LAB
> Joined 'VML-AMB' to realm 'mydomain.it'
> [2010/01/26 17:06:10, 0] libads/kerberos.c:332(ads_kinit_password)
>   kerberos_kinit_password VML-AMB$@MYDOMAIN.IT failed:
> Preauthentication failed

Yes, it appears I jumped the gun with the bug closure, sorry.  Reopening,
for further analysis.

> [2010/01/26 17:02:38, 1] libsmb/clikrb5.c:848(cli_krb5_get_ticket)
>   cli_krb5_get_ticket: krb5_set_default_tgs_ktypes failed (Program
> lacks support for encryption type)

This corresponds to:

        krb5_enctype enc_types[] = {
#ifdef ENCTYPE_ARCFOUR_HMAC
                ENCTYPE_ARCFOUR_HMAC,
#endif 
                ENCTYPE_DES_CBC_MD5, 
                ENCTYPE_DES_CBC_CRC, 
                ENCTYPE_NULL};

[...]

        if ((retval = krb5_set_default_tgs_ktypes(context, enc_types))) {

So one or more of these types is not enabled by the new 'allow_weak_crypto'
option?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100127/19db3fbc/attachment.pgp>


More information about the Pkg-samba-maint mailing list