diff options
author | Jim McDonough <jmcd@samba.org> | 2009-06-19 13:46:07 -0400 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2009-06-19 13:46:07 -0400 |
commit | 7930f15f5dce0dd72b354f903a758b03988371b8 (patch) | |
tree | b3405ea2ccb64b92fad2854cecb5698c517d2fe1 /source3/librpc/idl | |
parent | 0524d24fb217813e4939b299b1fabe9a54b4216e (diff) | |
download | samba-7930f15f5dce0dd72b354f903a758b03988371b8.tar.gz samba-7930f15f5dce0dd72b354f903a758b03988371b8.tar.bz2 samba-7930f15f5dce0dd72b354f903a758b03988371b8.zip |
Don't require "Modify property" perms to unjoin bug #6481)
"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.
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r-- | source3/librpc/idl/libnet_join.idl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnet_join.idl b/source3/librpc/idl/libnet_join.idl index c600ea094a..80429dc2fd 100644 --- a/source3/librpc/idl/libnet_join.idl +++ b/source3/librpc/idl/libnet_join.idl @@ -53,6 +53,7 @@ interface libnetjoin [in] string admin_password, [in] string machine_password, [in] wkssvc_joinflags unjoin_flags, + [in] boolean8 delete_machine_account, [in] boolean8 modify_config, [in] dom_sid *domain_sid, [in] ads_struct *ads, |