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.
Originally posted by david_ross Actually it could be related - It could be a firewall problem like I said in post 2. Try running this as root:
iptables -F
This should remove all firewall rules. If this works you can then decide what rules to put in and save them with:
service iptables save
Yes this could possibly do it also, try this first and then test, if it doesn't work then proceed with what I suggested.
I tried editing the WinXP registry as you described. Nothing changed. I the tried modifying smbpasswd as you described. Still no change. Yes, I rebooted WinXP after editing the registry and after modifying smbpasswd and yes I restarted samba after modifying smbpasswd.
If I run iptabled -F and discover that it isn't the firewall messing things up after all, can I then put the firewall rules back? If not, how can I back up my firewall rules so as to restore them if necessary?
About my network... Two computers plugged into a netgear router. WinXP through a Realtek ethernet card, Jack through a Netgear wireless card. Both connect through DHCP though both have IP addresses reserved for them. No WEP encryption. Both can access the internet through the router. Jack can access shares on WinXP, but not vice versa.
I added lanman auth = yes to smb.conf. Still no change. I then ran "iptables -F" tada! WinXP can see all the shares on Jack, but...
When I try to open a share, I am prompted to enter a password. Unfortunately, I the user name is permanently set to guest so none of my passwords work.
Fortunately, I was able to fix this problem by changine my security on Jack from share level to user level. But...
When I enter a username in WinXP and the correct password, I am prompted for a username and password again. Indefinitely. This may have something to do with WinXP automatically prefixing the username I enter with the computer name (i.e. "BONNIE\bkay", where "bkay" is the username and "BONNIE" is the name of the WinXP machine). Help?
Also, I'm guessing I don't have much of a firewall right now. Could someone point me to a good tutorial on how to add rules to the firewall?
I deleted smbpasswd and recreated it manually, from scratch. Now I can access files on Jack from WinXP , and WinXP doesn't try to prefix the username with the machine name. A happy ending
Still hoping someone will point me to a firewall tutorial.
go here, this is the fix like you found, I will explain it after the first post, it has to do with th wonderful microsoft team and how they constructed their Secure Message Blocks. but check with this thread I'll explain EVERYTHING lol
What has xp not adding the machine name as a prefix? I had to use a work around of creating linux user name and samba share names same as xp machine name. This by the way made me have to chainge some xp machine name to linux acceptible names (red hat9) ie no numbers first no capitals etc. By the way red hat 8 wasnt restricting me that way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.