Bug 7497 - Samba + IPv6: nmbd crash, smbd not accesable with xp and 7
Samba + IPv6: nmbd crash, smbd not accesable with xp and 7
Status: RESOLVED WORKSFORME
Product: Samba 3.5
Classification: Unclassified
Component: File services
3.5.3
x64 Windows XP
: P3 critical
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-06 16:19 UTC by Lubomir
Modified: 2013-07-17 19:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lubomir 2010-06-06 16:19:38 UTC
Hello. I tried to get basic samba configuration working with ipv6 before getting full pdc on ipv6. nmbd crashes when it try to start. Last line in the logfile is: nmbd/nmbd.c:696(open_sockets)

smbd is running on tcp6 :::139 and tcp6 :::445, but i cant get with any windows computers connected to it.

When i mount local on the linux machine with 'mount.cifs //fd00::1/data /mnt/somewhere', then it works.

When i try on a windows machine with \\fd00::1 i get an error. I also tried \\[fd00::1] but no change.

Network connection:
Linux: fd00::1/64
Windows 7: fd00::2/64
Windows xp: fd00::3/64

i can ping from every computer the other one with ping6(linux) and ping -6 (windows). The firewalls on the windows computers are disabled.

This is the smb.conf i use:

[global]
workgroup = fh-koeln
netbios name = gentoo
security = share

[data]
comment = Data
path = /home/samba/public #there is an ~200mb iso in it
read only = Yes
guest ok = Yes


When i change the ip's from ipv6 to ipv4 everything works normal.
Comment 1 Karolin Seeger 2010-06-11 03:23:03 UTC
Lowering severity. I don't think it's a show stopper for 3.5.4 (we will try to fix it for 3.5.4 anyway)
Comment 2 Björn Jacke 2013-07-17 19:33:55 UTC
have a look at 

https://en.wikipedia.org/wiki/IPv6_address#Literal_IPv6_addresses_in_UNC_path_names

this works for me at least with 4.0.6 smbd and w2k8r2 as client. The plain or square bracket litteral ipv6 address format is not supported by windows.