Hello world!!!! I realized that my samba_Server1 did not even UID & GID that the other samba_Server1 .. In summary: the share from the windows works very well. samba 1 and 2. When i run wbinfo-u (samba 1 and 2.) i'have : GUEST ADMINITRATOR .. but not [DOMAIN] GUEST [DOMAIN] ADMINITRATOR .. (strange...) When I run on samba_Server1: getent passwd guest: *: 604:608: Guest: / home/MIMOSA/guest: / bin / bash administrator: *: 603:608: Administrator: / home/MIMOSA/administrator: / bin / bash when I made the samba_Server2 : getent passwd guest: *: 600:600: Guest: / home/MIMOSA/guest: / bin / bash administrator: *: 601:600: Administrator: / home/MIMOSA/administrator: / bin / bash I'would like to have the same UID & GID on my two linux... How i do ??? I regenerate a new winbindd base : /var/lib/samba/winbindd_idmap.tdb (but no change... ) Thank you for answer... Sorry for my english writing
Hi, i found a solution Just to copie /var/lib/samba/winbindd_idmap.tdb ans restart smb & winbind. I'it okay! Regards. renato -----Original Message----- From: Renato [mailto:tutelacooldouce@hotmail.com] Sent: mercredi 10 septembre 2008 14:07 To: samba@lists.samba.org Subject: [Samba] UID&GID no same at two server... Hello world!!!! I realized that my samba_Server1 did not even UID & GID that the other samba_Server1 .. In summary: the share from the windows works very well. samba 1 and 2. When i run wbinfo-u (samba 1 and 2.) i'have : GUEST ADMINITRATOR . but not [DOMAIN] GUEST [DOMAIN] ADMINITRATOR . (strange...) When I run on samba_Server1: getent passwd guest: *: 604:608: Guest: / home/MIMOSA/guest: / bin / bash administrator: *: 603:608: Administrator: / home/MIMOSA/administrator: / bin / bash when I made the samba_Server2 : getent passwd guest: *: 600:600: Guest: / home/MIMOSA/guest: / bin / bash administrator: *: 601:600: Administrator: / home/MIMOSA/administrator: / bin / bash I'would like to have the same UID & GID on my two linux... How i do ??? I regenerate a new winbindd base : c (but no change... ) Thank you for answer... Sorry for my english writing
On Thursday 11 September 2008 05:19:47 Renato wrote:> Hi, i found a solution > Just to copie /var/lib/samba/winbindd_idmap.tdb ans restart smb & winbind. > I'it okay!There are multiple methods winbind can use to generate the uid<->sid mapping. The default being tdb, which just generates a uid on the fly. As you noticed it does not necessarily sync between machines. If you need uid sync, you are better off looking at the rid module, which generates a uid based on the windows sid. Christian Mchugh
Seemingly Similar Threads
- Problems of preserving file owership and uid&gid options in rsyncd.conf
- [Bug 34] Incorrect claim about Commercial SSH's key length
- [Bug 17484] New: lots of PGRAPH_ERROR/PROTECTION_ERROR
- [Bug 46557] New: nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1
- [Bug 69029] New: GT218 (NVA8): GPU lockup since kernel 3.11 upgrade