Comments (13)
I apologize for taking this long to get back to this project. I've just pushed out release 1.9.1, which should fix this problem. Please try it out.
from ansible-truenas.
Error is
- user_create.password_disabled: Password authentication may not be disabled for SMB users
from ansible-truenas.
@steven-ellis Do you have a playbook that illustrates the problem you're seeing?
from ansible-truenas.
Here is an example
- name: Make sure mythtv user exists
arensb.truenas.user:
name: mythtv
uid: 1000
groups: 'users,mythtv'
password_disabled: yes
from ansible-truenas.
I haven't been able to reproduce this problem under TrueNAS Core. In my own testing, I was able to create users with password_disabled: yes
, both with and without SMB enabled. Is this something that happens when a user is created? When an existing user is changed? Both?
And what flavor and version of TrueNAS are you using?
from ansible-truenas.
TrueNAS Scale 23.10.2
This is happening when I try to create a new user. As a default a new user has smb defaulting to true which conflicts with password_disabled.
from ansible-truenas.
Sorry I've been neglecting these bugs. I've been dealing with family matters.
from ansible-truenas.
Sorry, I created a duplicate issue with #17
Have created a PR with a suggested fix.
This is an issue with TrueNAS scale and is still present with 24.4.0
from ansible-truenas.
Have linked PR to this issue now #17 has been closed as duplicate
from ansible-truenas.
@arensb Worked good for me!
I had some issues installing the updated collection via ansible-galaxy, but overwriting the installed user module with the updated file worked a treat.
(ansible-galaxy collection install arensb.truenas --force --pre
installed 1.9.0 again 🤦 )
from ansible-truenas.
Thank you for contributing a fix 😄
from ansible-truenas.
@MozzieBytes Oh, sorry, yeah, I marked this as a tentative release on github, and haven't uploaded it to Ansible Galaxy. I was hoping to get some time to work on issues #13 and following in the coming days (we'll see if that works. I think the universe has other plans for me).
from ansible-truenas.
@MozzieBytes Oh, sorry, yeah, I marked this as a tentative release on github, and haven't uploaded it to Ansible Galaxy. I was hoping to get some time to work on issues #13 and following in the coming days (we'll see if that works. I think the universe has other plans for me).
Sorry about that! I'm still new to Ansible so am learning on the go with the nuances of how ansible-galaxy and collections work.
I'm happy to give the NFSv4 issue a go if that's at all helpful? Your description of how you see the issue being handled is enough that I could probably put together an implementation.
from ansible-truenas.
Related Issues (14)
- truenas.services names HOT 1
- Manage ssh host keys and certs HOT 5
- Exampe code for nfs module raises error when setting nfsv4 HOT 8
- Can't set an NFS Share to read only HOT 3
- Can't have the same NFS mount point with different permissions HOT 1
- Can't create password_disabled user if smb is enabled on the machine HOT 2
- Can't set owner of dataset using 'arensb.truenas.filesystem' HOT 4
- user set sudo don't work on truenas scale HOT 10
- Incorrect attribute name in pool_scrub_task module HOT 2
- Create a test suite
- truenas.service doesn't start nor enables services HOT 6
- feature requests HOT 19
- nfs module - additional parameters HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-truenas.