Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
cannot get msktutil
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Simon Dwyer  
View profile  
 More options Apr 4 2012, 5:36 pm
Newsgroups: comp.protocols.kerberos
From: Simon Dwyer <m...@simmyd.net>
Date: Thu, 05 Apr 2012 07:36:08 +1000
Local: Wed, Apr 4 2012 5:36 pm
Subject: cannot get msktutil
Hi All,

I have been banging my head against this for a few weeks now.

I am trying to use squid with kerberos and so i need to get my machine
into the Active Directory domain.

My config follows: http://pastebin.com/PNTwGKLf

The output for when i run msktutil: http://pastebin.com/aQQavMJd

This is a fresh install of centos 6.2 with a self compiled version of
krb 1.10.1 .

I can change passwords with the kpassword command.

I can upload the tcpdump to cloudshark if this would help.

Cheers,

Simon Dwyer


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Dwyer  
View profile  
 More options Apr 4 2012, 7:56 pm
Newsgroups: comp.protocols.kerberos
From: Simon Dwyer <m...@simmyd.net>
Date: Thu, 05 Apr 2012 09:56:44 +1000
Local: Wed, Apr 4 2012 7:56 pm
Subject: Re: cannot get msktutil
With great help from ktdreyer in the irc channel i have sorted out the
problem.

It seems that centos 6 has the a version 1.9.22 which is broken for TGT
referrals that AD hands out.  I was compiling mstutil to 1.9.22 instead
of 1.10.1 by accident

git patch 1c885dbaab63c29ffcf4d455a75f3ba26ca1fd1a fixes this and when
applied to the srpm resolves the issue.

I will be working on getting it logged to redhat when i have a chance
next week.

Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Douglas E. Engert  
View profile  
 More options Apr 5 2012, 10:20 am
Newsgroups: comp.protocols.kerberos
From: "Douglas E. Engert" <deeng...@anl.gov>
Date: Thu, 05 Apr 2012 09:20:58 -0500
Local: Thurs, Apr 5 2012 10:20 am
Subject: Re: cannot get msktutil

On 4/4/2012 4:36 PM, Simon Dwyer wrote:

> Hi All,

> I have been banging my head against this for a few weeks now.

> I am trying to use squid with kerberos and so i need to get my machine
> into the Active Directory domain.

> My config follows: http://pastebin.com/PNTwGKLf

> The output for when i run msktutil: http://pastebin.com/aQQavMJd

It looks like it can not change the password in AD.
Error: krb5_set_password_using_ccache failed (Cannot contact any KDC for requested realm)

Did dn=cn=ns1,CN=COMPUTERS,dc=EXAMPLE,dc=INTERNAL get added to AD?
if not, does asdw...@EXAMPLE.INTERNAL have admin writes in AD to create computer accounts?

Try adding in krb5.conf [libdefaults]
   udp_preference_limit = 1
This will force TCP. AD tickets are always large.

Change in krb5,.conf:
   admin_server = dc-hbt-01.example.internal
to
  admin_server = dc-hbt-01.example.internal:749

(Make sure it can find the password change service.)

Other thing:
  Are both dc-hbt-01.example.internal and dc-hbt-02.example.internal running?

If none of the above help, Wireshark trace (i.e. tcpdump) might help.

This is most likely not your problem, but do you need DES?
I see the krb5.conf has allow_weak_crypto = true.
  ldap_set_supportedEncryptionTypes: DEE dn=cn=ns1,CN=COMPUTERS,dc=EXAMPLE,dc=INTERNAL old=7 new=28
will set msDS_supportedEncryptionTypes to use RC4 and AES-128 and AES-256
The msktutil --enctypes option can over ride this.

http://msdn.microsoft.com/en-us/library/cc223853(v=prot.10).aspx

--

  Douglas E. Engert  <DEEng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Dreyer  
View profile  
 More options Apr 5 2012, 11:35 am
Newsgroups: comp.protocols.kerberos
From: Ken Dreyer <ktdre...@ktdreyer.com>
Date: Thu, 5 Apr 2012 09:35:37 -0600
Local: Thurs, Apr 5 2012 11:35 am
Subject: Re: cannot get msktutil
On Thu, Apr 5, 2012 at 8:20 AM, Douglas E. Engert <deeng...@anl.gov> wrote:

> On 4/4/2012 4:36 PM, Simon Dwyer wrote:
>> Hi All,

>> I have been banging my head against this for a few weeks now.

>> I am trying to use squid with kerberos and so i need to get my machine
>> into the Active Directory domain.

>> My config follows: http://pastebin.com/PNTwGKLf

>> The output for when i run msktutil: http://pastebin.com/aQQavMJd

> It looks like it can not change the password in AD.
> Error: krb5_set_password_using_ccache failed (Cannot contact any KDC for requested realm)

The error text is sort of misleading. There was a bug in MIT Kerberos
1.9 that causes this function to fail in certain AD scenarios. The
client sends a TGS-REQ is for "kadmin/changepw", but AD responds with
a TGT. It's fixed by
https://github.com/krb5/krb5-anonsvn/commit/1c885dbaab63c29ffcf4d455a...,
but this patch is not in RHEL 6.2's kerberos libraries.

If you have a support contract with Red Hat and you are experiencing
this issue in your environment, I encourage you to file a support
request with them to get this patch into RHEL 6's krb5 package.

- Ken


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Douglas E. Engert  
View profile  
 More options Apr 5 2012, 12:41 pm
Newsgroups: comp.protocols.kerberos
From: "Douglas E. Engert" <deeng...@anl.gov>
Date: Thu, 05 Apr 2012 11:41:14 -0500
Local: Thurs, Apr 5 2012 12:41 pm
Subject: Re: cannot get msktutil

On 4/5/2012 10:35 AM, Ken Dreyer wrote:

Ken,
I was responding to the original message, as one of the early
developers of msktutil, I did not see that you had found the bug
yesterday.

But good to know there is a fix.

> - Ken

--

  Douglas E. Engert  <DEEng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Dreyer  
View profile  
 More options Apr 5 2012, 2:04 pm
Newsgroups: comp.protocols.kerberos
From: Ken Dreyer <ktdre...@ktdreyer.com>
Date: Thu, 5 Apr 2012 12:04:53 -0600
Local: Thurs, Apr 5 2012 2:04 pm
Subject: Re: cannot get msktutil
On Thu, Apr 5, 2012 at 10:41 AM, Douglas E. Engert <deeng...@anl.gov> wrote:

> I was responding to the original message, as one of the early
> developers of msktutil, I did not see that you had found the bug
> yesterday.

> But good to know there is a fix.

Whoops, I didn't meant to imply you yourself should file a ticket with
RH. I should have phrased "if you are experiencing this in your
environment" to be "if anyone is experiencing this in his or her
environment".

And thanks for your work on msktutil :)

- Ken


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fran Márquez  
View profile  
 More options Apr 11 2012, 2:52 am
Newsgroups: comp.protocols.kerberos
From: Fran Márquez <informatica.comunicacione...@chguadalquivir.es>
Date: Wed, 11 Apr 2012 08:52:59 +0200
Local: Wed, Apr 11 2012 2:52 am
Subject: Re: cannot get msktutil
Hi Simon,

How you got apply the patch to Centos source package?

I'm trying to build a RPM package (I want apply the patch) from this
official RH 6.2 SRPM package: krb5-1.9-22.el6_2.1.src.rpm

I have installed this package:

rpm -ivh krb5-1.9-22.el6_2.1.src.rpm

And then, I run:

rpmbuild -ba ~/rpmbuild/SPECS

/krb5.spec error: Fallo al construir las dependencias: libss-devel se
necesita para krb5-1.9-22.el6.1.x86_64 texinfo-tex se necesita para
krb5-1.9-22.el6.1.x86_64

But the required packages are not availables in official RH 6.2
repository, so I can't resolve the dependencies...

Note that this error message is showed without any modification... Its
weird, I don't understand how RH can offer a SRPM package that fails for
build.

Thanks

--

Fran M.

-----------------------------------------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »