>> I just realized that I omitted an important piece of information and >> that is that I am using a separate EXT4 volume for my shares. I just >> did a test and it seems that shares on the same volume as sysvol and >> netlogon funtion as expected but shares on the second volume have the >> issue. >> >> I just mounted that second volume with explicit acl and user_xattr >> options in fstab, but this makes no difference.>It wouldn't, amongst the defaults for EXT4 are 'acl' & 'user_xattr' and >it shouldn't matter if the shares are on a different partition. > >RowlandI agree. Yet it does. I just did the tests on https://wiki.samba.org/index.php/File_System_Support , which went successfull, so my EXT4 volume has the necessary attributes activated. For Samba there must exist a difference in between my root volume and my data volume. This is my smb.conf currently: # Global parameters [global] netbios name = LX01 realm = DOMAIN.COM workgroup = DOMAIN dns forwarder = 8.8.8.8 server role = active directory domain controller idmap_ldb:use rfc2307 = yes [netlogon] path = /usr/local/samba/var/locks/sysvol/domain.com/scripts read only = No [sysvol] path = /usr/local/samba/var/locks/sysvol read only = No [Data] path = /data/smb/data read only = No [test] path = /test read only = No
On Mon, 6 Mar 2017 20:06:31 +0100 Bart Coninckx <info at bitsandtricks.com> wrote:> >> I just realized that I omitted an important piece of information > >> and that is that I am using a separate EXT4 volume for my shares. > >> I just did a test and it seems that shares on the same volume as > >> sysvol and netlogon funtion as expected but shares on the second > >> volume have the issue. > >> > >> I just mounted that second volume with explicit acl and user_xattr > >> options in fstab, but this makes no difference. > > >It wouldn't, amongst the defaults for EXT4 are 'acl' & 'user_xattr' > >and it shouldn't matter if the shares are on a different partition. > > > >Rowland > > I agree. Yet it does. I just did the tests > on https://wiki.samba.org/index.php/File_System_Support , which went > successfull, so my EXT4 volume has the necessary attributes > activated. For Samba there must exist a difference in between my root > volume and my data volume.No, it shouldn't matter, here is the proof that it works: smbclient -L dc1 Enter rowland's password: Anonymous login successful Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.5.3] Sharename Type Comment --------- ---- ------- netlogon Disk sysvol Disk data Disk home Disk data2 Disk images Disk profiles Disk dropbox Disk IPC$ IPC IPC Service (Samba 4.5.3) Anonymous login successful Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.5.3] Server Comment --------- ------- Workgroup Master --------- ------- Lets connect to 'data2' rowland at devstation:~$ smbclient \\\\dc1\\data2 Enter rowland's password: Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.5.3] smb: \> and here is the share in smb.conf: [data2] path = /mnt/2HD/thinkpad/rowland read only = no And here is the kicker, it isn't just on a different partition, it is on a different Disk! Rowland
>No, it shouldn't matter, here is the proof that it works: > >smbclient -L dc1 >Enter rowland's password: >Anonymous login successful >Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.5.3] > >Sharename Type Comment >--------- ---- ------- >netlogon Disk >sysvol Disk >data Disk >home Disk >data2 Disk >images Disk >profiles Disk >dropbox Disk >IPC$ IPC IPC Service (Samba 4.5.3) >Anonymous login successful >Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.5.3] > >Server Comment >--------- ------- > >Workgroup Master >--------- ------- > >Lets connect to 'data2' > >rowland at devstation:~$ smbclient \\\\dc1\\data2 >Enter rowland's password: >Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.5.3] >smb: \> > >and here is the share in smb.conf: > >[data2] >path = /mnt/2HD/thinkpad/rowland >read only = no > >And here is the kicker, it isn't just on a different partition, it is >on a different Disk! > >RowlandWhat do you know: I experimented a bit with directory depths and all of a sudden I get the security tab. Me happy. For a very short while that is, because now I cannot open the DC anymore when I want to manage it. I now get "The program cannot open the required dialog box because no locations can be found." Let's see if Google knows. BC