Skip Menu |
 

Download (untitled) / with headers
text/plain 2.1KiB
From krb5-bugs-incoming-bounces@PCH.MIT.EDU Thu Mar 29 18:13:06 2007
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.12.9) with ESMTP
id l2TMD6L8005261; Thu, 29 Mar 2007 18:13:06 -0400 (EDT)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
by pch.mit.edu (8.13.6/8.12.8) with ESMTP id l2TMD1tT008020;
Thu, 29 Mar 2007 18:13:01 -0400
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU
[18.7.7.76])
by pch.mit.edu (8.13.6/8.12.8) with ESMTP id l2T8BMob027830
for <krb5-bugs-incoming@PCH.mit.edu>; Thu, 29 Mar 2007 04:11:23 -0400
Received: from mit.edu (M24-004-BARRACUDA-1.MIT.EDU [18.7.7.111])
by fort-point-station.mit.edu (8.13.6/8.9.2) with ESMTP id
l2T8BAqM020762
for <krb5-bugs@mit.edu>; Thu, 29 Mar 2007 04:11:10 -0400 (EDT)
Received: from karma.ncst.ernet.in (peedy.ncst.ernet.in [202.141.151.110])
by mit.edu (Spam Firewall) with ESMTP id D5D8037E3B1
for <krb5-bugs@mit.edu>; Thu, 29 Mar 2007 04:11:08 -0400 (EDT)
Received: by karma.ncst.ernet.in (Postfix, from userid 0)
id D4ACFD305D; Thu, 29 Mar 2007 13:36:57 +0530 (IST)
To: krb5-bugs@mit.edu
From: sharda@karma.ncst.ernet.in
X-send-pr-version: 3.99
Message-Id: <20070329080657.D4ACFD305D@karma.ncst.ernet.in>
Date: Thu, 29 Mar 2007 13:36:57 +0530 (IST)
X-Spam-Score: 1.867
X-Spam-Level: * (1.867)
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
X-Mailman-Approved-At: Thu, 29 Mar 2007 18:13:00 -0400
X-BeenThere: krb5-bugs-incoming@mailman.mit.edu
X-Mailman-Version: 2.1.6
Precedence: list
Reply-To: sharda@cdacmumbai.in
Sender: krb5-bugs-incoming-bounces@PCH.MIT.EDU
Errors-To: krb5-bugs-incoming-bounces@PCH.MIT.EDU


Show quoted text
>Submitter-Id: sharda@cdacmumbai.in
>Originator: Sharda
>Organization:
<cdac, mumbai>
Show quoted text
>Confidential: yes
>Synopsis: sendauth rejected, error reply is: " Wrong principal in request"
>Severity: non-critical
>Priority: high
>Category: krb5-clients
>Class: sw-bug
>Release: 1.6
>Environment:

System: Linux cmj-cnie-karma 2.6.10-5-386 #1 Mon Oct 10 11:15:41 UTC 2005 i686 GNU/Linux
Architecture: i686

Show quoted text
>Description:
sendauth rejected, error reply is: " Wrong principal in request"
while running sclient.
Show quoted text
>How-To-Repeat:
N/A
Show quoted text
>Fix:
don't know.
Date: Thu, 12 Nov 2009 21:01:52 +0800
Subject: [krbdev.mit.edu #5497] sendauth rejected, error reply is: " Wrong principal in request"
From: Kevin Wang <kevinwang1988@gmail.com>
To: krb5-bugs@mit.edu
RT-Send-Cc:
Download 330.gif
image/gif 96B
330.gif
Download (untitled) / with headers
text/plain 1.6KiB
Dear friends:
    I also found the problem while doing the experiment of krb5.
   All is well until I run the client to connect to the server.
  This is the command of server: ./sserver -p 8899 -s sample -S /etc/krb5.keytab.  After that it waited for the connection.
   And this is command of client:./sclient kerberos.example.com 8899 sample. When done,it shows the following:
connected,
    sendauth rejected, error reply is:
" Wrong principal in request"
I googled it, then found this page:
but with no solutions.

Hope to get a solution.
Looking forward to your reply. Thank you.


The following is the evironment. Maybe it will help.
The version of kerberos I use for experiment is krb5-1.6.3 in the form of tar.gz package.

I did this under Fedora 9(i386)
ver: 9(Sulphur)
kernel:Linux 2.6.25-14.fc9.i686
GNOME 2.22.1

kadmin.local:  add_policy -maxlife 180days -minlife 2days -minlength 8 -minclasses 3 -history 10 default  


[root@localhost sbin]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: test1/kerberos.example.com@EXAMPLE.COM

Valid starting     Expires            Service principal
11/12/09 20:34:58  11/13/09 20:34:58  krbtgt/EXAMPLE.COM@EXAMPLE.COM


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached