[Samba] Unable to join domain?

Rowland penny rpenny at samba.org
Sun Feb 7 21:25:58 UTC 2021


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