[13:51] anyone in here able to take a look at a samba config I'm running on 18.04 lts? I can view the share on my windows box, however I cannot actually write anything to it [13:51] I swear I've looked at permissions a million times but I'm missing something in there [13:55] https://pastebin.com/BuCnWf5L [13:56] I've asked in #samba too so just incase someone here knew I thought I'd bounce it off the bunch of sysadmins I know are in here lol [14:13] have to reboot this machine.... I forgot the sudo password xD [14:27] welp that's embarassing, I broke this box lol [14:49] Havenstance: Lovely. :) [14:49] Re: samba: I've had as little experience with it as possible, so sadly I'm of no help there. [15:00] eh, it's okay it's majaro anyway, I thought I read ubuntu had a 20.04 lts out now? [15:00] im gonna look in a bit and if that's true it's going on top of this manjaro lol [15:01] as far as samba goes, im thinking it just doesn't like to share with windows [15:01] It depends on the Windows [15:01] it's crabby if AD is there anywhere in the system [15:01] so I may just use a small windows xp vm to share those volumes if I can find the iso [15:02] I don't have AD that I know of, but it's Windows 10 I can see the shares but I can't read them... [15:05] and tbh im sure 10 is only being so tempermental because it heard me say I was gonna replace it with Ubuntu Studio lol [15:05] but im gonna wait for 20.04 as I now see that's coming in April :) [15:10] Havenstance: unix file permissions still apply, so what is the ownership and permissions for /media/share1 and /media/share2 ? [15:11] samba shares with windows just fine, it has for 20+yrs now, and crazily, I've been using it for longer than that. [15:12] Yeah, $lastjob had Samba for the longest time [15:12] when they moved to AD is when things started falling apart [15:13] My evidence is anecdotal though [15:15] how long ago was that? [15:16] 2015-2016ish? [15:17] Before Windows 10, for sure [15:17] jrwren, I've used it in the past with absolutely zero issues [15:17] just seems with Windows 10 things are far more quirky than they ever used to be with xp or even 98se lol [15:17] Might have been 2017 [15:18] XP to Windows 10 is quite a long jump. ;) [15:18] I'm sure there are still places though that are planning their Windows 7 migrations. ;) [15:18] well I hated 7, and 8 and 8.1 were uh to put it mildly not friendly [15:18] dude my work still has XP boxes [15:18] and I work for a mortgage company [15:19] This does not surprise me [15:19] granted those boxes do not do anything except handle file automation and their blocked from internet [15:19] but someone internal who knows what their doing could cause some serious issues lol [15:19] hang on, forgot this is linux I don't have to open anything special to get that info [15:20] i'm definitely using it with a win10 client. [15:20] works fine. [15:21] jrwren: Are you using AD at all? [15:21] no. [15:21] okay so I am seeing something strange in this terminal man [15:21] havenstance@dockerpriv:~$ ls -l /media/files [15:21] total 0 [15:22] I think the thing that you are missing is `encrypt passwords = true` in your smb.conf, but that may be default these days. [15:22] yeah, it is default true on my samba. [15:22] see yesterday it was stuck as root/root [15:23] so at least I see a change means im getting somewhere lol [15:23] isn't is /media/share1 and /media/share2? [15:24] what does ls -al /media/share1 /media/share2 say? [15:24] ls -al /media/share1 [15:24] sec [15:24] havenstance@dockerpriv:~$ ls -al /media/share1 [15:24] ls: cannot access '/media/share1': No such file or directory [15:25] I'll pull that section that defines shares from SMB.conf [15:27] did you set the password with smbpasswd? [15:28] those are spoofed share names man [15:28] oh, so it wasn't actually your smb.conf? [15:28] forgot I changed those, the originals are actually /media/plex and /media/files [15:29] nah I spoofed just the ending, figured if when you said share1 share2 I'd know to substitute those directories in the commands based on what you said [15:29] hang on I'll give you the actual config, and yes I did set password with smbpass, even set up the .conf to allow for passwordless access, I can see those directories when I run sudo mount -a and come to them from windows [15:30] just trying to put anything in it says you need permission [15:30] despite me saying chown 1000:1000 /both/sharenames [15:30] what user is 1000? [15:30] havenstance [15:30] group is haventsance on 1000 too [15:31] but you have forceuser=openmyfiles? [15:31] I'd remove the forceuser,forcegroup from the smb.conf [15:31] i'd also remove the valid users. [15:31] putting it in was an attempt to resolve too lol I'll remove that if it's not needed, the openmyfiles was another account i created and did a chown too as well [15:32] but it didn't work either [15:32] making the edits now [15:33] im trying to get these so that docker can use them cuz I wanna put a bunch of containers on this thing for plex & related stuff [15:34] you are going to run docker with storage over SMB? [15:34] so to be clear before I save this man, I'm removing forceuser, forcegroup, and validusers? [15:34] no [15:34] smb is to share that stuff to my windows machine [15:34] docker is going on this machine when I get the shares working [15:34] k [15:34] yes, remove those, they aren't needed [15:35] all the smb is for so I can drop new files in when the wife makes me buy her stuff lol [15:35] have you tried connecting with smbclient to localhsot? [15:36] oooo [15:36] something happened it let me write a file to it that time [15:36] gonna check terminal and see if it shows up [15:37] dude you just fixed it [15:37] \m/ [15:38] * Havenstance sends jrwren an e-beer [15:38] thanks. [15:38] no thank you man [15:38] now run a speed test, how fast can you copy a large file to it? [15:38] that was the most frustrating thing [15:38] I want to be filled with envy at the speed. [15:38] it's gonna be slow af I haven't disabled the offloading on the xcp-ng vm adapters yet [15:39] oh, its a VM? then I will feel no envy. :) [15:43] nvm [15:43] it is in fact transferring at gigabit [15:43] and even more [15:43] noice! [15:43] I don't have to enter a password to view my files [15:44] ITS A MIRACLE, not only did you help me get this going but you stopped the wife nagging me about the nag box lol [15:44] well, i do love me some samba. [16:01] now that I have a working config file it'll make it so much easier to setup in the future should I need to [17:12] ok so now I mapped the shares to my windows pc, and windows is saying it has just shy of a tb [17:13] that movies drive is a 4tb raid 0 and the storage is 1.5tb [17:13] NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT [17:13] sr0 11:0 1 1024M 0 rom [17:13] xvda 202:0 0 1000G 0 disk [17:13] └─xvda1 202:1 0 1000G 0 part / [17:13] xvdb 202:16 0 2T 0 disk [17:13] └─md0 9:0 0 3.9T 0 raid0 /media/plex [17:13] xvdc 202:32 0 2T 0 disk [17:13] └─md0 9:0 0 3.9T 0 raid0 /media/plex [17:13] xvde 202:64 0 1.5T 0 disk /media/files [17:22] whatever the hell I did just fixed it lol [17:58] oh man. i love this. http://librarybox.us/ [20:10] <_stink_> nice!