Hello. I have 2 clustered server and they're using same DC. But wbinfo gives me different user with same "UID" and on every failover I'm facing with this problem. Server 1: [root at DEV1~]# getfacl a1 -n -dc user::rwx user:0:rwx user:8003:rwx group::--- group:0:--- mask::rwx other::--- [root at DEV1~]# wbinfo -U 8003 S-1-5-21-3833684748-2620639523-3326022584-1110 I moved the pool on Server2 Server 2: [root at DEV2~]# getfacl a1 -n -dc user::rwx user:0:rwx user:8003:rwx group::--- group:0:--- mask::rwx other::--- [root at DEV2~]# wbinfo -U 8003 S-1-22-1-8003 [root at DEV2~]# wbinfo -S S-1-5-21-3833684748-2620639523-3326022584-1110 8007 As you can see getfacl gives same id but winbind says this is different user... Because of the problem when i move my pool to Server2, I see different user on "getfacl" and I can't use my samba share. I think this is "winbindd" fault but setfacl using "wbinfo UID". Thats why i can't reach my samba share. How can i solve this problem? My smb.conf attached.
On Tue, 13 Feb 2018 14:03:57 +0200 Özkan Göksu via samba <samba at lists.samba.org> wrote:> Hello. > > I have 2 clustered server and they're using same DC. But wbinfo gives > me different user with same "UID" and on every failover I'm facing > with this problem. >snip> > My smb.conf attached.Sorry, but this list strips attachments, you will have to paste it into the post ;-) Rowland
Sorry for posting 2 times. I didnt reply to all. This is my config.> [Global] > netbios name = DEV2 > workgroup = test > realm = test.pvt > server string = %h Test Host > security = ads > encrypt passwords = yes > idmap config sm.pvt : backend = ad > idmap config sm.pvt : range = 10000-20000 > idmap config sm.pvt : schema_mode = rfc2307 > idmap config * : range = 8000-9000 > winbind use default domain = Yes > winbind enum users = Yes > winbind enum groups = Yes > winbind nested groups = Yes > winbind refresh tickets = yes > winbind offline logon = yes > winbind cache time = 300 > template shell = /bin/bash > template homedir = /home/%D/%U > preferred master = no > dns proxy = no > wins server = test.pvt > wins proxy = no > load printers = no > printing = bsd > printcap name = /dev/null > disable spoolss = yes > debug level = 3 > use sendfile = no > vfs objects = acl_xattr > map acl inherit = yes > acl group control = yes > store dos attributes = yes > case sensitive = true > server signing = no > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE > deadtime = 3 > min receivefile size = 16384 > aio read size = 16384 > aio write size = 16384 > max xmit = 65536 > strict sync = no > > [a1] > comment = a1 > path = /ssdpool/a1 > public = no > read only = no > inherit permissions = yes > inherit acls = yes*Özkan GÖKSU* | *Tekn. Geliştirme* | ozkan.goksu at usishi.com <goktug.yildirim at usishi.com> C : +90 555 449 88 71 | T : +90 (216) 442 7070 | http://www.usishi.com 2018-02-13 14:16 GMT+02:00 Rowland Penny via samba <samba at lists.samba.org>:> On Tue, 13 Feb 2018 14:03:57 +0200 > Özkan Göksu via samba <samba at lists.samba.org> wrote: > > > Hello. > > > > I have 2 clustered server and they're using same DC. But wbinfo gives > > me different user with same "UID" and on every failover I'm facing > > with this problem. > > > > snip > > > > > My smb.conf attached. > > Sorry, but this list strips attachments, you will have to paste it into > the post ;-) > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >