LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-13-2010, 03:22 AM   #1
vofka
LQ Newbie
 
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Rep: Reputation: 15
Question 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
 
Old 04-13-2010, 05:52 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Did you try logging in as test ?

if not what's the problem ?

do you expect samba to guess who's logging in ?
 
Old 04-17-2010, 02:39 PM   #3
vofka
LQ Newbie
 
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by smoker View Post
Did you try logging in as test ?

if not what's the problem ?

do you expect samba to guess who's logging in ?
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"
 
Old 04-17-2010, 02:43 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
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.
 
Old 04-18-2010, 06:24 PM   #5
vofka
LQ Newbie
 
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by smoker View Post

But samba will let a windows user log in as test, and then direct them to the vova shares.
However if it so why i, when i log in as windows user to samba, can't log in with test, only as vova user?
 
Old 04-18-2010, 06:46 PM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
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.
 
Old 04-21-2010, 04:02 PM   #7
vofka
LQ Newbie
 
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by smoker View Post
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

Last edited by vofka; 04-21-2010 at 04:08 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
options of menu dialog box horizontally ravidangaych Linux - General 6 06-26-2009 05:22 AM
Directory Mask is not properly working on samba shared folders Prabagaran Linux - Server 2 03-17-2009 07:38 AM
Print dialog options in Fedora Core 8 Vanyel Linux - Desktop 0 03-06-2008 04:43 PM
Samba Not Working Properly linux-rulz Linux - Networking 4 04-14-2005 03:15 AM
gentoo -- how do i properly config grub for a dual boot system Laptop2250 Linux - Distributions 3 01-02-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration