Problems getting a linux server to join a AD domain

Rowley, Mathew Mathew_Rowley at cable.comcast.com
Fri Oct 29 00:27:05 CEST 2010


$ sudo net ads join SECLAB -U Administrator
Enter Administrator's password:
Failed to join domain: failed to find DC for domain SECLAB



Where is the DC configured? That¹s in samba.conf, correct?

   password server = seclab.security.lab.net //your AD-server


Then I found this:
https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto

But, their fix didn¹t help:

$ sudo net ads join SECLAB -S SECLAB -U Administrator
Enter Administrator's password:
Failed to join domain: Invalid configuration ("realm" set to
'SECLAB.SECURITY.LAB.NET //YOUR REAL', should be
'seclab.security.lab.net') and configuration modification was not requested

... Made the modification suggested by the error message

$ sudo net ads join SECLAB -S SECLAB -U Administrator
Enter Administrator's password:
Failed to join domain: failed to connect to AD: Operations error



Thoughts? Other than I hate AD?



On 10/28/10 4:11 PM, "Alan Buxey" <A.L.M.Buxey at lboro.ac.uk> wrote:

>Hi,
>
>> In an attempt to integrate Radius with AD, and following the tutorial
>>(http://wiki.freeradius.org/FreeRADIUS_Active_Directory_Integration_HOWTO
>>) I have set up an AD server in our lab, and having trouble adding my
>>linux box to the domain. Can anyone see what im doing wrong? The error I
>>keep getting is:
>> 
>> $ sudo net join -w SECLAB -I 10.252.159.137 -U Administrator
>> [sudo] password for wuntee:
>> Enter Administrator's password:
>> [2010/10/28 12:23:36.656829,  0]
>>utils/net_rpc_join.c:406(net_rpc_join_newstyle)
>>   Error in domain join verification (credential setup failed):
>>NT_STATUS_INVALID_COMPUTER_NAME
>
>net ads join SECLAB -U Administrator
>
>
>if samba is configured correctly, with the KDC handled etc you really
>shouldnt
>need to define an address and/or workgroup.
>
>
>alan
>-
>List info/subscribe/unsubscribe? See
>http://www.freeradius.org/list/users.html





More information about the Freeradius-Users mailing list