Samba / smbd on Centos 6.5
- by Satalink
I've installed Samba4 and have the smb.conf file as follows:
 [global]
         workgroup = WORKGROUP
         server string = Samba Server
         realm = REXIALO.COM
         netbios name = REXIALO.COM
         security = user
         map to guest = Bad Password
         bind interfaces only = no
         interfaces = lo venet0
         log file = /var/log/samba/samba.log
         max log size = 1000
 [webroot]
         path = /usr/local/apache/htdocs
         comment = Example.com webroot directory
         read only = No
I can connect from the same server with smbclient.
Localhost:
  # smbclient -L localhost -U root
  
  Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.11]
    Sharename       Type      Comment
    ---------       ----      -------
    webroot         Disk      RexiAlo webroot directory
    IPC$            IPC       IPC Service (RexiAlo Samba Server) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.11]
    Server               Comment
    ---------            -------
    Workgroup            Master
    ---------            -------Enter root's password:
network:
  # smbclient -L rexialo.com -U 
  
  Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.11]
    Sharename       Type      Comment
    ---------       ----      -------
    webroot         Disk      RexiAlo webroot directory
    IPC$            IPC       IPC Service (RexiAlo Samba Server) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.11]
    Server               Comment
    ---------            -------
    Workgroup            Master
    ---------            -------
The problem is when I try to map to the smb webroot from Windows 7, it asks for user/pass but just times out and then prompts for credentials.  The samba.log file does not show any activity other than the startup of the smbd process. 
Any help would be appreciated.