[Samba] winbind is it possible to have the same uid and gid numbers everywhere?
Hi Is it possible simply to have the uid/gid pair I set on the server on the clients too? Cheers, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] winbind is it possible to have the same uid and gid numbers everywhere?
On 02/08/12 13:54, NdK wrote: Il 02/08/2012 13:21, steve ha scritto: Is it possible simply to have the uid/gid pair I set on the server on the clients too? Yes and no. Actually, it depends on your setup. If you have a domain, you can. If not, I doubt... BYtE, Diego Hi Diego Yes, I have a Samba4 domain with Samba3.6 Linux clients attached. It works OK but the idmap is really confusing. I'd like to be able to use getent passwd and see the same uid:gid pair of numbers on both DC and client. At the moment, the client side ignores the idmap uid range and bases everything in the idmap gid range instead. Maybe that is a bug in Samba3? Client smb.conf: [global] realm = polop.site workgroup = POLOP security = ADS wide links = Yes unix extensions = No template shell = /bin/bash winbind enum users = Yes winbind enum groups = Yes idmap uid = 30-40 idmap gid = 2-3 Ubuntu 12.04 Samba4 DC and Ubuntu 12.04 Samba3 clients. Is what I want a possibility? Cheers, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] winbind is it possible to have the same uid and gid numbers everywhere?
Il 02/08/2012 16:19, steve ha scritto: At the moment, the client side ignores the idmap uid range and bases everything in the idmap gid range instead. Maybe that is a bug in Samba3? Don't know... I always kept 'em in the same range. [global] realm = polop.site workgroup = POLOP security = ADS wide links = Yes unix extensions = No template shell = /bin/bash winbind enum users = Yes winbind enum groups = Yes idmap config POLOP : backend = rid idmap config POLOP : base_rid = 500 idmap config POLOP : range = 30-40 Is what I want a possibility? For sure if you keep the same range for UIDs and GIDs. That's what I'm doing since 3 years from PCs joined to an AD (win 2k3) domain that needed access to NFS home (hence consistent UID/GID mapping is a must). And across 2 domains (well, really more, but I was not interested in the others). Another (better) fix would be to store uid and gid in Samba schema, but I can't help you with that sine I can't alter our schema. BYtE, Diego. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba