Merge pull request #33983 from twangboy/fix_docs_join_domain

Clarify the `account_exists` parameter
This commit is contained in:
Mike Place 2016-06-13 18:11:48 -07:00 committed by GitHub
commit 444c15792c

View file

@ -468,7 +468,10 @@ def join_domain(domain,
``ou=computers,ou=departm_432,dc=my-company,dc=com``
:param bool account_exists:
Needs to be set to ``True`` to allow re-using an existing account
If set to ``True`` the computer will only join the domain if the account
already exists. If set to ``False`` the computer account will be created
if it does not exist, otherwise it will use the existing account.
Default is False
:param bool restart: Restarts the computer after a successful join
.. versionadded:: 2015.5.7
@ -561,7 +564,8 @@ def unjoin_domain(username=None,
.. versionadded:: 2015.8.2
:param bool disable:
Disable the user account in Active Directory. True to disable.
Disable the computer account in Active Directory. True to disable.
Default is False
:param bool restart: Restart the computer after successful unjoin