Hi Everybody! I'm configuring an IPv6-Only network, the OS i'm using is Debian Lenny 506 and the problem is that i cant put Samba 3.2 working. After configuring the entire system, when i try to join to the domain(net ads join -U Administrator), returns "Segmentation Fault". And with "net ads join -U Administrator -S FQDN_AD_Server" returns "Failed to join domain: Failed to connect to AD: No logon servers". But with this one, the Linux host is added to "Active directory Users and Groups". When i try: "kinit Administrator" It's ok. With the same configuration but on IPv4 all works fine. krb5.conf: [libdefaults] default_realm = DOMAIN.LOCAL v4_instance_resolve = false v4_name_convert = { host = { rcmd = host ftp = ftp } plain = { something = something-else } } fcc-mit-ticketflags = true [realms] DOMAIN.LOCAL = { kdc = kdc.domain.local admin_server = kdc.domain.local default_domain = domain.local } [domain_realm] .domain.local = DOMAIN.LOCAL domain.local = DOMAIN.LOCAL [login] krb4_convert = true krb4_get_tickets = false smb.conf: [global] workgroup = DOMAIN realm = DOMAIN.LOCAL password server = kdc.domain.local winbind use default domain = yes disable netbios = yes log level = 3 preferred master = no local master = no domain master = no security = ads server string = %h server dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes domain logons = no idmap uid = 10000-20000 idmap gid = 10000-20000 template shell = /bin/bash winbind enum groups = yes winbind enum users = yes hosts: 127.0.1.1 localhost.prova.local localhost 127.0.1.1 debhost.domain.local debhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Does anyone know if this is a bug or a possible error in my configuration? It works with IPv4 and i found no specific Samba configuration for IPv6. So I guess it's not a configuration problem. The solution i found was install Debian Backport for Samba, Samba 2.5 that ships with Debian Squeeze... Thanks in advance. -- View this message in context: http://samba.2283325.n4.nabble.com/Samba-3-2-IPv6-tp3008366p3008366.html Sent from the Samba - General mailing list archive at Nabble.com.
Hi I have had IPv6 Samba 3.2 working many times with IPv6 without problems. I suspect that your difficulties are likely to be either: 1) IPv6 is incorrectly configured or not configured (!) 2) Name resolution is incorrectly configured. Please could you provide details of your IPv6 configuration (I notice you call it an IPv6-only network) and your DNS configuration. Whatever happens you should not have had a segmentation violation. Regards, David ------------------------------------------------------------------------ Dr David Holder CEng FIET MIEEE Erion Ltd, Oakleigh, Upper Sutherland Road, Halifax, HX3 8NT Web: http://www.erion.co.uk Reception: +44 (0)1422 207000 Direct Dial: +44 (0)131 2026317 Cell: +44 (0) 7768 456831 Registered in England and Wales. Registered Number 3521142 VAT Number: GB 698 3633 78 On 23/10/2010 13:31, k0rn wrote:> Hi Everybody! > > I'm configuring an IPv6-Only network, the OS i'm using is Debian Lenny 506 > and the problem is that i cant put Samba 3.2 working. > After configuring the entire system, when i try to join to the domain(net > ads join -U Administrator), returns "Segmentation Fault". > And with "net ads join -U Administrator -S FQDN_AD_Server" returns "Failed > to join domain: Failed to connect to AD: No logon servers". But with this > one, the Linux host is added to "Active directory Users and Groups". > > When i try: > "kinit Administrator" > > It's ok. > > With the same configuration but on IPv4 all works fine. > > > krb5.conf: > > [libdefaults] > default_realm = DOMAIN.LOCAL > > > > > v4_instance_resolve = false > v4_name_convert = { > host = { > rcmd = host > ftp = ftp > } > plain = { > something = something-else > } > } > fcc-mit-ticketflags = true > > [realms] > DOMAIN.LOCAL = { > kdc = kdc.domain.local > admin_server = kdc.domain.local > default_domain = domain.local > } > > > [domain_realm] > .domain.local = DOMAIN.LOCAL > domain.local = DOMAIN.LOCAL > > > [login] > krb4_convert = true > krb4_get_tickets = false > > > > > > > smb.conf: > [global] > workgroup = DOMAIN > realm = DOMAIN.LOCAL > password server = kdc.domain.local > winbind use default domain = yes > disable netbios = yes > log level = 3 > preferred master = no > local master = no > domain master = no > security = ads > > > server string = %h server > dns proxy = no > log file = /var/log/samba/log.%m > max log size = 1000 > syslog = 0 > panic action = /usr/share/samba/panic-action %d > encrypt passwords = true > passdb backend = tdbsam > obey pam restrictions = yes > unix password sync = yes > passwd program = /usr/bin/passwd %u > passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* > %n\n *password\supdated\ssuccessfully* . > pam password change = yes > domain logons = no > > idmap uid = 10000-20000 > idmap gid = 10000-20000 > template shell = /bin/bash > > winbind enum groups = yes > winbind enum users = yes > > > > > hosts: > > 127.0.1.1 localhost.prova.local localhost > 127.0.1.1 debhost.domain.local debhost > > ::1 localhost ip6-localhost ip6-loopback > fe00::0 ip6-localnet > ff00::0 ip6-mcastprefix > ff02::1 ip6-allnodes > ff02::2 ip6-allrouters > ff02::3 ip6-allhosts > > > > > > Does anyone know if this is a bug or a possible error in my configuration? > It works with IPv4 and i found no specific Samba configuration for IPv6. So > I guess it's not a configuration problem. > The solution i found was install Debian Backport for Samba, Samba 2.5 that > ships with Debian Squeeze... > > > > Thanks in advance.
David Holder-2, many thanks for your reply. In Linux Host: "/etc/network/interfaces": auto eth0 iface eth0 inet6 static pre-up modprobe ipv6 address fc00:1:2:3::2 netmask 64 "/etc/resolv.conf": domain domain.local search domain.local nameserver fc00:1:2:3::1 # AD server IP "/etc/nsswitch.conf": passwd: compat winbind group: compat winbind shadow: compat hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis In w2k8 Host: IP: fc00:1:2:3::1 netmask: 64 DNS: fc00:1:2:3::1 I have the default configuration of dns Name Type Data w2k8 IPv6 Host(AAAA) fc00:1:2:3::1 I just got these hosts connected through an UTP cable. I have no routers or switches in the middle. Another thing, with this configuration when i try to ping the W2K8 Linux host can ping, but the time between pings is very large. However, when added to the "FC00: 01:02:03:: 1 w2k8.domain.local W2K8", the delay between pings normalizes Regards -- View this message in context: http://samba.2283325.n4.nabble.com/Samba-3-2-IPv6-tp3008366p3008649.html Sent from the Samba - General mailing list archive at Nabble.com.