Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cisco NAC AD SSO: KTPass.exe error (DsCrackNames returned 0x2 in the name entry for ...)

Hi,

I get the following error when I try to run KTPass.exe command;

C:\Program Files\Support Tools>ktpass -princ ccasso/sst-vu27keb2zd2.NACII.com@NACII.COM -mapuser ccasso -pass cisco123
DsCrackNames returned 0x2 in the name entry for ccasso.
ktpass:failed getting target domain for specified user.

C:\Program Files\Support Tools>

Whats up?

I have created the ccasso user.

1 REPLY
New Member

Re: Cisco NAC AD SSO: KTPass.exe error (DsCrackNames returned 0x

Causes

ktpass needs more info

You need to specify the user more fully, by prefacing the user name
with the domain name (NACII\) where DOMAIN name is the NetBIOS version of the AD domain.:

C:\Program Files\Support Tools>ktpass -princ ccasso/sst-vu27keb2zd2.NACII.com@NACII.COM -mapuser NACII\ccasso -pass cisco123 -out c:\test.ke
ytab -ptype KRB5_NT_PRINCIPAL +DesOnly
Targeting domain controller: sst-vu27keb2zd2.NACII.com
Using legacy password setting method
Successfully mapped ccasso/sst-vu27keb2zd2.NACII.com to ccasso.
Key created.
Output keytab to c:\test.keytab:
Account ccasso has been set for DES-only encryption.

4750
Views
0
Helpful
1
Replies
CreatePlease to create content