Creating an anonymous samba share in CentOS 7
-
@Romo No but maybe I did it wrong. Does the path look like this?
\\192.168.1.202\etc\home\public
-
@BRRABill said in Creating an anonymous samba share in CentOS 7:
@wirestyle22 said in Creating an anonymous samba share in CentOS 7:
So I finished this guide but my CentOS 7 file server isn't discoverable. Ideas?
Are you a Windows shop? Did you add it to DNS?
Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?
-
@wirestyle22 said
Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?
I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.
I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.
-
@BRRABill said in Creating an anonymous samba share in CentOS 7:
@wirestyle22 said
Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?
I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.
I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.
I'm just attempting to mount the drive. With a static IP I don't think that's required, right? Or do you mean to make it discoverable on the network? It's probably required for that.
-
@wirestyle22 said in Creating an anonymous samba share in CentOS 7:
@BRRABill said in Creating an anonymous samba share in CentOS 7:
@wirestyle22 said
Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?
I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.
I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.
I'm just attempting to mount the drive. With a static IP I don't think that's required, right? Or do you mean to make it discoverable on the network? It's probably required for that.
Right, I was answering the "discoverable on the network", but actually "by name" which I now realize isn't what you are asking.
-
@BRRABill said in Creating an anonymous samba share in CentOS 7:
@wirestyle22 said in Creating an anonymous samba share in CentOS 7:
@BRRABill said in Creating an anonymous samba share in CentOS 7:
@wirestyle22 said
Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?
I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.
I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.
I'm just attempting to mount the drive. With a static IP I don't think that's required, right? Or do you mean to make it discoverable on the network? It's probably required for that.
Right, I was answering the "discoverable on the network", but actually "by name" which I now realize isn't what you are asking.
Oh I see. Yeah
-
@wirestyle22 said in Creating an anonymous samba share in CentOS 7:
@Romo No but maybe I did it wrong. Does the path look like this?
\\192.168.1.202\etc\home\public
Should be
\\192.168.1.202\public
if your share is named public. It should also be visible if you go to\\192.168.1.202
In the guide the share name is called public, check your smb.conf to make sure the name of share and your path to the folder is correct .
[public]
path = /home/public
read only = No
guest ok = Yes
browseable = Yes
public = Yes -
@wirestyle22 I'm confused do you want to make it discoverable when using network discovery on windows?
-
@tiagom I'd like to know how to do that but even just mapping at this point would achieve my goal.
-
@Romo Still don't know where I'm going wrong here Is this correct?
-
@wirestyle22 It seems fine. Can you post the output of
smbclient -L localhost
ran from your samba server please. -
@wirestyle22 Just added the steps to mount the share to a Windows 10 PC to the orginal post.
-
@Romo I did not output smbclient -L localhost yet. I'll do that when I get home today. The other steps you took were the same steps I did. We'll see what happens with the command. Thanks!
-
@wirestyle22 Did you get it working?
-
@Romo said in Creating an anonymous samba share in CentOS 7:
@wirestyle22 Did you get it working?
Yeah! Whazzup?
-
I can't login. Found it though.
-
@wirestyle22 said in Creating an anonymous samba share in CentOS 7:
@Romo Still don't know where I'm going wrong here Is this correct?
-Modify your global config settings :
map to guest = Bad User
you wroteBad user
Restart your services
systemctl restart smb.service
systemctl restart nmb.service
Check your folder owner and permissions again.
-
@Romo It's detectable now but It prompted me to login. Realized none of my work PC's are Windows 10 and I am not sure what the account is considered locally, being an online account. [email protected] would make the domain @gmail.com
When I restarted the services they error'd out so I just performed
sudo reboot
-
@wirestyle22 Can you please post an
ls -l
of your share folder -
@Romo I will when I get home. Thanks for all of the help btw