[Samba] Access by share name

Carlos carlos.hollow at gmail.com
Mon Aug 6 11:54:47 UTC 2018


Hi!

Any Ideia ?

Sorry to send again, as I sent on Sunday :-D

Regards;



On 05-08-2018 14:12, Carlos wrote:
>
> Hi!
>
> I have two server samba member domain.
>
> Version 4.8.3(Compilated)
>
> Running in Ubuntu LTS 16.04
>
> With GlusterFS(Replicated)
>
> and
>
> Heartbeat(for HA)
>
>
> IP A: 192.168.200.1 (DNS: Fileserver1) -> Master
>
> IP B: 192.168.200.2 (DNS: FIleserve2) -> Slave
>
> IP C:192.168.200.10 -> (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 192.168.200.1: OK
>
> Access share IP 192.168.200.10: 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 
> authentication)
>
> Access share IP 192.168.200.2: OK
>
> Access share IP 192.168.200.10: 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:
>
> ====================
>
> [global]
>         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
>
> ---
>
> share.conf
>
> [RH]
>         path = /mnt/RH/
>         read only = no
> ====
>
> Regards;
>
>
>



More information about the samba mailing list