Answer the question
In order to leave comments, you need to log in
Samba flies idmap, what could be the problem?
Good day!
Caught jokes on a file server. Already 3 weeks on the night from Wednesday to Thursday user rights on network folders fly off. I looked into the logs and couldn't find anything there. But according to the symptoms, it looks like idmaps are being rewritten, i.e. for example, if DOMAIN\admin was originally written at 10000, then by Thursday morning it turns into DOMAIN\viktor.tsoy or DOMAIN\gruppa-krovi-na-rukave. The configs used by the samba - krb5 - nsswitch - winbind bundle are attached with spoilers. On this configuration, there were no problems with entering the domain. This question only torments me.
Answer the question
In order to leave comments, you need to log in
Use rid, then the user uid will be taken from the SID of the domain account (the part after the last dash).
idmap config NT AUTHORITY : base_rid = 0
idmap config NT AUTHORITY : range = 1200000-1299999
idmap config NT AUTHORITY : backend = rid
idmap config BUILTIN : base_rid = 0
idmap config BUILTIN : range = 1000000-1099999
idmap config BUILTIN : backend = rid
idmap config ваш_домен : base_rid = 100
idmap config ваш_домен : range = 100-999999
idmap config ваш_домен : backend = rid
idmap config ваш_домен : default = yes
idmap config * : range = 1300000-1999999
idmap config * : backend = rid
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question