Unsolved
1 Rookie
•
9 Posts
0
1453
May 1st, 2020 10:00
Isilon ansible module 1.0 documentation issue
Hi,
I was wondering if the SMB ansible module has the ability to remove a user from a share? The command I'm trying to replicate with the module would be:
isi smb shares permission delete --wellknown=Everyone --zone
From what I can tell in the documentation, you can only add/modify a user/group permission on a share, not fully remove them.
I also noticed a documentation error in the Ansible for Dell EMC Isilon v1.0 Product Guide. Page 38, the example for modifying an SMB share to remove group permission. You have the variable name for the share as name: which is invalid. It should be share_name:
No Events found!
GKi2drzsN11172279451969
1 Rookie
•
9 Posts
0
May 1st, 2020 14:00
Discovered another odd behavior with module.
Trying to create an SMB share using the module, I use this as the runbook:
I receive the following output:
with the dellemc_ansible_provisioning.log showing:
However, the share is created with the masks set. The only thing that's there and "odd" is that "everyone" is assigned read permissions:
Testing through iterations of user account, group, user account and group and user account, group and wellknown, all of them generate that same error with the result being the share is created with whatever permission I assign. The only time I actually see an ID of none set anywhere is when I specify the wellknown, then you see this in the provisioning log:
One final thing to note. I found that if you did not specify the provider_type as part of the permissions block, it would randomly attempt to use local instead of AD to validate the account. This was the playbook I used to generate that last error:
FoolInTheRain
123 Posts
0
May 6th, 2020 05:00
Hi,
I just wanted to let you know that I am reaching out to get the document changed for the issue you found on Page 38. Great catch!
As for your issue:
"...I was wondering if the SMB ansible module has the ability to remove a user from a share?..."
While I don't see specific example on how to remove a user from a share in the doc, I was wondering if using the the "Modify user permission for an SMB share" and just change the permission and permission type to “Full/Deny” instead off “Full/Allow” would remove the user and do what you want(?).
If anyone else has an idea, please feel free to reply!
FoolInTheRain
123 Posts
0
May 6th, 2020 09:00
Additional info regarding my previous post:
The dev time replied to me and stated that "...There is no ability to remove a user from a share. If necessary, they can do it from the UI. But the permission can be changed from ‘allow’ to ‘deny’..."
FoolInTheRain
123 Posts
0
May 13th, 2020 05:00
It is my understanding that the playbook error was specific to OneFS version 8.2.0, and was not an issue with OneFS 8.1.3 or OneFS 8.2.2. While the specific issue is being looked at, an acceptable workaround was provided.