Timothy Bisson
2008-Jan-03 12:06 UTC
[Samba] Name Resolution (Network Browsing) in Samba4 server with Vista Client?
Hello, I'm trying to get a samba4 server to show up while "network browsing" on a Vista client, but with no success. I've scoured the web and tried many things, but most documentation is for samba3. I can however mount the samba4 share using it's UNC path, but I really want netbios name resolution to work. With samba 3.0.28, as soon as I start smbd and nmbd, I can view my samba server through Network Browsing. Does Samba4 support name resolution? -If so, how would one configure samba4 to do so? -If not, what I really want is SMB2 support. How much effort would it take to backport smb2 to samba 3.2? Would the best approach be to incorporate the smb_server/smb2 code into samba3/smbd code, or to completely replace the samba3/smbd code with the samba4/smbd and samba4/smb_server code? I'm not really sure what else to try so any suggestions are greatly appreciated. Thanks, Tim Here is my setup ---------------------- I checked out Samba_4_0 build 26646. I'm using parallels with vista as one virtual machine and ubuntu 7.04 as another virtual machine. Both are on the same subnet. The workgroup name on the vista box is WORKGROUP. From looking at ethereal output on the vista box, it looks like samba4 isn't broadcasting itself as a server, so the vista client isn't seen the samba, if that makes any sense. samb3 smb.conf configuration file: [globals] netbios name = TIM-DESKTOP workgroup = WORKGROUP security = share domain master = yes wins support = yes public = yes browseable = yes [public] path = /home/tim/public browseable = yes public = yes read only = no samba4 smb.conf: [globals] netbios name = TIM-DESKTOP workgroup = WORKGROUP realm = WORKGROUP server role = domain controller security = share server max protocol = smb2 wins support = yes local master = yes preferred master = yes dcerpc endpoint servers = epmapper samr lsarpc netlogon rpcecho lanman auth=yes use spnego = yes name resolve order = wins lmhosts hosts bcast browseable = yes auto services = yes [netlogon] path = /root/svnsamba/var/locks/sysvol/workgroup/scripts read only = no [sysvol] path = /root/svnsamba/var/locks/sysvol read only = no [public] path = /home/tim/public browseable = yes read only = no the provsioning step $./setup/provision --realm=WORKGROUP --adminpass=wyo123 -- domain=WORKGROUP --server-role='domain controller'
Andrew Bartlett
2008-Jan-09 21:48 UTC
[Samba] Name Resolution (Network Browsing) in Samba4 server with Vista Client?
On Thu, 2008-01-03 at 04:06 -0800, Timothy Bisson wrote:> Hello, > > I'm trying to get a samba4 server to show up while "network browsing" > on a Vista client, but with no success. I've scoured the web and tried > many things, but most documentation is for samba3. I can however mount > the samba4 share using it's UNC path, but I really want netbios name > resolution to work.As you have found, netbios name resolution works fine, but indeed, we do not support netbios browsing. This older protocol is still very useful, but no developers have yet found the time to implement it in Samba4.> With samba 3.0.28, as soon as I start smbd and nmbd, I can view my > samba server through Network Browsing. > > Does Samba4 support name resolution? > -If so, how would one configure samba4 to do so? > -If not, what I really want is SMB2 support. How much effort would it > take to backport smb2 to samba 3.2? Would the best approach be to > incorporate the smb_server/smb2 code into samba3/smbd code, or to > completely replace the samba3/smbd code with the samba4/smbd and > samba4/smb_server code?It would be far less effort to incorporate some other form of network browsing, such as links with avahi for mDNS based browsing (perhaps extended for Microsoft's LLMNR), or an implementation of NetBIOS browsing into Samba4.> I'm not really sure what else to try so any suggestions are greatly > appreciated.Perhaps best to discuss this on samba-technical, while Samba4 is under pre-release development. I don't tend to look for Samba4 mail here very often. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20080110/6862a6c9/attachment.bin