Bug 437566

Summary: ipa-addservice will fail if the realm is included in the principal name
Product: [Retired] freeIPA Reporter: Rob Crittenden <rcritten>
Component: ipa-admintoolsAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: high    
Version: 1.0CC: benl, jgalipea, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeipa-2.0.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 07:16:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 453489    
Attachments:
Description Flags
allow realm to be included in add_service_principal() call none

Description Rob Crittenden 2008-03-14 21:51:57 UTC
It is natural for people who know kerberos to include the realm name in the
principal name when requesting one from ipa-addservice.

Currently it will fail if the realm is included. What we should do instead is
drop the realm silently if it matches the IPA realm. It will make for a much
nicer user experience.

Comment 1 Rob Crittenden 2008-03-17 18:10:27 UTC
Created attachment 298290 [details]
allow realm to be included in add_service_principal() call

Comment 3 Jenny Severance 2008-11-19 14:46:30 UTC
Fix verified:

[root@jennyv3 ~]# ipa-addservice nfs/jennyv4.bos.redhat.com.COM
[root@jennyv3 ~]# ipa-findservice jennyv4.bos.redhat.com
host/jennyv4.bos.redhat.com.COM
ssh/jennyv4.bos.redhat.com.COM
nfs/jennyv4.bos.redhat.com.COM