Skip to content

Commit

Permalink
Don't add smbhash after all: not a valid user.create() parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
arensb committed May 6, 2024
1 parent 75d6fa0 commit f06ff01
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions plugins/modules/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@
- Specifies whether user should have access to SMB shares.
type: bool
default: true
smbhash:
description:
- SMB authorization string, crypted.
type: str
ssh_authorized_keys:
description:
- List of ssh public keys to put in the user's C(.ssh/authorized_keys)
Expand Down Expand Up @@ -340,7 +336,6 @@ def main():
# doing this.

smb=dict(type='bool', default=True),
# XXX - Add smbhash

sudo_commands=dict(type='list',
elements='str'),
Expand Down Expand Up @@ -449,7 +444,6 @@ def main():
state = module.params['state']
delete_group = module.params['delete_group']
smb = module.params['smb']
# XXX - Add smbhash
sudo = module.params['sudo'] \
if 'sudo' in module.params else None
sudo_nopasswd = module.params['sudo_nopasswd'] \
Expand Down Expand Up @@ -536,8 +530,6 @@ def main():
if smb is not None:
arg['smb'] = smb

# XXX - Add smbhash

if old_sudo_call:
# 'old_sudo_call' isn't set to True until we know that
# middleware uses the old sudo API. So by the time we
Expand Down Expand Up @@ -759,8 +751,6 @@ def main():
if smb is not None and user_info['smb'] != smb:
arg['smb'] = smb

# XXX - Add smbhash

if home is not None:
# If the username has also changed, need to update the
# home directory as well.
Expand Down

0 comments on commit f06ff01

Please sign in to comment.