[Samba] wbinfo -U id gives different users on same dc
Özkan Göksu
ozkan.goksu at usishi.com
Tue Feb 13 12:03:57 UTC 2018
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.
More information about the samba
mailing list