Michael Gong
2002-Dec-31 03:46 UTC
[Samba] how to verify the connection between a Samba server and a Windows Xp client?
Hi, there, I have 2 machines ( running Linux Red Hat 8.0 and Windows Xp individually), which share a broadband Internet connection through a router. After installing Samba 2.2.7.a on Linux machine, I can use "smbclient" to access Windows machines, see the files and transfer files. Linux machine info: name: WINNY share folder name: gong ip: 192.168.123.153 valid user: gong password: 710224 Windows Xp machine info: name: GONG ip: 192.168.123.110 log in as user: gong log in password: 710224 step 1: On Linux machine, I can use: smbclient //WINNY/gong -U gong%710224 //this command runs successfully, so that the Linux Samba server works fine. // and it can accept user name and password. step 2: delete the log.winny file on Linux. step 3: On Xp machine, I use: net use z: \\WINNY\gong /user:gong // it doesn't work, it reported: "The network path was not found". step 4: try to open log.winny file, but it doesn't exist. Therefore, the Samba doesn't even receive the request from Xp client. So my question is: how to verify the connection between these 2 machines works? By the way: On Xp machine, I can use: ping WINNY or ping 192.168.123.153 both works. Could you give me any suggestion? Thanks ahead! Michael -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Joel Hammer
2002-Dec-31 04:42 UTC
[Samba] how to verify the connection between a Samba server and a Windows Xp client?
This comes from DIAGNOSIS.txt. TEST 9: -------- Run the command "net use x: \\BIGSERVER\TMP". You should be prompted for a password then you should get a "command completed successfully" message. If not then your PC software is incorrectly installed or your smb.conf is incorrect. make sure your "hosts allow" and other config lines in smb.conf are correct. It's also possible that the server can't work out what user name to connect you as. To see if this is the problem add the line "user USERNAME" to the [tmp] section of smb.conf where "USERNAME" is the username corresponding to the password you typed. If you find this fixes things you may need the username mapping option. Let us know if this fixes your problem. Joel On Mon, Dec 30, 2002 at 10:45:38PM -0500, Michael Gong wrote:> Hi, there, > > I have 2 machines ( running Linux Red Hat 8.0 and Windows Xp individually), > which share a broadband Internet connection through a router. > > After installing Samba 2.2.7.a on Linux machine, I can use "smbclient" to > access Windows machines, see the files and transfer files. > > Linux machine info: > name: WINNY > share folder name: gong > ip: 192.168.123.153 > valid user: gong > password: 710224 > > Windows Xp machine info: > name: GONG > ip: 192.168.123.110 > log in as user: gong > log in password: 710224 > > step 1: > On Linux machine, I can use: > smbclient //WINNY/gong -U gong%710224 > > //this command runs successfully, so that the Linux Samba server > works fine. > // and it can accept user name and password. > > step 2: > delete the log.winny file on Linux. > > step 3: > > On Xp machine, I use: > net use z: \\WINNY\gong /user:gong > > // it doesn't work, it reported: "The network path was not found". > > step 4: > try to open log.winny file, but it doesn't exist. Therefore, the Samba > doesn't even receive the request from Xp client. > > So my question is: > how to verify the connection between these 2 machines works? > > By the way: > On Xp machine, I can use: > ping WINNY > or > ping 192.168.123.153 > > both works. > > > > Could you give me any suggestion? > > Thanks ahead! > > Michael > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
John H Terpstra
2002-Dec-31 09:40 UTC
[Samba] how to verify the connection between a Samba server and a Windows Xp client?
You can not have a machine name and a user name that are the same. - John T. On Mon, 30 Dec 2002, Michael Gong wrote:> Hi, there, > > I have 2 machines ( running Linux Red Hat 8.0 and Windows Xp individually), > which share a broadband Internet connection through a router. > > After installing Samba 2.2.7.a on Linux machine, I can use "smbclient" to > access Windows machines, see the files and transfer files. > > Linux machine info: > name: WINNY > share folder name: gong > ip: 192.168.123.153 > valid user: gong > password: 710224 > > Windows Xp machine info: > name: GONG > ip: 192.168.123.110 > log in as user: gong > log in password: 710224 > > step 1: > On Linux machine, I can use: > smbclient //WINNY/gong -U gong%710224 > > //this command runs successfully, so that the Linux Samba server > works fine. > // and it can accept user name and password. > > step 2: > delete the log.winny file on Linux. > > step 3: > > On Xp machine, I use: > net use z: \\WINNY\gong /user:gong > > // it doesn't work, it reported: "The network path was not found". > > step 4: > try to open log.winny file, but it doesn't exist. Therefore, the Samba > doesn't even receive the request from Xp client. > > So my question is: > how to verify the connection between these 2 machines works? > > By the way: > On Xp machine, I can use: > ping WINNY > or > ping 192.168.123.153 > > both works. > > > > Could you give me any suggestion? > > Thanks ahead! > > Michael > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > >-- John H Terpstra Email: jht@samba.org