OmniOS domain join to FreeIPA fails

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

keijko

New Member
Apr 8, 2019
2
0
1
Hi,

I'm running an OmniOS v11 r151028v and I try to make an domain join to an FreeIPA. I tried to setup it with the manuals/hints from asenjo.nl, freeipa.org and docs.oracle.com. The ldapclient itself is working and I can get informations from ipa-server like "id username". Ntpdate to this ipa-server is running also. But the join to the domain fails always with "(DOMAIN_CONTROLLER_NOT_FOUND)". I've no idea what is the problem anymore and hope that someone of you can help me.

My files looks like:

/var/ldap/ldap_client_file
Code:
NS_LDAP_FILE_VERSION= 2.0
NS_LDAP_SERVERS= ipa.dom
NS_LDAP_SEARCH_BASEDN= dc=dom
NS_LDAP_AUTH= sasl/GSSAPI
NS_LDAP_CACHETTL= 0
NS_LDAP_CREDENTIAL_LEVEL= self
NS_LDAP_SERVICE_SEARCH_DESC= passwd:cn=users,cn=accounts,dc=dom
NS_LDAP_SERVICE_SEARCH_DESC= group:cn=groups,cn=compat,dc=dom
NS_LDAP_OBJECTCLASSMAP= shadow:shadowAccount=posixAccount
/etc/krb5/krb5.conf
Code:
[libdefaults]
        default_realm = DOM

[realms]
        DOM = {
                kdc = ipa.dom
                admin_server = ipa.dom
                kpasswd_server = ipa.dom
                kpasswd_protocol = SET_CHANGE
        }

[domain_realm]
        dom = DOM
        .dom = DOM

[logging]
       ....

[appdefaults]
        kinit = {
                renewable = true
                forwardable= true
        }

/etc/nsswitch.conf
Code:
passwd:     files ldap
group:      files ldap
hosts:      files dns ldap
ipnodes:    files dns ldap
networks:   files ldap
protocols:  files ldap
rpc:        files ldap
ethers:     files ldap
netmasks:   files ldap
bootparams: files ldap
publickey:  files ldap
netgroup:   ldap
automount:  files ldap
aliases:    files ldap
services:   files ldap
printers:   user files ldap
auth_attr:  files ldap
prof_attr:  files ldap
project:    files ldap
tnrhtp:     files ldap
tnrhdb:     files ldap
I also tried without ldap-option in nsswitch.conf. That didn't work too. Has someone an idea, what I'm doing wrong or what I should try?
 

zxv

The more I C, the less I see.
Sep 10, 2017
156
57
28

keijko

New Member
Apr 8, 2019
2
0
1
You hints about ping, ldapsearch, ldaplist and ldapclient are working. I change the domain from dom to dom.lan. Because I read it can be make problems when I just use a single level domain. Actually I'm looking to your links and concentrate to all things about dns.
dig SRV _ldap._tcp.dom.lan +short -> is working
dig SRV _gc._tcp.ad.hh.netafp.com -> return nothing.
That is service "3268/tcp Microsoft-GC" Therefore I care about this. Because it's seems that is known but not configured/running out of the box.

Edit:
No! I doesn't seems implemented in freeipa yet. See: Issue #3125: [RFE] Build a Global Catalog Service - freeipa - Pagure.io
 
Last edited: