Fedora Linux Support Community & Resources Center
Old 29th September 2010, 03:13 PM
Punkiee Offline
Registered User
Join Date: Aug 2010
Posts: 18
Samba: mapping windows users on unix users

Samba up and running on my pc. pc runs FC12 with kde. A laptop has win vista. The pc can access the shares on the laptop but the laptop has authentication issues to access the pc. Note that windows doesnt enforce authentication forincoming network connections.
Using the system-config-samba util i tried to map a windows user to the unix user "feduser". The laptop (named LAPPY) has a user (lapuser) which has on windows no password.
What should I tell samba config what the windows username should be? lapuser or LAPPY\lapuser doesnt work because when accessing the pc via the laptop, the authentication fails. The only auth that is successful is when choosing the same winusername as the unix username.

Secondary, id like to setup the laptop so that the user doesnt have to provide a name and password, or at least not more then once in the lifetime of the laptop. Note that you cant provide an empty password to system-config-samba. How is that possible?

Strange but not really on issue imho:
the samba - KDE control module(kcmshall4) (and the smb.conf) shows 2 shares: the homedirs and the data dir
the samba server configurator (system-config-samba) shows only the datadir.


workgroup = workgroup
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50

security = user

cups options = raw
restrict anonymous = no
domain master = no
netbios name = BURROSKY
logon home = \\%25N\%25U
logon path = \\%25N\%25U\profile

comment = Home Directories
browseable = no
read only = no

comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

path = /media/data
read only = no
guest ok = yes

Last edited by Punkiee; 29th September 2010 at 03:27 PM. Reason: added smb.conf
Reply With Quote
Old 29th September 2010, 06:57 PM
Keldorn Offline
Registered User
Join Date: Jun 2008
Location: Russia
Age: 29
Posts: 519
Re: Samba: mapping windows users on unix users

I can't uderstand what you want to do:
You want just to map guest user (every gest user, not just from windows PCs) to one certain user called "feduser".
Or may be you want to access to share with login and password?
Reply With Quote
Old 29th September 2010, 10:28 PM
Punkiee Offline
Registered User
Join Date: Aug 2010
Posts: 18
Re: Samba: mapping windows users on unix users

Id like to give everyone on the LAN access to the linux share, with the least hassle. Because the windows users are illiterate it has to be as easy as possible for them to access the share, that is, with just one click on an icon.

Ideal would be if there was no authentication required on the linuxpc. Is that possible?
Because i know what users are on the network, maybe it is possible to map them on a linux user? That way the windows user doesnt have to provide a password, because the authentication of the user was already done on the windows machine. Or does linux requires password protected auth nonetheless?
Reply With Quote
Old 30th September 2010, 12:58 PM
Punkiee Offline
Registered User
Join Date: Aug 2010
Posts: 18
Re: Samba: mapping windows users on unix users

Using the guest login, i was able to access the samba share, even without password. On the windowsmachines i had to enter guest as username when asking to auth upon accessing the sharelist. Something which i didnt want but vista seems to remember these things and upon restarting it asked no more for authentication.
so problem solved
Reply With Quote

authentication, samba, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping remote users to local users in SSH clearer Using Fedora 4 10th June 2010 11:01 PM
Samba + FC 9 + windows AD users jagdishrao Servers & Networking 0 24th December 2008 12:56 PM
Two unix users using Azureus simultaneously? SideshowMel Using Fedora 2 31st August 2008 03:44 AM

Current GMT-time: 23:57 (Friday, 18-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat