tragl Posted March 20, 2021 Share Posted March 20, 2021 Hello Programmers. I'd like to see if you can change the restrictions for adding new users. ATM it's not possible to add users with dots for example max.mustermann The advantage is, that you can use your windows-credentials for logging in to shares from UnRaid if username and password matches. In our Company and also on my home-computers i use dots in usernames for a long time in my old nas-system OpenMediaVault with no problems, also every windows-machine will allow that. It would be fine if UnRaid will do so, too 🙂 Quote Link to comment
ken-ji Posted March 20, 2021 Share Posted March 20, 2021 (edited) There's a work around you can use if its acceptable to you: samba has username mapping merge this into /boot/config/smb-extra.conf (\\tower\flash\config\smb-extra.conf) - you create the file if it doesn't exist or you add the username map line under the [global] section [global] username map = /boot/config/smb-users.map then create /boot/config/smb-users.map (\\tower\flash\config\smb-users.map) user_name = user.name user_name is the name you have created in Unraid user.name is the name you have in the windows machines So two clients with both usernames will be treated as the same user (same password and permissions <- this is if acceptable to you. This should take effect immediately, or by restarting the samba service (/etc/rc.d/rc.samba restart) or by stopping and starting the array Edited March 20, 2021 by ken-ji Quote Link to comment
tragl Posted March 20, 2021 Author Share Posted March 20, 2021 thx, i'll try it. but nicer would be to remove that restriction from scratch Quote Link to comment
doug.thomas Posted March 29, 2021 Share Posted March 29, 2021 Is there any plans to remove this restriction? The documentation clearly states you can use a dot. But the software prevents it. Quote Link to comment
bonienl Posted March 30, 2021 Share Posted March 30, 2021 (edited) Made an update to allow a dot in the username. Thx. Not yet implemented, we need a bit more research! Edited March 31, 2021 by bonienl Quote Link to comment
doug.thomas Posted April 21, 2021 Share Posted April 21, 2021 Thanks ken-ji. That work-around worked like a charm. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.