LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-17-2005, 02:40 PM   #1
woppa30
LQ Newbie
 
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27

Rep: Reputation: 15
SAMBA, guest account, Windows xp home and passwords


Hi there, I hope somebody can help me.
I am running fedora core 2 set up as a file server using SAMBA. Once of the wo=indows computers that needs to connect to it runs XP home.
I did have SAMBA set up with security = user but the XP home pc, once it had mapped the share OK would forget the password and it would need to be entered evrytime the pc was rebooted. I know thats not toooo much of a problem but lets remember we are talking about somebody using windows xp. XP pro has no problem remembering the password but I don't ant to line Bill's pockets with more money upgrading from XP home to XP pro.
To try and get around this problem I changed the security = share in which case the XP computer tries to access the SAMBA share as guest. This is where it gets interesting since it insists on using a password
In the smb.conf file, as viewed in SWAT, it says guest account = nobody
I checked the "users and groups" GUI in the system settings menu and their is a "nobody" account but it has a password which for the life of me I don't kdidnow how to remove. I tried to create a guest account (which wasn't there when I started) but Fedora insists on giving it a password.
I have tried the samba HOWTO and have even had a good look in the samba howto book but to be honest the guys who write SAMBA are, very understandibly, concerned with making it as secure as possible, not much use for me when the wife wants to use her laptop to access the server.....
I tried google but I am not sure where to start. Gusts accounts are mentioned only briefly.
I hope you can help with some suggestions.
Thanks in advance,
David aka woppa
 
Old 01-17-2005, 05:47 PM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
I have a question first: do you logon to your windows xp with a user account or do you enter your windows xp direct without a user name.

If you dont use a user name windows wil not store teh use name and pasword you use to connect to linux, so you have to enable user access on your windows box.
 
Old 01-18-2005, 02:12 AM   #3
woppa30
LQ Newbie
 
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27

Original Poster
Rep: Reputation: 15
The XP home pc is set up with three users, "Admin", "Pam" and "littleone" for the three people that use it with different profiles. There are hwever no passwords associated with any of these accounts and when "Pam" tries to connect to the SAMBA share it tries to as SERVER/guest and not as laptop/pam
Hopes this helps.
David.
 
Old 01-18-2005, 03:57 PM   #4
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
try it with an account that has a password

and use the command prompt to create a net use instruction

NET USE X: \\computernaam\sharenaam /USER:domeinname\username * /PERSISTENT:YES

the PERSISTENT should force storing the connection instruction

Last edited by arno; 01-18-2005 at 04:00 PM.
 
Old 01-19-2005, 02:19 AM   #5
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
The Windows XP greyed out "GUEST" box, is the result of security = share. (this is what i expierence in my setup at least)

If you set `guest ok = yes` and `guest only = yes` in the share definition, what happens? - You should no longer need a password.

And make sure that the `guest account` = [some user with read+write+execute permissions on the linux box to whatever the directoy beign shared is]

Hopefully that makes sence, hard to word that.
 
Old 01-19-2005, 02:41 AM   #6
woppa30
LQ Newbie
 
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27

Original Poster
Rep: Reputation: 15
I will try these out tonight and let you know how I get on.....
Thanks for the replies.
Amo... I don't have a domain, only a workgroup so i presume I should use
NET USE X: \\computername\sharename /USER:workgroup\username * /PERSISTENT:YES

Is that reasonable ????
 
Old 01-19-2005, 02:57 AM   #7
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
It depends on how you configured samba in linux
 
  


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
samba guest account questions gsgleason Linux - Software 1 10-21-2005 08:59 PM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
creating a guest account tardigrade Linux - General 2 02-04-2005 03:33 PM
Samba 3 - changing passwords from windows michzap Linux - Networking 2 09-03-2004 01:48 AM
Understanding the guest account calabash Linux - Networking 16 03-06-2004 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:27 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