Answer the question
In order to leave comments, you need to log in
How to force SAMBA to use the specified RID?
Hello!
Please tell me how to force SAMBA included in the domain to use the specified RID, otherwise local users intersect with domain ones.
I tried to add to the config what Rsa97 recommended ( How to get rid of huge UID and GID values in S... ), but it didn't help.
getent passwd
n.bahareva:*:10384:10000:Бахарева Н:/home/n.bahareva:/bin/bash
m.popov:*:10386:10000:Попов М:/home/m.popov:/bin/bash
S-1-5-21-833212901-2941102506-3986841923-4131
S-1-5-21-833212901-2941102506-3986841923-4132
Answer the question
In order to leave comments, you need to log in
It turned out if you comment out
leaving it like this:
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 MOVAVI : base_rid = 1000
idmap config MOVAVI : range = 50000-88999
idmap config MOVAVI : backend = rid
idmap config MOVAVI : default = yes
idmap config * : range = 1300000-1999999
idmap config * : backend = rid
You specified in the config that RIDs in the domain start from 50000 (the base_rid parameter), and in the given SIDs the RID values are 4131 and 4132. Accordingly, an error occurs.
rid_backend thinks like this: UID = RID - BASE_RID + LOW_RANGE_ID
If you want, say, the RID range from 1000 to 19999 to be converted to the UID range from 10000 to 28999, then specify
idmap config MOVAVI : base_rid = 1000
idmap config MOVAVI : range = 10000-28999
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question