Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For some reason I can't see my linux computer on the network at school. I can connect to it however, by typing it's name in the address, or using SSH and all those fun things, but when I do type in the address, it says I am not authorized to log in from that station.
Why would it do that?
Heres a bit of information...
security = user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
And here is the share definition for it..
[iso]
comment = iso
browseable = yes
path = /home/enigx/iso/cd
guest ok = yes
public = yes
read only = yes
writable = no
#======================= Global Settings =====================================
[global]
workgroup = BUSINESS
server string = Linux
netbios name = Linux-Tech
guest account = iso
load printers = no
username map = /etc/samba/smbusers
log file = /var/log/samba.%m
max log size = 50
security = user
ssl CA certDir = /etc/ssl/certs
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
#============================ Share Definitions ==============================
[iso]
comment = iso
browseable = yes
path = /home/enigx/iso/cd
guest ok = yes
public = yes
read only = yes
writable = no
Changing it to Share does work, but then I can't log into linux, only open files that I set to everyone able to read. If I try to log into a shared accout, the password doesn't work. I use:
smbpasswd -a [user]
Then enter my passwords, and then reboot the server and try to login with that username and password and it doesn't work.
I have tried to make a user, I could try again though, but why won't it show on the network?
I've been banging my head for weeks trying to figure out a similar issue. And you're going to bang your head too when you figure out how simple it is.
The default firewall you installed when you installed linux is preventing SMB access. On Red Hat you can remove the firewall by going to System Settings --> Security Level and disabling it. This probably not the most secure way of setting things up but it started me off.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.