[Bug 1335502] [NEW] Samba4 does not work with IPv6

Thiago Martins thiagocmartinsc at gmail.com
Sat Jun 28 21:26:21 UTC 2014


Public bug reported:

Hello guys,

I'm playing with Samba4 and, with IPv4, it works great but, when we
enable IPv6, nothing works.

Here is how to reproduce it:

Resume of the procedure that works (IPv4-Only):

SOURCE: http://www.tiltingatlinux.com/2014/04/basic-samba4-domain-
controler-on-ubuntu.html

---
1- Install Ubuntu 14.04;

2- Configure /etc/hosts & /etc/network/interfaces according;

4- Install Samba4, like this: "apt-get install samba krb5-user
smbclient";

5- Provision domain with: "samba-tool domain provision --realm
domain.com.br --domain DOMAIN --adminpass Test1234Lol --server-role=dc
--use-rfc2307";

6- Reboot & Done!
---

Everything works as expected but, since my network is based on IPv6, I
need to enable it in Samba and... It does not work...

Resume of the procedure that does not work (Dual-Stacked):

---
1- Install Ubuntu 14.04;

2- Configure /etc/hosts & /etc/network/interfaces, like this:

-----
auto eth0

iface eth0 inet6 static
 address 2008:xxx:200:3f6::10
 netmask 64
 gateway 2008:xxx:200:3f6::1

iface eth0 inet static
 address 192.168.1.221
 netmask 24
 gateway 192.168.1.1
 dns-domain domain.com.br
 dns-search domain.com.br
 dns-nameservers 192.168.1.221

-- hosts:

127.0.0.1	localhost.localdomain	localhost
2008:xxx:200:3f6::10   ubuntu-ad-1.domain.com.br	ubuntu-ad-1
192.168.15.221	ubuntu-ad-1.domain.com.br	ubuntu-ad-1
-----

4- Install Samba4, like this: "apt-get install samba krb5-user
smbclient";

5- Provision domain with: "samba-tool domain provision --realm
domain.com.br --domain DOMAIN --adminpass Test1234Lol --server-role=dc
--use-rfc2307";

6- Reboot and... Not is working...
---

Is there any workarounds to deal with it?

Thanks!
Thiago

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1335502

Title:
  Samba4 does not work with IPv6

Status in “samba” package in Ubuntu:
  New

Bug description:
  Hello guys,

  I'm playing with Samba4 and, with IPv4, it works great but, when we
  enable IPv6, nothing works.

  Here is how to reproduce it:

  Resume of the procedure that works (IPv4-Only):

  SOURCE: http://www.tiltingatlinux.com/2014/04/basic-samba4-domain-
  controler-on-ubuntu.html

  ---
  1- Install Ubuntu 14.04;

  2- Configure /etc/hosts & /etc/network/interfaces according;

  4- Install Samba4, like this: "apt-get install samba krb5-user
  smbclient";

  5- Provision domain with: "samba-tool domain provision --realm
  domain.com.br --domain DOMAIN --adminpass Test1234Lol --server-role=dc
  --use-rfc2307";

  6- Reboot & Done!
  ---

  Everything works as expected but, since my network is based on IPv6, I
  need to enable it in Samba and... It does not work...

  Resume of the procedure that does not work (Dual-Stacked):

  ---
  1- Install Ubuntu 14.04;

  2- Configure /etc/hosts & /etc/network/interfaces, like this:

  -----
  auto eth0

  iface eth0 inet6 static
   address 2008:xxx:200:3f6::10
   netmask 64
   gateway 2008:xxx:200:3f6::1

  iface eth0 inet static
   address 192.168.1.221
   netmask 24
   gateway 192.168.1.1
   dns-domain domain.com.br
   dns-search domain.com.br
   dns-nameservers 192.168.1.221

  -- hosts:

  127.0.0.1	localhost.localdomain	localhost
  2008:xxx:200:3f6::10   ubuntu-ad-1.domain.com.br	ubuntu-ad-1
  192.168.15.221	ubuntu-ad-1.domain.com.br	ubuntu-ad-1
  -----

  4- Install Samba4, like this: "apt-get install samba krb5-user
  smbclient";

  5- Provision domain with: "samba-tool domain provision --realm
  domain.com.br --domain DOMAIN --adminpass Test1234Lol --server-role=dc
  --use-rfc2307";

  6- Reboot and... Not is working...
  ---

  Is there any workarounds to deal with it?

  Thanks!
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1335502/+subscriptions



More information about the foundations-bugs mailing list