#38 Fail when LDAP server is not reachable
Closed: Fixed None Opened 12 years ago by jkuncar.

Fail when try to run rndc reload and LDAP is not reachable.

1) IPA started[[BR]]
2) /etc/named.conf:[[BR]]

...
dynamic-db "ipa" {
        library "ldap.so";
        arg "uri ldap://127.0.0.1";
        arg "base cn=dns, dc=idm,dc=lab,dc=bos,dc=redhat,dc=com";
        arg "fake_mname vm-041.idm.lab.bos.redhat.com.";
        arg "auth_method sasl";
        arg "sasl_mech GSSAPI";
        arg "sasl_user DNS/vm-041.idm.lab.bos.redhat.com";
        arg "zone_refresh 30";
        arg "psearch yes";
        arg "sync_ptr yes";
};

3) service named stop[[BR]]
4) iptables-save > /tmp/iptables.backup; iptables -I INPUT -p tcp --dport 389 -j REJECT; iptables -I INPUT -p tcp --dport 636 -j REJECT[[BR]]
5) service named start[[BR]]
6) rndc reload[[BR]]

...
ldap_helper.c:484: REQUIRE(pthread_kill(ldap_inst->watcher, 15) == 0)
exiting (due to assertion failure)
Aborted

See also https://bugzilla.redhat.com/show_bug.cgi?id=662930


Metadata Update from @jkuncar:
- Issue assigned to atkac
- Issue set to the milestone: 3.0 IPA

7 years ago

Login to comment on this ticket.

Metadata