[Samba] Access by share name

Carlos carlos.hollow at gmail.com
Sun Aug 5 17:12:22 UTC 2018


I have two server samba member domain.

Version 4.8.3(Compilated)

Running in Ubuntu LTS 16.04

With GlusterFS(Replicated)


Heartbeat(for HA)

IP A: (DNS: Fileserver1) -> Master

IP B: (DNS: FIleserve2) -> Slave

IP C: -> (DNS: Fileserve) -> Heartbeat -> IP that stays 
with master server , when UP, if down IP "junp" for next serve, and go 
back server UP.

My problem is:

Acess  Server 1(200.1)

Access share  name Fileserver1: OK

Access share name Fileserver: OK

Access share IP OK

Access share IP OK(Ip stay server because UP)


Access Server 2(200.2)

Access share name Fileserver2: OK

Access share name Fileserver: NO (Popup appears requesting domain 

Access share IP OK

Access share IP OK(Ip stay server because server 1 is DOWN )


I don't understand why dont work access with name dns is IP Heartbeat in 
Server 2...

Any Ideia?

More Information:


Setting Both Servers:


         workgroup = XXXXXX
         realm = INTERNO.XXXXX.XXX.XXX
         security = ADS
         username map = /usr/local/samba/etc/user.map

         dedicated keytab file = /etc/krb5.keytab
         kerberos method = secrets and keytab
         winbind cache time = 60

         winbind max clients = 600
         winbind enum users = Yes
         winbind enum groups = Yes
         winbind use default domain = Yes
         winbind nss info = rfc2307
         winbind refresh tickets = Yes
         winbind nss info = template
         template shell = /bin/bash
         template homedir = /home/%U

         idmap config * : backend = tdb
         idmap config * : range = 3000-7999
         idmap config XXXX : backend = rid
         idmap config XXXX : range = 10000-999999

         # Necessario para Fileserver
         #vfs objects = acl_xattr
         map acl inherit = Yes
         store dos attributes = Yes

         # Disable Cups
         load printers = no
         printing = bsd
         printcap name = /dev/null
         disable spoolss = yes

         include = /opt/samba/etc/share.conf



         path = /mnt/RH/
         read only = no


More information about the samba mailing list