[opensuse] Odd SAMBA/BTRFS problem?
openSUSE 13.2 machine with btrfs for / Running samba-4.1.14-3.3.x86_64. Samba is configured to have the server act as a member server in a Windows Activedirectory domain. wbinfo -u and getent passwd work fine. getent passwd shows local and domain users. However, setfacl -n -R -m u:userX:rwx /testpath fails if userX is a domain user, but succeeds if userX is a local user. Using different specifications for userX ('domain\userX') still fail. Same testing, with almost identical smb.conf and other settings, works just fine on a opensuse 13.1 machine with ext4 running samba-4.1.14-3.2.i586 Any ideas or help in resolving the failure on opensuse 13.2 are much appreciated. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/29/2014 07:24 PM, Moby wrote:
openSUSE 13.2 machine with btrfs for / Running samba-4.1.14-3.3.x86_64. Samba is configured to have the server act as a member server in a Windows Activedirectory domain. wbinfo -u and getent passwd work fine. getent passwd shows local and domain users.
However, setfacl -n -R -m u:userX:rwx /testpath fails if userX is a domain user, but succeeds if userX is a local user. Using different specifications for userX ('domain\userX') still fail.
Same testing, with almost identical smb.conf and other settings, works just fine on a opensuse 13.1 machine with ext4 running samba-4.1.14-3.2.i586
Any ideas or help in resolving the failure on opensuse 13.2 are much appreciated.
Restarting nscd fixed it! I stopped nscd, then restarted smb, winbind, and nmb, and everything started working. Then I started nscd and everything is still working. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin First they came for the Jews and I did not speak out because I was not a Jew. Then they came for the Communists and I did not speak out because I was not a Communist. Then they came for the trade unionists and I did not speak out because I was not a trade unionist. Then they came for me and there was no one left to speak out for me. -- Pastor Martin Niemöller -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/12/14 06:14, Moby wrote:
On 12/29/2014 07:24 PM, Moby wrote:
openSUSE 13.2 machine with btrfs for / Running samba-4.1.14-3.3.x86_64. Samba is configured to have the server act as a member server in a Windows Activedirectory domain. wbinfo -u and getent passwd work fine. getent passwd shows local and domain users.
However, setfacl -n -R -m u:userX:rwx /testpath fails if userX is a domain user, but succeeds if userX is a local user. Using different specifications for userX ('domain\userX') still fail.
Same testing, with almost identical smb.conf and other settings, works just fine on a opensuse 13.1 machine with ext4 running samba-4.1.14-3.2.i586
Any ideas or help in resolving the failure on opensuse 13.2 are much appreciated.
Restarting nscd fixed it! I stopped nscd, then restarted smb, winbind, and nmb, and everything started working. Then I started nscd and everything is still working.
Hi It's better to use just the winbind cache unless you really need nscd for anything else. Both at the same tome really mess things up, especially when you change nss info in the directory. Even better, ditch winbind and use sssd with the new ad backend. HTH, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/02/2015 07:03 AM, lynn wrote:
On 30/12/14 06:14, Moby wrote:
On 12/29/2014 07:24 PM, Moby wrote:
openSUSE 13.2 machine with btrfs for / Running samba-4.1.14-3.3.x86_64. Samba is configured to have the server act as a member server in a Windows Activedirectory domain. wbinfo -u and getent passwd work fine. getent passwd shows local and domain users.
However, setfacl -n -R -m u:userX:rwx /testpath fails if userX is a domain user, but succeeds if userX is a local user. Using different specifications for userX ('domain\userX') still fail.
Same testing, with almost identical smb.conf and other settings, works just fine on a opensuse 13.1 machine with ext4 running samba-4.1.14-3.2.i586
Any ideas or help in resolving the failure on opensuse 13.2 are much appreciated.
Restarting nscd fixed it! I stopped nscd, then restarted smb, winbind, and nmb, and everything started working. Then I started nscd and everything is still working.
Hi It's better to use just the winbind cache unless you really need nscd for anything else. Both at the same tome really mess things up, especially when you change nss info in the directory. Even better, ditch winbind and use sssd with the new ad backend. HTH, L x
Thanks Lynn, I took a quick peek at sssd and it looks interesting. I am going to look into it further. It is is not intrusive to AD (e.g. does not require any schema extensions etc to AD), then I might go with sssd. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/01/15 19:56, Moby wrote:
On 01/02/2015 07:03 AM, lynn wrote:
On 30/12/14 06:14, Moby wrote:
On 12/29/2014 07:24 PM, Moby wrote:
openSUSE 13.2 machine with btrfs for / Running samba-4.1.14-3.3.x86_64. Samba is configured to have the server act as a member server in a Windows Activedirectory domain. wbinfo -u and getent passwd work fine. getent passwd shows local and domain users.
However, setfacl -n -R -m u:userX:rwx /testpath fails if userX is a domain user, but succeeds if userX is a local user. Using different specifications for userX ('domain\userX') still fail.
Same testing, with almost identical smb.conf and other settings, works just fine on a opensuse 13.1 machine with ext4 running samba-4.1.14-3.2.i586
Any ideas or help in resolving the failure on opensuse 13.2 are much appreciated.
Restarting nscd fixed it! I stopped nscd, then restarted smb, winbind, and nmb, and everything started working. Then I started nscd and everything is still working.
Hi It's better to use just the winbind cache unless you really need nscd for anything else. Both at the same tome really mess things up, especially when you change nss info in the directory. Even better, ditch winbind and use sssd with the new ad backend. HTH, L x
Thanks Lynn, I took a quick peek at sssd and it looks interesting. I am going to look into it further. It is is not intrusive to AD (e.g. does not require any schema extensions etc to AD), then I might go with sssd.
No. No schema extensions. Just plug it in and go. Even our boss can do it: http://linuxcostablanca.blogspot.com.es/2014/04/sssd-ad-backend-with-samba4.... It's the best we've found for a mixed windows and linux domain as it works on Samba4 DCs, file-servers and clients alike. Something winbind is not going to do any time soon. HTH, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
lynn
-
Moby