Problem defining the Samba workgroup

NoOp glgxg at sbcglobal.net
Wed Sep 15 16:08:49 UTC 2010


On 09/15/2010 02:47 AM, pkaplan1 at comcast.net wrote:
> I'm running a Samba server on lucid. I am attempting to define the workgroup as KAPPA_NET, but the server insists on using WORKGROUP. 
> 
> 
> /etc/samba/smb.conf shows that 
> 
> 
> workgroup=KAPPA_NET 

My smb.conf:
# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = mshome
(notice the spaces between the equal sign)
[snip]
> 
> 
> Yet probing the LAN from either windows or lucid show that the server is on WORKGROUP 
> 
> 
> Also, running smbclient -L //127.0.0.1 from the server returns: 
> 
> 
> Domain=[KAPPA_NET] OS=[Unix] Server=[Samba 3.4.7] 
> Sharename Type Comment 
> ---------------- ------- -------------- 
> print$ Disk Printer Drivers 
> share Disk 
> store1 Disk 
> store2 Disk 
> IPC$ IPC IPC Service (dumbledore sever Samba Ubuntu)) 
> Officejet Printer HP Officejet 6500 e709n 
> Domain=[KAPPA_NET] OS=[Unix] Server=[Samba 3.4.7] 
> 
> Sharename Type Comment 
> ---------------- ------- -------------- 
> 
> 
> Workgroup Master 
> ---------------- --------- 
> KAPPA_NET PS-B810 
> WORKGROUP DUMBLEDORE 
> 
> 
> Where PS-P810 is the name of a windows machine on the LAN that is a member of the workgroup KAPPA_NET and dumbledore is the name of the machine running Samba. 
> 
> 
> Why isn't the server reporting that is a member of KAPPA_NET? 

Mine (I use MSHOME):
$ smbclient -L //127.0.0.1
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.4.7]

	Sharename       Type      Comment
	---------       ----      -------
	print$          Disk      Printer Drivers
	IPC$            IPC       IPC Service (gg2 server (Samba, Ubuntu))
	tempdir         Disk
	tempdirgg       Disk
Domain=[MSHOME] OS=[Unix] Server=[Samba 3.4.7]

	Server               Comment
	---------            -------
	GG2                  gg2 server (Samba, Ubuntu)

	Workgroup            Master
	---------            -------
	MSHOME               GG2

Now, one other place to check:
$ cat /etc/hosts
127.0.0.1 localhost gg2.mshome
127.0.1.1 gg2

Notice the 127.0.0.1 line; I've added the workgroup setting (mshome).
Try modifying your hosts file to:
  127.0.0.1 localhost dumbledore.kappa_net
Stop & restart samba & see if that does the trick.





More information about the ubuntu-users mailing list