joining a samba 4.2.2 client to a samba 4.2.2 NT4 PDC

Rowland Penny repenny241155 at gmail.com
Wed Jul 8 10:53:58 UTC 2015


On 08/07/15 11:19, Alexander Bokovoy wrote:
> On Wed, Jul 08, 2015 at 10:57:33AM +0100, Rowland Penny wrote:
>> On 08/07/15 10:52, Alexander Bokovoy wrote:
>>> On Wed, Jul 08, 2015 at 10:44:54AM +0100, Rowland Penny wrote:
>>>> On 08/07/15 10:32, Alexander Bokovoy wrote:
>>>>> On Wed, Jul 08, 2015 at 09:59:18AM +0100, Rowland Penny wrote:
>>>>>> On 08/07/15 07:16, Andreas Schneider wrote:
>>>>>>> On Tuesday 07 July 2015 18:19:59 Rowland Penny wrote:
>>>>>>>> Hi, I have been testing joining a linux client to an NT4-style PDC, and
>>>>>>>> whilst I am sure I was using the correct command:
>>>>>>>>
>>>>>>>> net join -S PDC -U Administrator
>>>>>>> The question is which net cmd 'net join' triggers. Take a look at the code in
>>>>>>>
>>>>>>> source3/utils/net_join.c
>>>>>>>
>>>>>>>
>>>>>>> 	-- andreas
>>>>>>>
>>>>>> Well, I looked in source3/utils/net_join.c , as I thought, I didn't
>>>>>> understand it :-D
>>>>>>
>>>>>> Perhaps I should have mentioned, I also tried various different versions of
>>>>>> the join command because I was having problems joining the client (this
>>>>>> turned out to be samba not knowing the user), everything I tried, including
>>>>>> 'net rpc join ....' brought up the same question about 'no realm'.
>>>>>>
>>>>>> I do not understand 'C' and at my time of life I am not willing to learn, I
>>>>>> am just pointing out that there seems to be something wrong with joining a
>>>>>> Unix domain client to a NT4-style domain.
>>>>> Rowland, could you please file a bug and attach logs (debug level 100 to
>>>>> 'net' utility and debug level 100 logs on the server side), along with
>>>>> a network trace? I hope this is not too much to ask from you.
>>>>>
>>>> OK, I will give it try, I will setup another VM and join it the PDC, just
>>>> one question though, when you say 'debug level 100', I take it you really
>>>> mean '-d10' ?
>>> I do mean -d100. This produces also network packet dumps in the output.
>>>
>> Well, you learn something new everyday, I thought the highest debug number
>> was 10 :-)
> :)
> $ git grep '#define MAX_DEBUG_LEVEL'
> lib/util/debug.h:#define MAX_DEBUG_LEVEL 1000
>

Wow, what do you get if use -d1000 ? does someone come around and tell 
you just where you are going wrong :-D

Anyway, bug report done:

https://bugzilla.samba.org/show_bug.cgi?id=11393

Rowland


More information about the samba-technical mailing list