Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 9 of 9 FirstFirst ... 789
Results 121 to 132 of 132

Thread: Movie list directory sort order

  1. #121
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,630
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    Quote Originally Posted by Willo3092 View Post
    I can now use the NAS share for timeshift and recordings and both confirmed working.
    Is this with "unix_extensions" enabled or not. Please check timeshift actually works with no error messages in timeshift or permanent timeshift.
    Help keep OpenViX servers online.Please donate!

  2. #122
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 Posts
    I haven't changed anything in smb-user.conf unless you want me to try it.

    Timeshift and recordings are working fine to my NAS now and I have confirmed that both work okay.

    This is by adding the cifs option to Timeshift.py and Recordings.py.

    Will this be updated in the ViX image or will I need to include the files in my backup settings? I appreciate that very few people record to a NAS.

  3. #123
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,793
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by ccs View Post
    Unix extensions are off by default, the line unix extensions = Yes would need adding to /etc/samba/smb-user.conf.
    This is something you'd need to do on the server, as well as the Vix box.

    But it is on by default...

    unix extensions (G)

    This boolean parameter controls whether Samba implements the CIFS UNIX extensions, as defined by HP. These extensions enable Samba to better serve UNIX CIFS clients by supporting features such as symbolic links, hard links, etc... These extensions require a similarly enabled client, and are of no current use to Windows clients.
    Note if this parameter is turned on, the wide links parameter will automatically be disabled.
    See the parameter allow insecure wide links if you wish to change this coupling between the two parameters.
    Default: unix extensions = yes
    Last edited by birdman; 20-11-21 at 23:33.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  4. #124
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,793
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by Willo3092 View Post
    Does it only show when it's in use? It only appears in /media/autofs/ when I'm actually using it.
    That's correct.
    The whole point about automount is that it mounts on request. And unmounts when no longer in use.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  5. The Following User Says Thank You to birdman For This Useful Post:

    Willo3092 (20-11-21)

  6. #125
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 Posts
    All working now anyway. Thanks to everyone for the help

  7. #126
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by birdman View Post
    This is something you'd need to do on the server, as well as the Vix box.

    But it is on by default...

    unix extensions (G)

    This boolean parameter controls whether Samba implements the CIFS UNIX extensions, as defined by HP. These extensions enable Samba to better serve UNIX CIFS clients by supporting features such as symbolic links, hard links, etc... These extensions require a similarly enabled client, and are of no current use to Windows clients.
    Note if this parameter is turned on, the wide links parameter will automatically be disabled.
    See the parameter allow insecure wide links if you wish to change this coupling between the two parameters.
    Default: unix extensions = yes
    No, it's off by default on ViX, and my Synology Nas makes no reference to it, one way or the other in its configs or gui, so maybe it is on.

    ViX default...
    Code:
    root@vuultimo4k:/etc/samba/distro# ls -l smb-global.conf
    -rw-r--r--    1 root     root          1516 Nov  9 20:37 smb-global.conf
    root@vuultimo4k:/etc/samba/distro#
    Code:
    root@vuultimo4k:/etc/samba/distro# cat smb-global.conf
    [global]
            # CVE-1999-0519 and CVE-2000-1200
            access based share enum = yes
            restrict anonymous = 2
    
            disable netbios = Yes
            min protocol = SMB2_02
            smb ports = 445
            ntlm auth = yes
    
            workgroup = WORKGROUP
            security = USER
            guest account = nobody
            map to guest = Bad User
            username map = /etc/samba/private/users.map
            min receivefile size = 16384
            use sendfile = Yes
            aio read size = 16384
            aio write behind = true
            aio write size = 16384
            smb passwd file = /etc/samba/private/smbpasswd
            passdb backend = smbpasswd
            idmap config * : backend = tdb
            obey pam restrictions = Yes
            max stat cache size = 64
            unix password sync = Yes
            pam password change = Yes
            server multi channel support = Yes
            passwd program = /usr/bin/passwd %u
            passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    
            # Disable printer support for now
            disable spoolss = Yes
            load printers = No
            printcap name = /dev/null
    
            unix extensions = No
            allow insecure wide links = Yes
    
            strict locking = no
            oplocks = yes
            kernel oplocks = yes
    
            include = /etc/samba/distro/smb-branding.conf
            include = /etc/samba/distro/smb-shares.conf
            include = /etc/samba/distro/smb-vmc.conf
    
            include = /etc/samba/smb-user.conf
    root@vuultimo4k:/etc/samba/distro#
    Last edited by ccs; 21-11-21 at 09:52.

  8. #127
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by birdman View Post
    That's correct.
    The whole point about automount is that it mounts on request. And unmounts when no longer in use.
    Mine doesn't show when I change the location in movielist to the NAS. I see a listing, but it only shows in/proc/mounts when I start playing a recording.

    EDIT: It shows for a second or so after a reboot and then disappears, so that probably sets up /media/autofs/SYNOLOGY, the movielist.
    Last edited by ccs; 21-11-21 at 10:10.

  9. #128
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,793
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by ccs View Post
    No, it's off by default on ViX,...
    Perhaps that should be changed, given that it is needed?
    Or, if it's felt that the default needs to be off (why?), there should be a menu item to toggle it.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  10. #129
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by birdman View Post
    Perhaps that should be changed, given that it is needed?
    Or, if it's felt that the default needs to be off (why?), there should be a menu item to toggle it.
    It's (unix extensions) been set to off for at least 4 years, maybe @Willo3092 can try it out? I'm setup differently (nfs) so can't oblige.
    Last edited by ccs; 21-11-21 at 15:28.

  11. #130
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 Posts
    Quote Originally Posted by ccs View Post
    It's (unix extensions) been set to off for at least 4 years, maybe @Willo3092 can try it out? I'm setup differently (nfs) so can't oblige.
    What do you need me to do?

  12. #131
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by Willo3092 View Post
    What do you need me to do?
    Start at post #114.

    Maybe add two lines rather than just the one mentioned earlier...

    Code:
            unix extensions = Yes
            allow insecure wide links = No

  13. #132
    Willo3092's Avatar
    Title
    ViX Beta Tester
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    1,067
    Thanks
    752
    Thanked 403 Times in 303 Posts
    Okay added both lines to the global section of smb-user.conf

    Now all shares appear in /media/autofs/ using autofs CIFS

    Is that what we're trying to achieve?

    1_0_19_22D9_80D_2_11A0000_0_0_0_20211121144936.jpg
    Last edited by Willo3092; 21-11-21 at 16:12.

Page 9 of 9 FirstFirst ... 789

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.