Age | Commit message (Collapse) | Author | Files | Lines |
|
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
|
|
Guenther
|
|
Guenther
|
|
Guenther
|
|
Guenther
|
|
"net ads leave" stopped working when "modify properties"
permissions were not granted (meaning you had to be allowed
to disable the account that you were about to delete).
Libnetapi should not delete machine accounts, as this does not
happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag
really means "disable" (both in practice and docs).
However, to keep the functionality in "net ads leave", we
will still try to do the delete. If this fails, we try
to do the disable.
Additionally, it is possible in windows to not disable or
delete the account, but just tell the local machine that it
is no longer in the account. libnet can now do this as well.
|
|
Guenther
(This used to be commit 2b262ca20de2a41833f68a88646a8df4d9507782)
|
|
Guenther
(This used to be commit 956c949dc739a8b3e9de3bb6f1af8e0e8b18dc98)
|
|
Guenther
(This used to be commit 452a9ea4af19d3aebc35929edaf4e5adf8c1fd11)
|
|
Guenther
(This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
|
|
Guenther
(This used to be commit f88910c1e5186737da4eda5a7a396c3238fc6775)
|
|
Guenther
(This used to be commit 365943063497c6330ba77914bb01a2be324866f7)
|
|
Guenther
(This used to be commit 0d8081499fd211e1225d651ff208a857167ce1db)
|
|
Guenther
(This used to be commit 7a48779ee5ec8bdd5e2b5eef94fd465f733b74b4)
|