-
Unraid with Active Directory - Managing Permissions correctly
We are now at Unraid version 7.2.1 and Samba is installed in version 4.23.2. What is the currently recommended way to manage permissions?
-
psychofaktory started following Unraid with Active Directory - Managing Permissions correctly
-
Active Directory Extras Plugin - Allows Tweaking some AD Settings in Samba
All I can contribute in this regard is that the problems I have described above still persist.
-
Active Directory Extras Plugin - Allows Tweaking some AD Settings in Samba
Here you go. gsr-m-srv01-diagnostics-20250214-2108.zip
-
Active Directory Extras Plugin - Allows Tweaking some AD Settings in Samba
Unfortunately, the situation is still anything but satisfactory. After restarting the Unraid server, the permissions in the /mnt/user directory were all reset to owner “administrator” and group “domain-user”. In other words, the values that were set in the Active Directory settings in the SMB options as initial owner and initial group. These should also only be initial values and not be reapplied at every start, as there are also shares in the directory that require different permissions. After the restart, I also noticed that the shares stored as external storage in the Nextcloud Docker, which are also used as shares in Windows, are now no longer accessible in Nextcloud. Only when I granted full access to the “Everyone” group in Windows was it possible to access the folders in Nextcloud again. However, this makes the meaningfulness of authorization concepts completely obsolete. How can authorizations be assigned in an AD connection so that individual authorizations can be assigned within the shares under Windows, but these can still be integrated into Docker containers as volumes? Until Unraid version 6.9.2, this was still possible and my original reason for using Unraid as a system in the first place.
-
-
[7.0.0] VMs no longer receive an IPv6 address since upgrade to v7.0.0
Since upgrading from v6.12.14 to v7.0.0, my VMs can no longer obtain IPv6 addresses. Neither via DHCPv6 nor Router Advertisement. Previously this had worked without any problems. The VMs are machines with Windows Server 2019 and 2022. I have attached the corresponding diagnostic data. gsr-m-srv01-diagnostics-20250206-1738.zip
-
Active Directory Extras Plugin - Allows Tweaking some AD Settings in Samba
Today I updated from 6.12.14 to version 7.0.0. Unfortunately, after the restart, all permissions under /mnt/user/ were reset to the AD initial owner and AD initial group defined in the Active Directory settings. I then clicked “Clear Cache” in the Active Directory Extras. Now, instead of the names for owner and group, only numerical sequences (user 1938817524 and group 1938817536) were displayed. In Windows, the individual authorizations that I had assigned were still available. However, additional users and groups with the authorization “Full access” or “None” had been added (Everyone, Creator-owner, User, etc...). Instead of the administrator, Unix “User\1938817524” was specified as the owner, so that I first had to take over the ownership again to restore the authorizations. So there still seems to be some mess here.
-
Active Directory Extras Plugin - Allows Tweaking some AD Settings in Samba
I have noticed that the error in the log files always occurs when I try to access the 'backup' share as the 'administrator' user. It is completely correct that access is denied because I have entered the user 'backup' as the owner and the administrator should not have authorization to access this share. Perhaps there is a way to avoid the log being flooded with such entries in such cases. This message also only appeared if an attempt was made to access the 'backup' share with the unauthorized 'administrator'. chmod 644 /var/lib/samba/share_info.tdb This command was enough to stop the error message from appearing. When I tried to enter the second command I got the following error message: chown: invalid group: ‘root:samba’
-
Active Directory Extras Plugin - Allows Tweaking some AD Settings in Samba
After some initial tests, the new plugin seems to work very well. My initial environment: Unraid 6.12.13 Active Directory Plugin v2024.12.28 Joined to a Windows Server 2019 Active Directory My goal: Shares created in Unraid are to be used as shares in the Windows environment and assigned individual rights for specific AD groups. Simultaneously, the shares are to be integrated as external storage in a Nextcloud Docker installed under Unraid. The data contained therein should be equally accessible and editable for both Windows users and Nextcloud users. What I did: I set the recommended default values under the Active Directory Extras. I upgraded from Unraid 6.12.13 to 6.12.14 and rebooted the system. I used the “Fix Common Problems” plugin to specify which directories should be excluded from resetting folder permissions. Of particular note here are the Nextcloud data directory and the appdata directory. I then reset the permissions for the shares via “Tools” -> “Docker Safe New Perms”. I then cleaned up the remnants of the directory permissions from previous attempts using “setfacl -bn -R /mnt/user/*share*”. I then logged into the Windows domain controller as an administrator and took ownership of the relevant shares. After taking ownership, I removed all existing permission entries via the “Security” tab in Windows Explorer and only added the desired Windows users and adjusted the permissions according to my wishes. Result: The authorizations can now be assigned granularly without losing access to the shares from Windows. At the same time, it is possible to edit the relevant directories from Nextcloud. For directories created under Nextcloud within the shares, however, the permissions of the parent folders are not inherited. This means, for example, that deleting such folders under Windows is only possible if ownership has been transferred again beforehand. During my tests, several error messages also appeared in the log: Jan 8 17:40:15 UNRAID-SERVER rpcd_classic[17126]: [2025/01/08 17:40:15.145747, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:40:15 UNRAID-SERVER rpcd_classic[17126]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 17:41:18 UNRAID-SERVER rpcd_classic[17126]: [2025/01/08 17:41:18.518610, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:41:18 UNRAID-SERVER rpcd_classic[17126]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 17:42:52 UNRAID-SERVER rpcd_classic[22613]: [2025/01/08 17:42:52.993376, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:42:52 UNRAID-SERVER rpcd_classic[22613]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 17:45:51 UNRAID-SERVER rpcd_classic[28754]: [2025/01/08 17:45:51.961097, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:45:51 UNRAID-SERVER rpcd_classic[28754]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 17:47:03 UNRAID-SERVER rpcd_classic[28754]: [2025/01/08 17:47:03.209800, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:47:03 UNRAID-SERVER rpcd_classic[28754]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 17:47:40 UNRAID-SERVER rpcd_classic[28754]: [2025/01/08 17:47:40.500857, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:47:40 UNRAID-SERVER rpcd_classic[28754]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 17:50:32 UNRAID-SERVER rpcd_classic[28754]: [2025/01/08 17:50:32.989898, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:50:32 UNRAID-SERVER rpcd_classic[28754]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 17:50:40 UNRAID-SERVER flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update Jan 8 17:52:49 UNRAID-SERVER smbd[6288]: [2025/01/08 17:52:49.935118, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:52:49 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10001, gid=10015, 4 groups: 10015 10005 10006 10007 Jan 8 17:52:54 UNRAID-SERVER smbd[6288]: [2025/01/08 17:52:54.750373, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:52:54 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10001, gid=10015, 4 groups: 10015 10005 10006 10007 Jan 8 17:53:07 UNRAID-SERVER smbd[6288]: [2025/01/08 17:53:07.558010, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:53:07 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10001, gid=10015, 4 groups: 10015 10005 10006 10007 Jan 8 17:53:07 UNRAID-SERVER smbd[6288]: [2025/01/08 17:53:07.558387, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:53:07 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10001, gid=10015, 4 groups: 10015 10005 10006 10007 Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: [2025/01/08 17:57:08.563687, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: [2025/01/08 17:57:08.564307, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: [2025/01/08 17:57:08.564755, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: [2025/01/08 17:57:08.565285, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 17:57:08 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 17:57:15 UNRAID-SERVER rpcd_classic[19851]: [2025/01/08 17:57:15.132291, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 17:57:15 UNRAID-SERVER rpcd_classic[19851]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:01:30 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:01:30.934558, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:01:30 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.328534, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.328744, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.329036, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.329577, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.331757, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.332609, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.333336, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.334069, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:58.341275, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:58 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:01:59 UNRAID-SERVER smbd[6288]: [2025/01/08 18:01:59.415531, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:01:59 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:00 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:00.694283, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:00 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:00 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:00.997567, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:00 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.000125, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.000342, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.001105, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.002564, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.003950, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.004296, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.004724, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:01.010698, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:01 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:02 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:02.071838, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:02 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:02 UNRAID-SERVER smbd[6288]: [2025/01/08 18:02:02.938790, 0] ../../source3/smbd/smb2_service.c:117(chdir_current_service) Jan 8 18:02:02 UNRAID-SERVER smbd[6288]: chdir_current_service: vfs_ChDir(/mnt/user/Backup) failed: Permission denied. Current token: uid=10000, gid=10000, 13 groups: 10000 10008 10001 10009 10010 10011 10012 10013 10005 10006 10007 10003 10002 Jan 8 18:02:21 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:02:21.754213, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:02:21 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:02:44 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:02:44.972566, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:02:44 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:03:03 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:03:03.354716, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:03:03 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:03:18 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:03:18.178304, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:03:18 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:04:12 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:04:12.665815, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:04:12 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:05:06 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:05:06.513927, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:05:06 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:05:58 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:05:58.352066, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:05:58 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:08:00 UNRAID-SERVER rpcd_classic[28454]: [2025/01/08 18:08:00.467278, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:08:00 UNRAID-SERVER rpcd_classic[28454]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:09:21 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:09:21.442056, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:09:21 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:09:29 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:09:29.150278, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:09:29 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:10:02 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:10:02.214329, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:10:02 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:10:35 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:10:35.153151, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:10:35 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:11:20 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:11:20.813715, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:11:20 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:11:49 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:11:49.153780, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:11:49 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:12:15 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:12:15.016505, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:12:15 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:12:37 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:12:37.023356, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:12:37 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied) Jan 8 18:12:57 UNRAID-SERVER rpcd_classic[12054]: [2025/01/08 18:12:57.175650, 0] ../../source3/lib/sharesec.c:161(share_info_db_init) Jan 8 18:12:57 UNRAID-SERVER rpcd_classic[12054]: Failed to open share info database /var/lib/samba/share_info.tdb (Permission denied)
-
-
Active Directory Extras Plugin - Allows Tweaking some AD Settings in Samba
I would like to test the new settings as I am still affected by the problems described here. The help texts for the various options were not very helpful for me. Are there any recommendations regarding the settings for connecting to a simple Windows Server 2019 Active Directory with only one DC? For example, should I choose “rid”, “ad”, or “tdb” as the domain backend database, and rather specify “tdb”, or “ldap” as backend database?
-
[Support] kilrah/nextcloud-ffmpeg with pdlib
Now it's working for me too.
-
[Support] kilrah/nextcloud-ffmpeg with pdlib
Did the update an tried to set back the connection address from the external go-vod transcoder to internal. Then I got this error which wasn't present before: failed to connect to go-vod: cURL error 7: Failed to connect to 127.0.0.1 port 47788 after 0 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://127.0.0.1:47788/config%2Fconfig/config.
-
[Support] kilrah/nextcloud-ffmpeg with pdlib
Double checked this. The relative paths are identical in both containers. OK. Thanks to your input I played a bit around this and figured out, that both (host paths and container paths) needs to be identically on both containers. I have now adjusted this and it works!! Thank you very much!
-
[Support] kilrah/nextcloud-ffmpeg with pdlib
Thanks for the information. Tried this, but got this error: $ apt update Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ $ apt install mesa-va-drivers E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? The same from unraid console: root@ZWB2-SRV01:~# docker exec -it Nextcloud apt update Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ Double checked this. The relative paths are identical in both containers.
-
[Support] kilrah/nextcloud-ffmpeg with pdlib
Hi, Currently I have a problem getting hardware transcoding to work. My environment is as follows: Unraid 6.12.10 AMD Ryzen 3 PRO 4350G with Radeon Graphics latest Radeon TOP plugin kilrah/nextcloud-ffmpeg:latest /dev/dri is passed through into the container When trying to play a video, the log file reader says "memories: Transcode failed: Transcoder returned 408 " vainfo says: root@ZWB2-SRV01:~# docker exec -it Nextcloud vainfo error: XDG_RUNTIME_DIR is invalid or not set in the environment. error: can't connect to X server! libva info: VA-API version 1.17.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit In Memories configuration transcoding, and acceleration with VA-API are activated. Every check is listed green. I also tried an external transcoder as described here. Again every check green. But then the log of the go-vod container isn't able to find the file to transcode: 2024/07/01 10:35:06 Starting go-vod 0.2.5 on :47788 2024/07/01 10:35:22 &{Version:0.2.5 Configured:true VersionMonitor:true Bind::47788 FFmpeg:/usr/local/bin/ffmpeg FFprobe:/usr/local/bin/ffprobe TempDir:/tmp/go-vod ChunkSize:3 LookBehind:3 GoalBufferMin:1 GoalBufferMax:4 StreamIdleTime:60 ManagerIdleTime:60 QF:24 VAAPI:true VAAPILowPower:false NVENC:false NVENCTemporalAQ:false NVENCScale:cuda UseTranspose:false ForceSwTranspose:false UseGopSize:false} 2024/07/01 10:35:23 /mnt/Share/PATH TO VIDEO.mp4: No such file or directory 2024/07/01 10:35:23 Error creating manager exit status 1 In this case the log file reader says: "memories Transcode failed: Transcoder returned 500" Any ideas what can be done to get transcoding working?
-
Upgrading AD Integrated 6.9.2 build - Private Share Access Issues [Solution not found yet]
Wow, many thanks for your tireless efforts. I'm stunned that so little attention has apparently been paid to the Samba configuration by the Unraid team for some time now. Hopefully your meticulous analysis will lead to better attention being paid to this issue in the near future and thus make the whole Samba integration under Unraid more reliable.
psychofaktory
Members
-
Joined
-
Last visited