1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/librpc
Jim McDonough 7930f15f5d 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.
2009-06-19 13:46:07 -04:00
..
gen_ndr Don't require "Modify property" perms to unjoin bug #6481) 2009-06-19 13:46:07 -04:00
idl Don't require "Modify property" perms to unjoin bug #6481) 2009-06-19 13:46:07 -04:00
ndr s3: Modifications to generic notify structures to allow implementation of OneFS notify. 2009-02-20 14:10:30 -08:00
rpc Allow calling DCE/RPC server implementations directly using 2009-01-21 14:05:51 +01:00