Server install - How does yast connect to a domain so effortlessly?

Hi all,

I’m using openSUSE 13.1 as a server at work, and it working amazingly well. What struck me, was how easy it was to join a domain with the command-line version of yast; all I had to do was supply the domain name, and it automatically joined, without needing any more information (other than a user/password that was allowed to join, of course).

What I would love to know, is how it does it; what commands does it run to discover the various parts, such as the KDC name, etc. My coding is rusty, so I can’t figure this out. I want to see if I can join any Linux distribution to a domain with the same commands.


Probably by using netconfig. According to the Unix and Linux system administrators handbook, SUSE has the best commented configuration files of any distribution; openSUSE comes with most of those. So you are benefiting from the long-standing expertise of the SUSE developers.

That expertise is exactly what I’m trying to figure out right now.

I figured it out for Fedora. I used realmd for this. Still, would be interesting to see what tool openSUSE used to get the kerberos info. After reading through Fedora docs, I would bet it’s adcli.

I doubt it; it isn’t installed. You may find the answer in /var/log/messages.