Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
01-17-2005, 02:40 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27
Rep:
|
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
|
|
|
|
01-17-2005, 05:47 PM
|
#2
|
|
Member
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515
Rep:
|
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.
|
|
|
|
01-18-2005, 02:12 AM
|
#3
|
|
LQ Newbie
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
|
01-18-2005, 03:57 PM
|
#4
|
|
Member
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515
Rep:
|
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.
|
|
|
|
01-19-2005, 02:19 AM
|
#5
|
|
Member
Registered: Aug 2002
Posts: 117
Rep:
|
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.
|
|
|
|
01-19-2005, 02:41 AM
|
#6
|
|
LQ Newbie
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27
Original Poster
Rep:
|
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 ????
|
|
|
|
01-19-2005, 02:57 AM
|
#7
|
|
Member
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515
Rep:
|
It depends on how you configured samba in linux
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:42 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|