[Samba] Unable to join domain?

Dan Egli dan at newideatest.site
Sun Feb 7 21:57:16 UTC 2021


Strange. Maybe memory got corrupted or something. I ran the script and 
kinit did the exact same thing. So I decided "what the hell, it's worth 
a try" and rebooted Athena. When logged in again after the reboot I did 
the net ads join again, and it worked. I don't claim to understand WHY, 
but there you go.

On 2/7/2021 2:25 PM, Rowland penny via samba wrote:
> On 07/02/2021 21:14, Dan Egli wrote:
>> I think I'm nearly there. I got to the point where I was running net 
>> ads join -U Administrator, but it does nothing when I do that:
>>
>>  # net ads join -U Administrator
>> Enter Administrator's password:<enter password>
>>
>> at which point it just sits there. Out of curosity, I ran strace on 
>> the net program as I was attempting to join. It shows reading each 
>> character individually, but not doing anything else. It just 
>> continues to look for input:
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "X", 1024)                      = 1
>> read(0, "\r", 1024)                     = 1
>> read(0, <sits here for eternity>
>>
>> I doubt I've encountered a bug, that's too big and ugly to have 
>> escaped detection. So what am I doing wrong? 
>
>
> I have no idea if you are doing anything wrong and if you are what it 
> is. Joining a Unix domain member usually just works for myself 😕
>
> Can you download this script: 
> https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh
>
> Run it on the Unix domain member and post the output into a reply to 
> this post (sanitised if required).
>
> Rowland
>
>
>



More information about the samba mailing list