Fix up 'net ads join' to delete and rejoin if the account already exists.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 11 Jan 2002 04:50:45 +0000 (04:50 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 11 Jan 2002 04:50:45 +0000 (04:50 +0000)
commit4acb3125cd42728e2bb3f971bfb9373decc1d0fb
tree99b7c375da60664cbf0b79b4866c5efce3557f3d
parent9ee8213f9a6fbcfc5a52cde36bb2b3bb146f8239
Fix up 'net ads join' to delete and rejoin if the account already exists.

This fixes up a problem where a machine would join (or downgrade by trust
password change) to NT4 membership and not be able to regain full ADS
membership until a 'net ads leave'.

Andrew Bartlett
(This used to be commit ab8ff85f03b25a0dfe4ab63886a10da81207393c)
source3/libads/ldap.c
source3/libsmb/cliconnect.c