Answer the question
In order to leave comments, you need to log in
How to get rid of huge UID and GID values in SAMBA+winbind?
Greetings.
I set up authorization in the Debian system through the Windows domain controller according to this manual. Everything went fine: I get tickets, I "entered" the domain, I also get a list of users and groups. But users and groups, despite the Samba settings, have ten-digit UIDs and GIDs.
# getent passwd
...
eroshinats:*:4294967295:4294967295:Ерошина Татьяна Сергеевна:/home/CRB/eroshinats:/bin/bash
sobolevamv:*:4294967295:4294967295:Соболева Марина Викторовна:/home/CRB/sobolevamv:/bin/bash
...
Answer the question
In order to leave comments, you need to log in
I recommend setting up the backend not tdb, but rid, I did 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 <домен> : 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