Samba / smbd on Centos 6.5

Posted by Satalink on Server Fault See other posts from Server Fault or by Satalink
Published on 2014-08-14T17:51:02Z Indexed on 2014/08/20 16:24 UTC
Read the original article Hit count: 220

Filed under:
|

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.

© Server Fault or respective owner

Related posts about centos6

Related posts about samba4

  • samba4 not building in archlinux.

    as seen on Super User - Search for 'Super User'
    cp bin/tdbtool bin/tdbdump bin/tdbbackup /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/bin cp ./include/tdb.h /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/include cp tdb.pc /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/lib/pkgconfig cp libtdb.a libtdb.so.1.2.4 /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/lib rm… >>> More

  • samba4 not building in Arch

    as seen on Super User - Search for 'Super User'
    cp bin/tdbtool bin/tdbdump bin/tdbbackup /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/bin cp ./include/tdb.h /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/include cp tdb.pc /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/lib/pkgconfig cp libtdb.a libtdb.so.1.2.4 /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/lib rm… >>> More

  • Samba4 advice for production use

    as seen on Server Fault - Search for 'Server Fault'
    I have an old Samba 3 + LDAP server installed that needs to be rebuilt. I'm weighting my options, and Windows Server seems too expensive at the moment, and Samba 4 appeared to be a nice option, coupled with the last Bind 9 that can dynamically add the computers to the DNS. I have about 30 workstations… >>> More

  • VPN server to access Samba4

    as seen on Server Fault - Search for 'Server Fault'
    On my network I have an Ubuntu 12.04 server running Samba4, my domain is fully configured and functional. Now, I would like to enable VPN access over the internet, and have another box to do so. I have been searching on the internet for guides and information etc, but have not been successful. I… >>> More

  • Samba4/Ubuntu Shares Incorrectly Available to All Users

    as seen on Server Fault - Search for 'Server Fault'
    I've got my Ubuntu server working with Samba4 and got it set up as the Primary domain controller on my network with AD and all that goodness. However, I'm trying to get my Samba configuration to work with the users and groups I've defined with the Active Directory tools from Windows. For instance… >>> More