mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
7930f15f5d
"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. |
||
---|---|---|
.. | ||
libnet_join.h | ||
libnetapi.h | ||
messaging.h | ||
ndr_libnet_join.c | ||
ndr_libnet_join.h | ||
ndr_libnetapi.c | ||
ndr_libnetapi.h | ||
ndr_messaging.c | ||
ndr_messaging.h | ||
ndr_notify.c | ||
ndr_notify.h | ||
notify.h |