Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 435055

Summary: ipa-server-install creating bind zone files with incorrect names.
Product: [Retired] freeIPA Reporter: Michael Gregg <mgregg>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: benl, 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: 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: 429034    
Attachments:
Description Flags
Use fqdn variable to determine hostname none

Description Michael Gregg 2008-02-27 01:42:38 UTC
Description of problem:
zone files get generated by ipa-server-install with incorrect information. 

How reproducible:
always

Steps to Reproduce:
1. run install with /usr/sbin/ipa-server-install -U
--hostname=ipaqavm.dsqa.sjc2.redhat.com -r DSQA.SJC2.REDHAT.COM -p Secret123 -P
Secret123 -a Secret123 --setup-bind -u admin -d
  
Actual results:

Produced the following information in the dsqa.sjc2.redhat.com zone file:
                        IN NS                   dsqa
dsqa                    IN A                    10.14.0.110
;
; ldap servers
_ldap._tcp              IN SRV 0 100 389        dsqa

;kerberos realm
_kerberos               IN TXT DSQA.SJC2.REDHAT.COM

; kerberos servers
_kerberos._tcp          IN SRV 0 100 88         dsqa
_kerberos._udp          IN SRV 0 100 88         dsqa
_kerberos-master._tcp   IN SRV 0 100 88         dsqa
_kerberos-master._udp   IN SRV 0 100 88         dsqa
_kpasswd._tcp           IN SRV 0 100 464        dsqa
_kpasswd._udp           IN SRV 0 100 464        dsqa


Expected results:
all of the SRV records should have been to ipqavm, not dsqa, and the main A
record should have been to ipaqavm not dsqa.

Additional info:

Comment 1 Rob Crittenden 2008-02-27 03:35:02 UTC
Created attachment 296021 [details]
Use fqdn variable to determine hostname

Comment 2 Rob Crittenden 2008-02-27 03:35:24 UTC
Pushed in changeset 691 under 1-liner rule

Comment 3 Michael Gregg 2008-02-27 19:29:13 UTC
verified against:
1204139684 ipa-server-selinux-0.99.0-1 Wed Feb 27 2008 
1204139699 mod_auth_kerb-5.3-4.ipa Wed Feb 27 2008 
1204139706 ipa-admintools-0.99.0-1 Wed Feb 27 2008 
1204139706 ipa-python-0.99.0-1 Wed Feb 27 2008 
1204139712 ipa-server-0.99.0-2 Wed Feb 27 2008 
 

Comment 4 Rob Crittenden 2008-02-27 19:34:09 UTC
I should note that you should NOT be using mod_auth_kerb-5.3-4.ipa anymore.