Find the answer to your Linux question:
Results 1 to 7 of 7
I've got some problems with my Windows XP machine and my Trustix 2.0 release. I have installed Samba 2.2.8 Made shares with samba and all my client can connect to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193

    Windows XP and Trustix 2.0


    I've got some problems with my Windows XP machine and my Trustix 2.0 release.

    I have installed Samba 2.2.8

    Made shares with samba and all my client can connect to it even my Windows 2003 Server, but when I connect with Windows XP I've got the problems.

    It says that the network path cannot be found. bla bla bla.

    I haven't running a firewall on my Windows XP machine, but still I can't connect to my Windows XP machine from Linux.

    When I use smbclient -L //192.168.0.4 i get the following message:

    smbclient -L //192.168.0.4
    added interface ip=192.168.0.5 bcast=192.168.0.255 nmask=255.255.255.0
    error connecting to 192.168.0.4:139 (Connection refused)
    Error connecting to 192.168.0.4 (Connection refused)
    Connection to 192.168.0.4 failed

    I thought it was my firewall setup I've used. But I used the following commands:
    iptables -L -n
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    So I cleared the rulez before this, but I still can't connect to my firewall

    I've restarted my smb server, Still can't connect.

    Can please someone help me with this one, because I need this machine also in my Network. BTW: Linux box is not a PDC
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    What have you shared on your xp-box?? Usually you share a whole disk or a specific directory that you can access from the linux box... Try to share a specific directory or a whole disk and try to access it from the linux box.... like

    Code:
    mount -t smbfs //192.168.0.4/my_share /mnt/myshare
    If you have set authentication on the xp share you have to specifiy that on mount time with -o username=windowsusername,password=windowspassword also.

    You can look at my quick samba howto also for some tip on my site.... if you want.
    Regards

    Andutt

  3. #3
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193
    Allrite have done, but still got the following error

    mount -t smbfs //192.168.0.4/mp3 /home/users/mp3
    Error connecting to 192.168.0.4 (Connection refused)
    1163: Connection to 192.168.0.4 failed
    SMB connection failed

    Have done also this one:

    mount -t smbfs -o username=administrator,password=droplul //192.168.0.4/mp3 /home//users/mp3
    Error connecting to 192.168.0.4 (Connection refused)
    1193: Connection to 192.168.0.4 failed
    SMB connection failed
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    did u just post ur admin password? i woudl suggets u edit that post NOW., jsut change it to myPassword or something.

    ur problem, is almost certainly caused by the xp box and not the linux config. Is it xp pro of home? in pro, there is a thing calle dsecurity policies. in here are several things abotu allowing differnt authentication formats. (eg NTLM1/NTLM2, encrypted passwords etc.) try changing some of them.

  6. #5
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193
    I've used this one:

    mount -t smbfs -o username=administrator,password=myPassword //192.168.0.4/mp3 /home/users/mp3

    I've changed the following options in WinXP Pro:

    Send Unencrypted password to third-party smb servers: Enabled

    I know you're not happy with my problem, but still I need it, because my parents want to store there documents, etc on another machine for security.
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

  7. #6
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    Have you used smpasswd on the linux side?
    The best things in life are free.

  8. #7
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193
    hmm, no I don't use the smbpasswd for it
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •