PATCH - Joining a domain with samba4 when the user exists
Brad Henry
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
> structures.
> 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,
> Brad
>
>
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.
Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SAMBA_4_0-net_join-2.diff
Type: text/x-patch
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
mailing list