[28515] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Listing what's already mapped

daemon@ATHENA.MIT.EDU (Christopher D. Clausen)
Mon Oct 1 11:45:12 2007

From: "Christopher D. Clausen" <cclausen@acm.org>
Date: Mon, 1 Oct 2007 10:27:22 -0500
Message-ID: <fdr41d$98o$1@news.ks.uiuc.edu>
X-Complaints-To: news+abuse@ks.uiuc.edu
To: kerberos@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

treschaud33@yahoo.com wrote:
> How can I list all the servers that I have mapped with the Ktpass
> command?
>
> We are using Kerberos for SSO from our Middle Tier application that we
> develop.  To make this work I must map the middle Tier's servername
> with an account in the domain.  Here's a sample ktpass command that I
> use to do this:
>
>     ktpass -princ HTTP/server10@ENGINEERING.CRD.COM -mapuser svruser -
> pass svruserpwd
>
> I'm working in a development environment and have done this many
> times.  I'd like to know which machines I have already mapped.  How
> can I get the list?  The domain controller is Win Server 2003 SP1

from a cmd.exe prompt (on a computer joined to this domain,) you can run 
net group "domain computers" /domain to get a list all every computer 
account.  (Assuming you are indeed using computer accounts and not user 
accounts.)

You can then run the setspn.exe -L "computername" for each computername 
in the above list to see what mappings have been assigned.

I do not know of a way to specifically list computers with modified SPNs 
without checking each and every object.

<<CDC 


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post