PATCH - Joining a domain with samba4 when the user exists
j0j0 at riod.ca
Sun Oct 16 00:18:59 GMT 2005
Brad Henry wrote:
> Hello, this patch is intended to resolve the problem Volker
> encountered regarding domain joins in Samba 4. The problem occurred
> when the machine account existed prior to calling 'net join' (the
> command would return without indication that the join didn't succeed).
> The change to libnet_join.c and libnet_join.h makes it return the
> machine account type in the libnet_Join and libnet_JoinDomain data
> If the machine account currently exists, net_join.c now reports that
> condition, the machine account type, and a return code of -1.
> Thanks Volker, and sorry for the troubles,
Here is patch attempt #2.
I didn't see r11094 before I submitted this patch, and there was a
conflicting change. So this new patch applies against r11094.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2694 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20051015/96f4c353/SAMBA_4_0-net_join-2.bin
More information about the samba-technical