LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problems joining a linux box to an active directory (https://www.linuxquestions.org/questions/linux-networking-3/problems-joining-a-linux-box-to-an-active-directory-369793/)

eantoranz 10-04-2005 05:39 PM

Problems joining a linux box to an active directory
 
I had already joined one box at my office, and it was sooooooooooooo easy.

All I had to do was:

set the security to domain

set the workgroup, set the realm, and join.

But I'm trying at a different place, and I just don't get to do it.

I have already set two names at /etc/samba/lmhosts and got to make it advance a little, but now I'm stuck.

When I join, this is the output:

Code:

# net join -U Administrator
Administrator's password:
[2005/10/04 18:27:17, 0] libads/kerberos.c:ads_kinit_password(146)
  kerberos_kinit_password Administrator@MATERNOBARINAS failed: Cannot resolve network address for KDC in requested realm
[2005/10/04 18:27:17, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: Cannot resolve network address for KDC in requested realm
Joined domain MATERNOBARINAS.
root@proxy:/home/antoranz #

There is a problem. But what is it?

Look at the end. It sais I'm joined. But when I test, this is the output:

Code:

# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_INTERNAL_ERROR (0xc00000e5)
Could not check secret

See? What's the problem? :confused:

eantoranz 10-04-2005 05:47 PM

I tried with join ADS

See now:
Code:

# net ADS join -U Administrator
Administrator's password:
[2005/10/04 18:44:36, 0] libads/kerberos.c:ads_kinit_password(146)
  kerberos_kinit_password Administrator@MATERNOBARINAS failed: Cannot resolve network address for KDC in requested realm
[2005/10/04 18:44:36, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: Cannot resolve network address for KDC in requested realm

At least it doesn't say I did join the domain.

Now, the computer shows op on the "computers" section of the Active Directory. And when I look at the information of the host, it says that its DNS name is: localhost.localdomain instead of proxy.maternobarinas

Maybe that can help you tell me what's going on.

eantoranz 10-05-2005 02:05 PM

This is driving me crazy.

I tweaked a little and managed to stablish trust relationship between the ADS and the host. This box is going to work as a authenticating proxy (squid / ntlm_auth)... and I managed to get it working... but after a while, the trust relationship is p}broken and all authentication stops.

What could be causing it? :scratch:

PS Forgot to tell you that I had to install krb5.


All times are GMT -5. The time now is 11:30 PM.