[SOLVED] Some options in system-config-samba dialog are not working properly
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Some options in system-config-samba dialog are not working properly
Hello, I am using Fedora 12. I have the following problem, when i working with system-config-samba dialog:
I add the new user on the server:
as following:
Unix username: vova
Windows username:test
As described in Customisation Guide for Red Hat 9: "If the user has a different username on a Windows machine and will be logging into the Samba server
from the Windows machine, specify that Windows username in the Windows Username field."
So i logged from the Windows machine not under test(Windows username) but under vova.
And i logged in without the problem. However it seems that samba should check windows username=test (as have written in samba-config) and ask an password for different users. And additionally, if samba check the currect user in Windows itself and verify it with Unix user, what for we need write the Windows username in samba config? I don't understand
Yes i log in on Windows machine as test, access the windows share, however it asks me username and password and it is not log in me with userneme : test , only vova. However i think it should.
because as state in my system-config-samba:
Unix name: vova
Windows username: test
It seems that samba ignore Windows username, only Unix name to log in on server.
As state in the document: https://www.redhat.com/docs/manuals/...AMBA-GUI-USERS
quote: "If the user has a different username on a Windows machine and will be logging into the Samba server from the Windows machine, specify that Windows username in the Windows Username field"
Yes it's supposed to do that.
It's so people can use their windows username instead of having to remember another username.
The windows user name is an alias for the linux username in samba.
Unless test exists on the linux machine, you cannot log in to samba using test, only vova.
But samba will let a windows user log in as test, and then direct them to the vova shares.
I'm sorry I don't know what you mean any more.
Every time I give you an answer you change the question.
if you set test as a windows user name in samba config, then you can log in as test
but you have to set an existing linux user in samba for test to point to.
Thanks! The problem was that in my smb.conf, in the section Printing options:
# --------------------------- Printing Options -----------------------------
there was no line as:
username map = /etc/samba/smbusers
So the samba server could't see the list of mapped Unix=Windows users,
and could't recognize the alias test.
Lets assume the problem as resolved and close it.
P.S. I think it is very strange that it line is absent in smb.conf file by default
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.