| Summary: | named won't start if nodename != Kerberos principal hostname | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rob Crittenden <rcritten> | ||||||
| Component: | bind-dyndb-ldap | Assignee: | Adam Tkac <atkac> | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 14 | CC: | atkac, mkosek, ovasik | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-11-08 11:56:49 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Rob Crittenden
2011-06-02 20:41:54 UTC
Created attachment 502636 [details]
Use fake_mname as hostname if doing an ldapi bind
I'm not 100% sure that fake_mname is the right value to use here or if we want a separate option (or pull apart the principal to determine the name to use).
This worked in my tests though.
I think I spoke to soon. named starts but buried deep in the logs is: Jun 2 17:18:47 panther named[25098]: bind to LDAP server failed: Can't contact LDAP server So the named process is up, just not serving my domain. It was the trailing dot in fake_mname causing problems. I hardcoded a string as a test and it worked fine. I've yet to figure out the wonky string management in bind to come up with an updated patch. Created attachment 505842 [details]
Updated set hostname patch
Updated patch to correctly use DNS memory management routines to strip off trailing period from hostname when setting it in LDAP.
I can confirm that Rob's patch works fine. I was able to use bind-dyndb-ldap with IPA hostname different from the system hostname. |