mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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. |
||
---|---|---|
.. | ||
IDL_LICENSE.txt | ||
libnet_join.idl | ||
libnetapi.idl | ||
messaging.idl | ||
notify.idl |