I run Samba 2.2.8 on my Red Hat 9. Both smbd and nmbd are running OK. ps -aux | grep mbd shows the 2 processes, plus, smbclient works fine, thanks to Christopher. The Samba server resides on a host with IP 10.10.6.31. I got this from the smbclient run below: [root@RedHat samba]# smbclient //REDHAT/test -U jack added interface ip=10.10.6.31 bcast=10.10.255.255 nmask=255.255.0.0 Password: And the IP of the WinXP system is 10.10.9.10 and the Subnet mask for both my WinXP and Red Hat is 255.255.0.0 On the Samba server, I've done smbpasswd and added user tom with password abc123. Meanwhile, I also added tom with the same password to my XP system. My XP is added to the workgroup is METRAN, which is also set in smb.conf as workgroup = METRAN But after I log into my XP with user tom, I cannot see anything in my Network Places. Please note that METRAN is not a valid workgroup in the LAN of my company. If I click "View workgroup computers", I get a warning pop-up window which says: <quote> Metran is not accessible. You might not have permission to use this network resource. Contact the administrator of the server to find out if you have access permissions. The account is not authorized to log in from this station. </quote> I got confused. I don't know what problem this is. Please educate. Thanks a lot. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Christopher Odenbach
2003-Sep-16 06:41 UTC
[Samba] Re: problem connecting to Samba server from windows XP
Hi Mark,> I run Samba 2.2.8 on my Red Hat 9. > > Both smbd and nmbd are running OK. ps -aux | grep mbd > shows the 2 processes, plus, smbclient works fine, > thanks to Christopher. > > The Samba server resides on a host with IP 10.10.6.31. > I got this from the smbclient run below: > > [root@RedHat samba]# smbclient //REDHAT/test -U jack > added interface ip=10.10.6.31 bcast=10.10.255.255 > nmask=255.255.0.0 > Password:So you tested it with user jack, not tom.> And the IP of the WinXP system is 10.10.9.10 and the > Subnet mask for both my WinXP and Red Hat is > 255.255.0.0 > > On the Samba server, I've done smbpasswd and added > user tom with password abc123. > > Meanwhile, I also added tom with the same password to > my XP system. My XP is added to the workgroup is > METRAN, which is also set in smb.conf as > > workgroup = METRAN > > But after I log into my XP with user tom, I cannot see > anything in my Network Places. Please note that > METRAN is not a valid workgroup in the LAN of my > company.Dou you have a WINS server configured on your XP box? Try this on your XP box: nbtstat -a redhat If the name does not resolve to an ip (nbtstat -c will show it then), you have a name resolving problem. Try to enter the netbios name and ip of your samba server in 'c:/winnt/system32/drivers/etc/lmhosts' (or whereever it may be found on XP). Christopher -- ===================================================== Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb odenbach@uni-paderborn.de Tel.: +49 5251 60 6215 ======================================================