Bug 913457 - adcli: couldn't create temporary directory in: /var/cache/realmd: No such file or directory
Summary: adcli: couldn't create temporary directory in: /var/cache/realmd: No such fil...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: realmd
Version: 18
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: Stef Walter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-21 09:52 UTC by Miroslav Vadkerti
Modified: 2013-05-22 03:09 UTC (History)
3 users (show)

Fixed In Version: realmd-0.13.90-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-22 03:09:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miroslav Vadkerti 2013-02-21 09:52:22 UTC
Description of problem:

When joining domain I see this error with realmd.
# realm join -v security.baseos.qe
 * Searching for kerberos SRV records for domain: _kerberos._udp.security.baseos.qe
 * Searching for MSDCS SRV records on domain: _kerberos._tcp.dc._msdcs.security.baseos.qe
 * dc.security.baseos.qe:88 
 * Found kerberos DNS records for: security.baseos.qe
 * Found AD style DNS records for: security.baseos.qe
 * Successfully discovered: security.baseos.qe
 * Assuming packages installed
 * LANG=C /usr/sbin/adcli join --verbose --show-details --domain SECURITY.BASEOS.QE --login-type computer --no-password
adcli: couldn't create temporary directory in: /var/cache/realmd: No such file or directory
 * Using domain name: SECURITY.BASEOS.QE
 * Calculated computer account name from fqdn: DHCP-24-200
 * Calculated domain realm from name: SECURITY.BASEOS.QE
 * Resolved LDAP urls from SRV record: _ldap._tcp.SECURITY.BASEOS.QE: ldap://dc.security.baseos.qe:389
 ! Couldn't authenticate as machine account: DHCP-24-200: Preauthentication failed
adcli: couldn't connect to SECURITY.BASEOS.QE domain: Couldn't authenticate as machine account: DHCP-24-200: Preauthentication failed
 ! Unable to automatically join the domain
Password for Administrator: 
[snip]

Version-Release number of selected component (if applicable):
realmd-0.13.2-1.fc18

How reproducible:
100%

Steps to Reproduce:
1. realm join
  
Actual results:
adcli: couldn't create temporary directory in: /var/cache/realmd: No such file or directory

Expected results:
No error

Additional info:
This is bug is not related to SELinux

Comment 1 Stef Walter 2013-04-29 12:55:56 UTC
This was a packaging problem in realmd. 

FYI, we also have upstream work around now: http://cgit.freedesktop.org/realmd/realmd/commit/?id=51f49faa9467ad5c5f29c2e6e9a31a488dbc3f70

Comment 2 Fedora Update System 2013-04-29 18:03:39 UTC
realmd-0.13.90-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/realmd-0.13.90-1.fc19

Comment 3 Fedora Update System 2013-04-30 20:13:04 UTC
Package realmd-0.13.90-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing realmd-0.13.90-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7111/realmd-0.13.90-1.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-05-02 14:14:00 UTC
realmd-0.13.91-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/realmd-0.13.91-1.fc19

Comment 5 Fedora Update System 2013-05-22 03:09:52 UTC
realmd-0.13.90-1.fc19 has been pushed to the Fedora 19 obsolete repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.