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'm setting up a SAMBA configuration. I want to be able to alias one user to another for SAMBA authentication:
Example: a user with a linux username 'johnbloggs' wants to have access to his files on the linux box, but his windows login name is 'john'. I want 'john' to be an alias for 'johnbloggs' so that logging in with 'john' is equivilent to logging in as local linux user 'johnbloggs'
I know this is possible becuase it can be easily done with WebMin. I am no longer running webmin, however, and am using SWAT to administer samba. I cant find this option in SWAT however, so I would like to know how it can be done!
In webmin there is a authentication icon in the samba section. In it is a user mapping. I believe that you can make a user named johnbloggs on the linux box and map it to the john user on the windows machine.
Well yes, you can, which is exactly what I said. In fact my post is asking how you can do that without using WebMin -- either using SWAT or direct configuration.
If you look on samba's website there is a way. I forget exactly how to do it. Basically you need to create a file named usermaps, or some thing like that. Then add john = johnbloggs.
You can read about it in the help files (smb.conf.5.html#USERNAMEMAP) or in the man pages (man smb.conf) then search for the string 'unsername map' (press the '/' key and enter the search term)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.