add the following lines to the beginning of /boot/config/smb-extra.conf
[global]
idmap config * : backend = tdb
idmap config * : range = 1000-4000000000
Restart Samba with the command 'samba restart'
As mentioned by @Holmesware This solution conflicts with local user permissions, I kindly ask that you modify your solution. I don't know which ranges are the best, this may vary per user, and I don't know what ranges are used exactly by Unraid but i think the following values are safe
On 12/8/2021 at 8:28 PM, Holmesware said:
If I'm wrong on any of this someone please correct me, but I'm speaking from results of things I've actually done.
EDIT: setting the starting range to 1000000-2000000 did work for me in all instances.
So your config would look something like this:
Quote
SOLUTION
add the following lines to the beginning of /boot/config/smb-extra.conf
[global]
idmap config * : backend = tdb
idmap config * : range = 1000000-2000000
When you create local unraid users, it maps those users starting from 1000, that I know for certain.
You can also check the id for any user (active directory or local) by the id command in the unraid terminal
Example: "id [username/groupname]"
Edit:
I only now realized you corrected yourself, I mistakenly read your solution as ready and therefore implemented it myself, without reading any after-marks. Should've read completely the first time around
Log File: idmap_hash_initialize: The idmap_hash module is deprecated and should not be used.
in Stable Releases
Posted · Edited by marlon420bud
As mentioned by @Holmesware This solution conflicts with local user permissions, I kindly ask that you modify your solution. I don't know which ranges are the best, this may vary per user, and I don't know what ranges are used exactly by Unraid but i think the following values are safe
So your config would look something like this:
When you create local unraid users, it maps those users starting from 1000, that I know for certain.
You can also check the id for any user (active directory or local) by the id command in the unraid terminal
Example: "id [username/groupname]"
Edit:
I only now realized you corrected yourself, I mistakenly read your solution as ready and therefore implemented it myself, without reading any after-marks. Should've read completely the first time around