Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have a new server running RHEL9, and for some reason, going to \\servername\ gets me a list of all shares without any authentication at all. I know it has to be something simple that will make it require a login for all shares, but I can't seem to find the setting.
Update of sorts. I found the following in smb.conf:
Quote:
[vault]
comment = D600 File Vault
path = /vault
writeable = yes
guest ok = no
public = no
Setting guest ok and public to 'no' seemed to do the job of disabling public access, but now from a Windows box, I get a login prompt with Guest as the only user option - I can't change the username.
[Profiles]
comment = Kursk User Fileshares
path = /bitbucket/profiles/%U
guest ok = yes
writeable = yes
public = yes
create mask = 0777
security mask = 0777
write list = @cotdev
[Falconview]
comment = Falconview Map Depot
path = /vault/Falconview
guest ok = yes
writeable = yes
read only = yes
public = yes
write list = @cotdev
All of my shares are working as intended, aside from the Profiles share. I basically have to have guest, public and browsable set to yes in order for people with folders there to be able to get them to show up. What I'm trying to do is to have the Profiles share visible to all, but if clicked on, have it toss up a login box. If I log in as johndoe, I'd like Profiles\johndoe to be the only visible folder. Right now, if I turn off browsable/guest access, a login box pops up but doesn't allow me to put in a username.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.