Okay, I got a little farther. net ads join seemed to be successful and
wbtool --ping-dc worked fine, so I tried the getent on user dan. Oops,
dan's in the system password file. Okay, userdel -r dan. Now getent
passwd dan comes back empty. Okay, that makes sense. I haven't created
user dan yet. Let's try the group. getent group "Domain Users"
succeeds,
showing the domain users group with GID 10000. Great, now logon to the
DC and run samba-tool user create dan <password>. samba-tool reports
success. run getent passwd dan on the domain mamber, nothing. Hmm....
run getent passwd dan on the DC, nothing.
I guess I need more help.
On 2/7/2021 2:57 PM, Dan Egli via samba wrote:> 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
>>
>>
>>
>