Can't access samba shares from xp
Hi folks,
I need a bit of help. I don’t seem to be able to access samba shares from my XP box. I had this working fine running RedHat8.0 and Webmin. Then my server crashed and I decided to move up to 9.0 and the latest version of webmin. I realize now that I should have saved my smb.conf file. The issue is this; I’ve used webmin to set up a samba share on my server but when I try to map a drive to that share from my XP box I get a user name and password screen. It doesn’t matter what I enter in this screen I fail to connect and the screen pops back up. I’m able to ping both machines from each other and I can see the server in my XP working group. I can access the server with webmin from the XP box for that matter. I just am not able to map a drive. As I’m sure you can tell I’m new to Linux and I’m sure I’ve missed something simple but I have no idea what it could be. Can some offer some direction on this? Thanks so much. Here’s my smb.conf: # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2003/12/14 21:55:20 # Global parameters [global] log file = /var/log/samba/%m.log dns proxy = No server string = Samba Server passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* printing = cups obey pam restrictions = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 unix password sync = Yes workgroup = MSHOME os level = 20 encrypt passwords = Yes passwd program = /usr/bin/passwd %u max log size = 0 pam password change = Yes [homes] comment = Home Directories guest account = valid users = %S read only = No create mask = 0664 directory mask = 0775 [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [music] comment = music path = /home/music valid users = ralupien gllupien read only = No |
Have you configured your samba users?
|
Hate to ask obvious but are you using xp home. I spent the better part of two weeks trying to network home and knoppix. Finally decided on a virtual desktop setup as being easier. I believe I did get it "working" at one point with Samba and RH 9 but lost connectivity with a reinstall of knoppix on linux box which messed up everything/? Don't ask, my fault.
I had better luck with the network viewer in knoppix than webim. I'm not on that box right now so can't tell you name, was no problem to browse windows from linux. As for password box, it will work when you get it configured properly. I think I had to put in new simple password file also though?? not much help but tried, ambacrombie |
I posted something similar to this a while back, I recieved a post back stating that SP1 can cause this problem sometimes..I fon't knopw if thats any helpp
--Alex |
users
for the user you are trying to log in as (I'm assuming you have a valid user account on your RH9 box), have you created a corresponding SAMBA password?
from memory its something like Code:
smbpasswd -a -U <user>%<passwd> Code:
man smbpasswd Cheers Jo |
Thanks for all the responses. I’ll do my best to answer some of the questions presented. For the rest, I’ll need to do some learning and hunting before I can respond.
Ugob: Been searching google for the better part of a week with some success but not finding what I need. That’s actually how I found this BB. Yes, all systems can access the internet. I’m assuming this is the question you were asking with “No internet connection?” I’m looking into your other suggestions now. Abercrombie: No, my XP box is running on XP pro. Being new to this Linux world I need to go off a find out what knoppix is and how I might benefit from it. Thanks for the input though. JoAnywhere: Yes, I do have a valid user account on the RH9 box. I also converted Linux users to samba users. It should be noted that the user accounts on the RH9 box are the same as the XP accounts. I’ll be working with some of the suggestions that I received and I’ll post more information when I have it. Thanks for all the input. |
This is only my signature... sorry it is not clear.
|
Just a thought, but you have already applied the XP sign and Seal Registry Fix for your XP client, otherwise, you'll never be able to log on to samba.
|
Ugob: these are the results of the suggestions in your signature. I’ll need to spend some study time to fully understand the output.
/etc/resolv.conf ; generated by /sbin/dhclient-script search @attbi nameserver 204.127.198.4 nameserver 63.240.76.4 ifconfig –a (note: eth1 is not currently connected to anything) eth0 Link encap:Ethernet HWaddr 00:D0:B7:E8:2E:CA inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3002 errors:0 dropped:0 overruns:0 frame:0 TX packets:2366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:650456 (635.2 Kb) TX bytes:539191 (526.5 Kb) Interrupt:9 Base address:0xd000 Memory:db800000-db800038 eth1 Link encap:Ethernet HWaddr 00:D0:B7:DB:BE:C4 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 Base address:0xb800 Memory:da800000-da800038 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:390509 errors:0 dropped:0 overruns:0 frame:0 TX packets:390509 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:26677311 (25.4 Mb) TX bytes:26677311 (25.4 Mb) Route Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 |
you don't need to do what my signature says unless you have no internet connexion...
I don't think it is relevant in your case. |
Flash Flash:
All, I was able to map a drive once I did the following: I added the desired users to the smbusers file (ralupien = ralupien) Then I used the smbpasswd to set the password for each user. Then restarted the samba servers and I was able to map with the current password. Thanks for all your input. I’m sure I’ll have many more question to ask in the future (as I’m sure you can tell). Regards, |
Good, you'd probably be better off using smbpasswd for that. Some distro even include the smbadduser command to help you out.
Anyways, the best way to get it, is, as JoAnywhere said. |
All times are GMT -5. The time now is 03:15 AM. |