LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba can't connect to Windows shares (https://www.linuxquestions.org/questions/linux-software-2/samba-cant-connect-to-windows-shares-280645/)

soren625 01-21-2005 05:34 PM

Samba can't connect to Windows shares
 
I have had this issue for some time, and I can't find anything online or in print that specifically address my problem.

I am trying to mount a Windows 2000 share to a Fedora Core 3 filesystem. When I issue the command:
Code:

mount -t smbfs -o credentials=/root/.smbcredentials,uid=500,gid= 500,rw //iliad/atropos /home/user/atropos
I get this:
Code:

timeout connecting to 192.168.0.102:445
timeout connecting to 192.168.0.102:139
Error connecting to 192.168.0.102 (Operation already in progress)
4580: Connection to iliad failed
SMB connection failed

My smbd.log says:
Code:

[2005/01/21 18:12:56, 0] lib/util_sock.c:read_socket_data(384)
  read_socket_data: recv failure for 4. Error = Connection reset by peer

My winbindd.log says:
Code:

[2005/01/21 17:29:50, 0] nsswitch/winbindd_util.c:winbindd_param_init(560)
  winbindd: idmap uid range missing or invalid
[2005/01/21 17:29:50, 0] nsswitch/winbindd_util.c:winbindd_param_init(561)
  winbindd: cannot continue, exiting.
[2005/01/21 17:29:50, 1] nsswitch/winbindd.c:main(897)
  Could not init idmap -- netlogon proxy only
[2005/01/21 17:29:51, 1] nsswitch/winbindd_util.c:init_domain_list(327)
  Could not fetch sid for our domain PELOPENESOS

My nmbd.log says:
Code:

[2005/01/21 18:19:42, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  process_name_refresh_request: unicast name registration request received for name ILIAD<00> from IP 192.168.0.102 on subnet UNICAST_SUBNET.[2005/01/21 18:19:42, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
  Error - should be sent to WINS server

I am positive that all firewall connections are correct, however, when I
Code:

# nmap -p 139 192.168.0.102
I get:
Code:

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2005-01-21 18:31 EST
Interesting ports on iliad (192.168.0.102):
PORT    STATE  SERVICE
139/tcp closed netbios-ssn

Same for port 445: "closed"

Any ideas as to what the problem might be would be greatly appreciated.

thanks.

cowanrl 01-21-2005 10:01 PM

How about supply your smb.conf file.

soren625 01-22-2005 08:25 AM

OK, here it is"
Code:

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/01/21 17:12:35

# Global parameters
[global]
        workgroup = PELOPENESOS

[user]
        path = /home/user
        read only = No



All times are GMT -5. The time now is 10:58 PM.