Search the Community
Showing results for tags 'samba'.
-
if i build a small computer in a nas case(Please help me find a nas case), put windows on it and use it as a nas with a backblaze pc backup subscription on it to keep all my dta backed up, (I wouldn't need very much bandwidth to it anyway), is it a good idea? What would the specs need to be for such a computer? Would a 2 core celeron be enough along with 8gigs of ram? It would mainly be used for backups. Also, any idea on how i could set up a decent local file sharing program? Windows samba file transfer only works on wondows and is quite crappy tbh, (I would have it backed up to backblaze anyway so i could access all the data from my phone if i need to but, say from my laptop which would be on the same LAN, is there a good way to access it other than making it a network drive?) update: why can’t I find a single NAS case under 400 usd?
-
I work for a company that recently moved away from a Windows Server 2008 hosted file share, and migrated to TrueNAS Scale. I have nothing but good things to say about the Truenas platform and the increased read/write of ZFS. Recently we have been running into a problem where files are being locked/opened as read-only by users, even when the file is not in use. TrueNAS, unlike vanilla SMB, blacklists socket options in the auxiliary parameters, making the TCP timeout options for incorrectly closed files hard to achieve. My usual solution is to restart the SMB share (not service) and kick any dead connections off. This is obviously not ideal and could cause some issues, I'd like to reach out and ask if anyone else has had similar issues, and or solutions to this problem. Here are the details of my share for reference. Use Case: TrueNAS Scale Bluefin 22.12.2 Hosted SMB Share The network is comprised of Windows machines, Running Windows 10 and 11. Some older equipment running Windows 7 that cannot be updated. Global SMB Service Settings: Workgroup WORKGROUP Enable SMB1 Support: False NTLMv1 Auth: False UNIX Charset: UTF-8 Log Level: Minimum Use Syslog Only: False Local Master: False Enable Apple SMB2/3 Protocol Extensions: False Administrators Group: itadmin Guest Account: nobody File Mask: Blank (Default 0666) Directory Mask: Black (Default 0777) Bind IP Addresses: Blank Auxiliary Parameters: aio read size = 16384 aio write size = 16384 ea support = no store dos attributes = no map archive = no map hidden = no map readonly = no map system = no hide dot files = yes case sensitive = yes delete veto files=yes veto files = /Thumbs.db/.DS_Store/ read only = no strict locking = no Share Parameters: No Preset ACL Enabled: True Browsable to Network Clients: True Allow Guest Access: True Enable Shadow Copies: True (For using snapshots/windows restore previous versions) Enable Alternate Data Streams: True
-
- truenas scale
- samba
-
(and 1 more)
Tagged with:
-
i have a computer running linuxmint. i want to be able to access its files from my windows 10 pro computer. i decided to use samba. i used this guide and this video to help me setup samba. setup seemed to work fine. i then tried to access the files from windows by typing in \\{linuxcompip}\share in windows file manager. it then asked me to login so i typed in the name and password i setup but then it tells me that windows cant access the files. on this form someone had a different issue i did, but i thought that it was similar enough that i could try it. (bad mistake), i tried this fix and now when i type \\{linuxcompip}\share again, but this time it doesn't ask me for a password, it just straight up tells me i don't have permission to access the files. i tried to reverse what the form told me to do, but i wasn't successful. i tried then to acces it from linux using the method provided in the original guide using the terminal, and i get this NT_STATUS_ACCESS_DENIED anyone here who knows what i should look at to see what the problem is?
-
i have a computer running linuxmint. i want to be able to access its files from my windows 10 pro computer. i decided to use samba. i used this guide and this video to help me setup samba. setup seemed to work fine. i then tried to access the files from windows by typing in \\{linuxcompip}\share in windows file manager. it then asked me to login so i typed in the name and password i setup but then it tells me that windows cant access the files. on this form someone had a different issue i did, but i thought that it was similar enough that i could try it. (bad mistake), i tried this fix and now when i type \\{linuxcompip}\share again, but this time it doesn't ask me for a password, it just straight up tells me i don't have permission to access the files. i didn't like that my files were not password protected, so i tried to reverse what the form told me to do, but i wasn't successful. anyone here who knows what i should look at to see what the problem is?
-
I'd like to begin by saying all my data is safe and my drive is back to normal, but as a linux novice I really don't know what happened nor why my solution worked, which bothers me. Also, this post may be better suited to another subforum but I'm assuming it's linux related just because it's the least understood (for me) part of the process. I have had a Raspberry Pi 4 acting as a NAS using Samba on Debian (set up using PuTTY from a windows machine, and accessed as a mapped network drive in windows) for over a year now, using just the MicroSD as the storage device with absolutely no issues. Yesterday, I added a SATA SSD using a USB adapter. I used fdisk to create a partition, mkfs.ext4 to create the file system, and cp to copy all files from the MicroSD to the SSD. After mounting, I edited the smb.conf file to point to the SSD directory rather than that of the SD card. I was able to use this all day, reading old files, writing and reading new files as well. This morning, I couldn't read a file, then I noticed the vast majority of the files were missing. In Windows Explorer, the network drive read 0 bytes free of 50-something GB (it's was formerly reading correctly as a 230GB drive). I went into Debian and ran fsck -p on the device which, after a few minutes, appears to have completely corrected the issue. So again, all of my files are fine and they're also backed up. However, some insight as to what could have happened here would be greatly appreciated. Thanks in advance!
-
I have been trying to fix this for days, I use a Freenas server for just about everything, I use one SMB share that works fine on my laptop running Endeavor OS and my sisters Macbook. My desktop usually runs Garuda but I broke the install and probably switching to Artix. So for now i'm using Windows 10. I have tried, tried remapping the drive but no dice. For whatever reason despite the server clearly being online and using it daily, Windows claims it's offline and won't let me log in. I've followed a ton of tutorials but haven't made any progress. How can I get this server back online?
-
I have a Ubuntu 20.04 LTS server with samba set up on it but even after my ISP confirmed that port 445 was unblocked it still just doesn't work (it works locally but not via the internet which I need because I need to access a server in a different place and SFTP and stuff like that isn't an option) so I am looking into changing the samba port but any guide I have looked at so far says to look for something like "port" "smb port" or something similar in the smb.conf file and I just cannot find something like that in there. It would be helpful if I could either change the samba port or somehow reroute the traffic on port 445 to another port. I tried something with "iptables" but that failed as well.
-
I just watched this video on using iSCSI for Steam and feel like it's missing a ton of content that would help me better understand how it works and possible use cases: I understand the concept, but as soon as I try to implement it, I think I'll run into some major snags. I already have plenty of storage on my PCs as it is, but having dedicated storage just for my Steam library would be nice; although, I'd need to upgrade my machines from 2.5Gb to 10Gb Ethernet which costs more than buying larger SSDs. Right now, I'm trying to figure out use cases: I don't believe this is compatible with DirectStorage, but maybe it is if I use only SSDs in TrueNAS? Not sure what Windows looks for in terms of DirectStorage compatibility. Since this formats as NTFS on top of ZFS, is there a problem with snapshots or other ZFS utilities? This sounds a lot like LVM where you're creating a virtual filesystem on top of a real one; almost like a virtual machine. Can that iSCSI NTFS share be read by TrueNAS, or is it something only that one Windows machine can read? I'm wondering what happens if I want to modify that data from another PC or if I reformat Windows. Is there a reason why I wouldn't use this for file sharing drives? Is it because each computer has to have its own iSCSI filesystem? Network drives are for multi-machine but iSCSI are for single machine?
-
- network drive
- samba
-
(and 2 more)
Tagged with:
-
Hey Guys, I work a lot so I only have a couple random hours each day to work on this but I've barely any idea where to start. The power flickered in my room where my little server is running and restarting it doesn't help. My network folders aren't there on other computers, so I started with seeing if ZFS is working properly on the Ubuntu Server, it says no pools available, zfs list shows lo datasets avaailable. It's a pretty basic setup where I've got 3 hard drives plugged in as network storage, using a samba share, I'm just not sure where to start. I did also run df, which showed the drives as: Which I believe reassures me that my stuff isn't gone, just hidden in limbo.
- 3 replies
-
- ubuntu server 18.04
- zfs
-
(and 1 more)
Tagged with:
-
So, I'm setting up an Ubuntu server that should host network storage for the rest of the house, where Linux and Windows machines exist. I've created a raidz pool and shared it using Samba, although I haven't messed with the Samba config file at all. Instead, I just added my user to Samba (smbpasswd -a <user>), and changed ownership in the root folder of the storage pool (with -R) to the group "sambashare". I changed permissions to 770, as everyone in "sambashare" should have full access, whereas anyone without authentication should have none. From windows, I connected to the shared folder using the password set on the server with smbpasswd and got access as expected. Then I proceeded to copy a bunch of files from the Windows PC to the samba share. It went fine, as far as I can see. The problem is, the folder I copied (I assume the files within as well) have "owner <user>, group <user>", not "sambashare", and therefore other users with permissions to the main folder cannot write inside the folder I copied. This is not intended behavior: inside the share it should be free for all for any authenticated user that's a member of sambashare. I can change ownership and permissions of those files after the fact, but that's clearly impractical. How should I configure either Linux's permissions or Samba so that anything added to the shared folder and its subfolders, especially when done from client computers, is by default available with full access to all members of "sambashare"?
-
Long story short I'm trying to connect my 2009 Imac (MacOs 10.13.6) to my PopOs Samba share (Ubuntu 18.04) on my lenovo yoga book locally. I used this tutorial: https://ubuntu.com/tutorials/install-and-configure-samba#1-overview So everything appears to have gone as it said it should. I saw on my finder window under 'Shared' SAMBA24 which I recognized under the smb.conf so I tried connecting but it keeps giving me the "cannot connect to server maybe it doesn't exist or you typed in the ip wrong" blah blah blah. So I changed the name of the samba under smb.conf just to see what would happen and sure enough the name under 'Shared' in finder changed...but can't connect. I tried doing it manually by hitting >go>connect to server> and typing every version of smb://ip/ or smb://ip/sambashare that I could think of and nothing. It certainly isn't an issue of them seeing each other because of the name being able to change and my Popos laptop can access a samba share on my mac if I set it up....but that's not what I'm trying to do. Further more I have tried doing research on the smb.conf to see if there's anything I was supposed to mess with but besides interfaces and host allow nothing else would make sense to do (ontop of that I'm afraid attempting to mess with those has only made things worse). I need help to say the least. Could this be an issues of something I'm unaware of like PopOs having their own weird configuration that I just clashed with my set up or that this guide is out of date? Could it even be my mac? Please and thank you ahead of time that's really all the info I can give atm. Thank you in advance.
- 13 replies
-
- samba
- samba share
-
(and 3 more)
Tagged with:
-
Hello, I am trying to have a samba and owncloud server running on my raspberry pi. I am trying have them run off of a 2TB external drive. I can have on or the other running at any given point but not both of them running of the external drive at the same time. I know that the problem is due to permission so what I was wondering if anyone know how to change the user that smaba or owncloud uses to access files from the raspberry pi or any other solution would be greatly appreciated. Thanks squackley!
-
- raspberry pi
- samba
-
(and 1 more)
Tagged with:
-
So I've been trying to get a webserver set up and also need to get Samba share to be working. Below is what happens when I try to install any software that touches those two packages. Any ideas other than a clean install to fix this?
-
Recently, I upgraded to windows server 2012r2 from windows server 2008 due to some issues with samba shares and non-windows based platforms. it's now working, but I've been looking into remote samba shares. i really don't know how to do it and researching on how to do it on windows has been very difficult. Any help or advice is much appreciated
-
Hello everyone. I've been recently trying to set up a samba server for home file sharing. I'm trying to create a share that my whole family can access and write to, even if the file or directory isn't owned by them. For some reason Samba is ignoring my config (unless I did something wrong) and it is creating new directories with a 0750 permission, meaning that only the creator of the directory can put files in it. Any help would be appreciated, below is my samba config.
-
Hey all =) Ive been doing some research on bcache for a nas/webserver setup. Most tests i've seen have only shown marginal improvements with a SATA drive; Is it possible to use a partition of my nvme boot drive as a 60gb bcache for a 2TiB Sata drive? If it is, is it even worth the effort? The plan was to have general use files in the 2TiB drive for web stuff and dev projects. Thanks =)
-
Hi Guys! We are about to move from being mostly Mac-users at my company, to buying new windows 10 based laptops. The issue i am having is with samba login. In Macs file manager i have an option to switch which user i am logged in as on my samba share. A little button that says "Connect as..." This is a very important choice to have, as most of our users are only guest-accounts, and the IT-admins have user-accounts to access software shares. The guest users are students and are not supposed to have access to the software share. The problem is that i cannot find a simple solution to this problem on windows. Linux and Mac work fine. I know about the CMD solution to unmount with a command and then mount with another command. This to me is an unnecessary complicated process, when i know that SHOULD be possible to just have the simple function. I have googled and tested various file managers for windows, but no one had the function i am looking for. Help me please! Kind regards, Will
-
Hello guys, I'm here because is need help with Samba. I'm actually running à samba share on an lxc container. I'm using samba 4.3.11 on Ubuntu 14.04.5 My problem is that I can't access that share from certain computer. I have Windows Server 2012 running on a container which connects without any problem. My laptop connects aswell without any problem (Windows 10 Family, build 15036.138) but my desktop definitly doesn't want to (Windows 10 Family, build 15036.138) . I hope you can help me. I don't which informations you could need so feel free to ask. I hope my english didnt hurt your eyes too hard =D Have a good day, TheMineGeek
-
ubuntu Please help (Samba)
Joseph Stacklin posted a topic in Linux, macOS and Everything Not-Windows
Okay, so I have several shares set up. I can access all of mine, however my family also wants storage on the server. I said "sure" since I have 5TB and most likely don't have enough pron to download and fill up that space. I set up their shares and created a username/password for them to use on the server. "All is well, then?" NO! No it is not! On my machine I can access all of their files (because I am SUDO'ed and I have higher perms than they have), however on their computers they can't access their own folders because Windows 10 keeps kicking out an error saying "The specified network password is not correct." I know the password is correct, same with the user names! I have attempted login with both just the username, and the server (Deltanet) followed by the username (ie: "Deltanet\judy72"). Does anyone know the magic sauce that I am missing? Or am I just SOL and need to create separate partitions for them to use, then setting group/user policy on those drives (I'd prefer this as a last resort to prevent data loss). Below is the version info about Ubi as well as the Windows 10 Build info. Ubuntu: 16.04.2 (LTS) Windows 10: Edition: Pro; Version: 1607; Build: 14393.953 Thanks in advanced to anyone who can save me. -
This is my Samba share [www] read only = no path = /var/www/ valid users = ciaran,seaurchin create mask = 0775 When I mount on my remote computer as user seaurchin it mounts read only. I have tried adding writeable = yes and that doesent help. Any ideas ?
-
In my home I run a Windows 7 box with UniFi, Plex, and some Samba shares. I have it configured with a static IP and DMZ hosted for access outside the home network. Recently, my main rig couldn't find the server. It appeared on the network, but could not connect. I did the windows troubleshoot, and it said the server was online but not responding. I already checked that the firewall was off and the network was set to private. I also tried using a spare router in hopes of it working. I do run microsoft security essentials to keep the PC, secure. Not shure if that's the problem. I also tried to update the PC but no luck. Also, when i go to the folder im sharing, if i right click and click on properties, then sharing, the server momentarily freezes and explorer sometimes crashes. Please help as i really need this server to work as soon as possible. Thanks in advance.
-
And here I am again! Back on the Linus tech tip forum. Basically my problem this time is slow transfer speeds when transfering to the computer. Copying from the computer is fine but to it then we have a problem. You see for yourself which one is copying to the computer. The other 2 images are speed tests ones on a SMB protocol and the other is on TDP protocol. So it's just when it comes to real world use of file transfer that I get the slow copy speeds. Anyone care to shine some light? Thanks. EDIT: Cable from pc to rj45 plate this runs in the wall to router, then rj45 cable out from wall plate by router into the back of the router. My phone is connected by WiFi.
-
OK so I've been trying to set up a home server the last few days. 2 days ago I got Samba working on Debian 8.6 (finally) and I could access the files from the Windows computers at home and I copied the files from our old hard drives over to the network. Then yesterday I shut the computer down to re do some cabling and stuff and I was working on trying to get it so I could access the home server even when not on the network when I realized it wasn't even visible on my home wifi network anymore. Wat. So following some instructions I completely reinstalled Samba with : sudo apt-get remove --purge samba sudo apt-get install samba and then sudo apt-get remove --purge smbclient libsmbclient sudo apt-get install smbclient libsmbclient (Well without the sudo. I already used su so I was root). And I went into the smbd.conf file and edited it to add all my network shares at the end, and... It worked. It showed up. But then completely randomly it disappeared from the network. So I want to make sure, after reinstalling Samba, is this what you're supposed to do, assuming I have folders /home/user/family, /home/user/user1, and /home/user/user2 that I want to setup and users user1 and user2 and both should be able to access family, only user1 access user1, and only user2 access user2 (also assuming I've already made the folders)? smbpasswd -a user1 (enter password) smbpasswd -a user2 (enter password) chown user1 /home/user/family chown user1 /home/user/user1 chown user2 /home/user/family chown user2 /home/user/user2 cp /etc/samba/smb.conf /etc/samba/smb.bak (just in case) nano /etc/samba/smb.conf Now, I'm not sure on what I'm supposed to do with the smb.conf file. Do I just add in the following to the end? Do I delete everything and redo it? [family] path = /home/user/family valid users = user1, user2 read only = no [user1] path = /home/user/user1 valid users = user1 read only = no [user2] path = /home/user/user2 valid users = user2 read only = no Any help is greatly appreciated