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;
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; > > >
On Mon, 6 Aug 2018 08:54:47 -0300 Carlos via samba <samba at lists.samba.org> wrote:> Hi! > > Any Ideia ? > > Sorry to send again, as I sent on Sunday :-D > > Regards; > > >There doesn't seem to be much wrong with the smb.conf you posted: You have: winbind nss info = rfc2307 And: winbind nss info = template You shouldn't have both and as you are using the 'rid' backend, I would remove both and then the default will be used (which is 'template') You have also commented out 'vfs objects = acl_xattr', I would uncomment it. I do not think this is a Samba problem, have you tried asking who ever produces Glusterfs ? Rowland