RBK-Serwer Posted April 27 Share Posted April 27 Hi first I got two unraid serwer old work like charm. I use also unsecure connection from windows 10 smb connection not work. Quote Link to comment
Frank1940 Posted April 27 Share Posted April 27 Windows will not permit a connection to a server using a 'guest' account (connection without a login to the server). Try this: Add a Share Access user to your Unraid server: Using Windows Manager, add a Windows Credential: I suspect that English is a second language to you. There are a set of instructions to set up your Unraid system so that it will work with Windows. But it is written in English. You can find it here: https://forums.unraid.net/topic/110580-security-is-not-a-dirty-word-unraid-windows-10-smb-setup/ Quote Link to comment
RBK-Serwer Posted April 27 Author Share Posted April 27 is not work and second i got other unraid serwer I dont setup that specify just basic smb setup all work. Quote Link to comment
RBK-Serwer Posted April 27 Author Share Posted April 27 I setup amoust 100% match from my old server diference (name serwer , user name, shares names) and on old serwer all work no addistional setup in windows just work every time. Hire check couple Youtube and post on forum , reset right , create user , create new shares nothing works. Quote Link to comment
RBK-Serwer Posted April 27 Author Share Posted April 27 One more think im sure is unraid related. I Create VM Home Assistant and install samba share. All work instant Quote Link to comment
RBK-Serwer Posted April 27 Author Share Posted April 27 I check everything 3 times Home Assistant Samba Backup Cannot Connect uknown reason Quote Link to comment
Frank1940 Posted April 28 Share Posted April 28 @dlandon, Do you have any suggestions? (I am not completely sure exactly what the OP is attempting to communicate to us...) Quote Link to comment
VRx Posted April 28 Share Posted April 28 11 hours ago, Frank1940 said: @VRx, can you help? I don't understand what @RBK-Serwer wants to tell. @RBK-Serwer could You please make a thread on Polish Support Forum? https://forums.unraid.net/forum/82-polish-polski/ Quote Link to comment
RBK-Serwer Posted April 28 Author Share Posted April 28 OK mayby I try once again I know my English no so good. I setup new unraid serwer i make all updated. I create new user add share (smb) and cannot acces to this share from windows 11 and think is windows issue. In mean while I setup VM Home Assistant is work on linux. I install Plugin Call Samba Backup and his backup all system via smb. I create new user called Backup (user backup got rw rights) make shares Backup/homeassistant. I check 3 times is password match. When start plugin I got messedge cannot acces "unknow reason" I log screen from samba backup app Than I want to tell I cannot acces to new samba shares from windows and linux base system. Quote Link to comment
RBK-Serwer Posted April 28 Author Share Posted April 28 I one more think what I try to say. I buy two licence Pro (this one serwer) and new one Basic Plus (this new serwer) I check all setting from old serwer becuse all work on this serwer smb shares , samba backup from home assistant. All setting is 100% match and on RBK-Serwer all samba shares works. New serwer HOME I try this setting and cannot acces to shares or make backup via linux to samba share. Quote Link to comment
itimpi Posted April 28 Share Posted April 28 All I can suggest is to post the diagnostics zip file from both systems to see if we can spot a difference in the way they are set up. Quote Link to comment
RBK-Serwer Posted April 28 Author Share Posted April 28 rbk-serwer is old all settings work. home is new cant setup correct samba share to work. home-diagnostics-20240428-1045.zip rbk-serwer-diagnostics-20240428-1044.zip Quote Link to comment
Frank1940 Posted April 28 Share Posted April 28 This is from your Diagnostics File. (File path and name /home-diagnostics-20240428-1045.zip/home-diagnostics-20240428-1045/shares/shareDisks.txt) I have added the last two columns to this file. The ones with the red 'plus' symbol. What share are you trying to connect to? How are you connecting? I hope you are using Windows File Explorer. Also called Windows File Manager. Do you have any Mapped Drives to this server? It is also important that you restart the Windows computer every time that you make a change to either your server or the Windows computer. (Many times, once Windows SMB is set up, it refuses to make any changes to its configuration without a restart.) Troubleshooting SMB/SAMBA issues is very difficult. We are dealing with two totally different software packages. SMB on the Windows side. SAMBA on the Linux. They are suppose to talk to each other. When things work right, everyone is happy. When they do not work right, the problem is often difficult to fix. SMB is the creation of Microsoft and the code base is proprietary. SAMBA was reversed engineered to work with Microsoft's SMB. (Microsoft did release a set of specifications a few years back that describes how things are suppose to work. But they also have total control over that specification and I suspect that they have provided only the bare essentials.) Fixing things is complex with lots of landmines that have to be avoided. That is why @Batter Pudding and I put together that paper to assist folks in setting things the way Microsoft expects SMB to be used. There are hacks that one can use to avoid doing things the way Microsoft wants but those hacks can put one into the that minefield I spoke of earlier! Quote Link to comment
dlandon Posted April 28 Share Posted April 28 Turn off Enable SMB Multi Channel. It is difficult to set up correctly and can cause issues. I'm still going through the diagnostics. Quote Link to comment
Frank1940 Posted April 28 Share Posted April 28 Just found this in your syslog: Apr 28 10:40:54 HOME smbd[11497]: Failed to open /var/lib/samba/private/secrets.tdb Apr 28 10:40:54 HOME smbd[11497]: [2024/04/28 10:40:54.725903, 0] ../../lib/util/become_daemon.c:119(exit_daemon) Apr 28 10:40:54 HOME smbd[11497]: exit_daemon: daemon failed to start: smbd can not open secrets.tdb, error code 13 Apr 28 10:40:54 HOME root: /usr/sbin/wsdd2 -d -4 This secrets.tdb is the password file for SMB. It is found in /var/lib/samba/private directory on your Unraid server. It should be generated when your Unraid server boots up. Run CHKDSK on your Unraid boot drive. Then check to see if the file smbpasswd exists in the /config folder of the boot drive. Quote Link to comment
dlandon Posted April 28 Share Posted April 28 You have different SMB listening interfaces on each server: rbk-server interfaces = 192.168.1.10/24 10.253.0.1/24 127.0.0.1 home interfaces = 192.168.1.200/24 127.0.0.1 These are from the testparm listing that shows the interfaces being used for SMB. What is 10.253.0.1? It looks like you are using Wireguard. Does this need to be setup on "home"? You have "macOS Interoperability" enabled on rbk-server, but not home. This would be enabled if you want to access SMB shares with a Mac. If you only use Windows PCs, turn it off. Quote Link to comment
RBK-Serwer Posted April 28 Author Share Posted April 28 (edited) Yes RBK-Serwer got wireguard setup that 10.253.0.1 I enable disable that on HOME "macOS Interoperability" no difference not work. Sure i can disable that and disable that for test not help "Turn off Enable SMB Multi Channel" When I have not ON this option i got all time probles on my base serwer "Random" You not have rights to Create file , folder or some copy in windows machine Edited April 28 by RBK-Serwer Quote Link to comment
dlandon Posted April 28 Share Posted April 28 1 minute ago, RBK-Serwer said: Sure i can disable that and disable that for test not help "Turn off Enable SMB Multi Channel" When I have not ON this option i got all time probles on my base serwer "Random" Create file , folder or some copy. SMB Multichannel off should have nothing to do with creating folders or copying files. That doesn't make much sense. Quote Link to comment
RBK-Serwer Posted April 28 Author Share Posted April 28 Yes You right is not make sense but simpe test folder "Documents" I go to this folder from windows and got "You dont have rights to create folder" or file. When I enable multichanel I go to that same folder create folder and is works. Im not developer just try ON and OFF and see works defference. Quote Link to comment
dlandon Posted April 28 Share Posted April 28 2 minutes ago, RBK-Serwer said: Yes You right is not make sense but simpe test folder "Documents" I go to this folder from windows and got "You dont have rights to create folder" or file. When I enable multichanel I go to that same folder create folder and is works. Im not developer just try ON and OFF and see works defference. If that is happening, you have other problems being masked by having it turned on. I would suggest you are dealing with network issues. Multichannel is a feature of SMB to use several NICs to enable multiple channels to be open at once and has nothing to do with permissions. Quote Link to comment
RBK-Serwer Posted April 28 Author Share Posted April 28 (edited) OK but but base serwer work all. In New serwer i cant acces from smb Windows , Home Assistant (Linux vm) I CHKDSK and i check smbpasswd. I disable Multi and still old serwer work new no acces Edited April 28 by RBK-Serwer Quote Link to comment
dlandon Posted April 28 Share Posted April 28 What is your network configuration and how are these servers connected. What is the Wireguard tunnel used for? Are both servers supposed to access 10.253.0.1? 1 hour ago, Frank1940 said: Just found this in your syslog: Apr 28 10:40:54 HOME smbd[11497]: Failed to open /var/lib/samba/private/secrets.tdb Apr 28 10:40:54 HOME smbd[11497]: [2024/04/28 10:40:54.725903, 0] ../../lib/util/become_daemon.c:119(exit_daemon) Apr 28 10:40:54 HOME smbd[11497]: exit_daemon: daemon failed to start: smbd can not open secrets.tdb, error code 13 Apr 28 10:40:54 HOME root: /usr/sbin/wsdd2 -d -4 This secrets.tdb is the password file for SMB. It is found in /var/lib/samba/private directory on your Unraid server. It should be generated when your Unraid server boots up. Run CHKDSK on your Unraid boot drive. Then check to see if the file smbpasswd exists in the /config folder of the boot drive. Have you looked into this? Quote Link to comment
RBK-Serwer Posted April 28 Author Share Posted April 28 ok how to force unraid to generate new files /var/lib/samba/private and secrets.tdb smbpasswd ? Quote Link to comment
Solution RBK-Serwer Posted April 28 Author Solution Share Posted April 28 I format drive make all from start and work instant Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.