Jump to content

i put centos 7 on my file server (freenas shit the bed with plex randomly ) with a buddy of mine helping me, atm its been 3 days of on and off trying different things to get windows to first see the share then allow me to access it which is still broken .

 

if anyone has a good guide for setting up samba/CIFS that would be great . all the ones i found are useless since most of the info has no use anymore such as there was a section just for guest shares thats now no longer there . or is for the other way from linix accessing the windows machine . i did try this and i was unable on my windows machine to drop files in only on centos it worked . atm im only trying to get no password no user access since of the pain this is . yes i know it should do it with a user/PW but i just want it to work before i do that .

i got x2go, docker and plex all working fine just dam shares ant happy .

 

just to be clear  im able to see the folder i am sharing  from centos 7 but cant open it on the windows machine all i get when i open properties is special permissions is checked even thou i have guest access allowed , the folder set correct i am sharing   and all other lines correct

edit i can upload the samba config if anyone needs it

 

thank you if anyone can help me

main rig

Spoiler

 corsair 750d | evga 1000w g2 | Gigabyte x99 soc champ | 5820k 4.0GHz | 1tb wd blue | 250gb samsung 840 evo  | Crucial Ballistix Sport XT 16GB 8x2 DDR4-2400 | MSI GTX 970 x2 | monitor Acer B286HK 28" 4K | razor chroma blackwidow  | razor death adder chroma

CENTOS 7 SERVER (PLEX&docker stuff)

Spoiler

NZXT s220 | evga 500w 80+ | AMD FX 8320e | ASUS M5A78L-M/USB3 | 2x8gb non ecc ddr3 WD red 2TBx2 | seagate 160gb microcenter 8gb flashdrive OS

 

Link to comment
https://linustechtips.com/topic/619664-centos-7-cifssamba-help/
Share on other sites

Link to post
Share on other sites

38 minutes ago, Ronda said:

Did you set the samba share as readable on the host?

What's the output of


ls -la /samba/

 

ls: cannot access /samba/: No such file or directory


is what i get.

this is the first time im playing around with linix so be gentle i dont know much about how to get everything going yet . im guessing something is screwed up is my guess i didnt set something  up right ? i did enable both snb and smb and same with putting samba into the firewall and reload it also just wanted to add that in

main rig

Spoiler

 corsair 750d | evga 1000w g2 | Gigabyte x99 soc champ | 5820k 4.0GHz | 1tb wd blue | 250gb samsung 840 evo  | Crucial Ballistix Sport XT 16GB 8x2 DDR4-2400 | MSI GTX 970 x2 | monitor Acer B286HK 28" 4K | razor chroma blackwidow  | razor death adder chroma

CENTOS 7 SERVER (PLEX&docker stuff)

Spoiler

NZXT s220 | evga 500w 80+ | AMD FX 8320e | ASUS M5A78L-M/USB3 | 2x8gb non ecc ddr3 WD red 2TBx2 | seagate 160gb microcenter 8gb flashdrive OS

 

Link to comment
https://linustechtips.com/topic/619664-centos-7-cifssamba-help/#findComment-7997679
Share on other sites

Link to post
Share on other sites

On 7/2/2016 at 1:35 AM, Ronda said:

Well, if it's not at /samba/ then just do ls -la on whatever folder you did create the samba share in.

Did you look at the howto on centos.org?

sorry for the long delay is july 4th weekend uve been having too much fun with fireworks

here is the correct folder for the command you gave me

 

user@localhost ~]$ sudo ls -la /etc/samba
total 32
drwxr-xr-x.   2 root root  4096 Jul  1 13:44 .
drwxr-xr-x. 146 root root 12288 Jul  2 14:43 ..
-rw-r--r--.   1 root root    20 Jun 23 14:35 lmhosts
-rw-r--r--.   1 root root 11688 Jul  1 13:44 smb.conf

 

also isnt that for centos 5 not 7 i tried to get the graphic interface well to find it but its not in admin section and i cant find much info on it 

main rig

Spoiler

 corsair 750d | evga 1000w g2 | Gigabyte x99 soc champ | 5820k 4.0GHz | 1tb wd blue | 250gb samsung 840 evo  | Crucial Ballistix Sport XT 16GB 8x2 DDR4-2400 | MSI GTX 970 x2 | monitor Acer B286HK 28" 4K | razor chroma blackwidow  | razor death adder chroma

CENTOS 7 SERVER (PLEX&docker stuff)

Spoiler

NZXT s220 | evga 500w 80+ | AMD FX 8320e | ASUS M5A78L-M/USB3 | 2x8gb non ecc ddr3 WD red 2TBx2 | seagate 160gb microcenter 8gb flashdrive OS

 

Link to comment
https://linustechtips.com/topic/619664-centos-7-cifssamba-help/#findComment-8005366
Share on other sites

Link to post
Share on other sites

/etc

holds config files, which is all your output shows. It's not containing the folders you're sharing, nor should it.

What are the contents of /etc/smb.conf ?

 

And there shouldn't be that much of a difference in configuration between OSs. Something like this CLI only config guide for Ubuntu should still be applicable. Except since you want access to guest users you'd have

guest ok = yes
guest only = yes

instead of the 'valid users' definition.

Link to comment
https://linustechtips.com/topic/619664-centos-7-cifssamba-help/#findComment-8008404
Share on other sites

Link to post
Share on other sites

7 hours ago, Ronda said:

/etc

holds config files, which is all your output shows. It's not containing the folders you're sharing, nor should it.

What are the contents of /etc/smb.conf ?

 

And there shouldn't be that much of a difference in configuration between OSs. Something like this CLI only config guide for Ubuntu should still be applicable. Except since you want access to guest users you'd have


guest ok = yes
guest only = yes

instead of the 'valid users' definition.

it ended up being selinix being a pain i turned it off temporary and it works just had to fix it i had all the guest access yes , allow reads ect all yes but it was just selinix

main rig

Spoiler

 corsair 750d | evga 1000w g2 | Gigabyte x99 soc champ | 5820k 4.0GHz | 1tb wd blue | 250gb samsung 840 evo  | Crucial Ballistix Sport XT 16GB 8x2 DDR4-2400 | MSI GTX 970 x2 | monitor Acer B286HK 28" 4K | razor chroma blackwidow  | razor death adder chroma

CENTOS 7 SERVER (PLEX&docker stuff)

Spoiler

NZXT s220 | evga 500w 80+ | AMD FX 8320e | ASUS M5A78L-M/USB3 | 2x8gb non ecc ddr3 WD red 2TBx2 | seagate 160gb microcenter 8gb flashdrive OS

 

Link to comment
https://linustechtips.com/topic/619664-centos-7-cifssamba-help/#findComment-8010249
Share on other sites

Link to post
Share on other sites

yep

main rig

Spoiler

 corsair 750d | evga 1000w g2 | Gigabyte x99 soc champ | 5820k 4.0GHz | 1tb wd blue | 250gb samsung 840 evo  | Crucial Ballistix Sport XT 16GB 8x2 DDR4-2400 | MSI GTX 970 x2 | monitor Acer B286HK 28" 4K | razor chroma blackwidow  | razor death adder chroma

CENTOS 7 SERVER (PLEX&docker stuff)

Spoiler

NZXT s220 | evga 500w 80+ | AMD FX 8320e | ASUS M5A78L-M/USB3 | 2x8gb non ecc ddr3 WD red 2TBx2 | seagate 160gb microcenter 8gb flashdrive OS

 

Link to comment
https://linustechtips.com/topic/619664-centos-7-cifssamba-help/#findComment-8010423
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×