LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba cannot find my workgroup on subnet UNICAST_SUBNET (https://www.linuxquestions.org/questions/linux-networking-3/samba-cannot-find-my-workgroup-on-subnet-unicast_subnet-510748/)

humbletech99 12-15-2006 11:35 AM

Samba cannot find my workgroup on subnet UNICAST_SUBNET
 
I've got a samba server that has
Code:

workgroup = NTDOMAIN
and when I change this to
Code:

workgroup = ADDOMAIN
I end up with loads of the following spewing all over my logs
Code:

nmbd[5127]: [2006/12/15 17:23:15, 0] nmbd/nmbd_browsesync.c:collect_all_workgroup_names_from_wins_server(588)
nmbd[5127]:  collect_all_workgroup_names_from_wins_server:
nmbd[5127]:  Cannot find my workgroup DOMAINNAME on subnet UNICAST_SUBNET.

I have another machine, almost identical in both hardware and software (I ghosted it) which I have set this to the new domain and it is fine with this. No errors in logs. The only difference is that the former is acting as a WINS server and has the following set
Code:

wins support = yes
I have tried things like
Code:

domain master = yes
and
Code:

domain master = no
but neither seem to make a difference.

I'm not sure why the WINS server doesn't just let itself continue as before. It is the WINS server after all and should query itself, but it is also on the same subnet as the Windows 2003 AD domain controllers so broadcast on subnet should also work. It just don't understand what' wrong with it.


Any Ideas?

marozsas 12-15-2006 01:06 PM

Try to disable the firewall in this machine.
The default configuration in several distros blocks broadcast and/or the Microsoft netbios, wins, etc.

If disabling the firewall works, you can try to open some of theses ports and broadcast.

Code:

miguel@babylon5:~> grep -iE "^netbios|Microsoft-DS|wins" /etc/services | grep -vEi "^#|winsock"
netbios-ns      137/tcp    # NETBIOS Name Service
netbios-ns      137/udp    # NETBIOS Name Service
netbios-dgm    138/tcp    # NETBIOS Datagram Service
netbios-dgm    138/udp    # NETBIOS Datagram Service
netbios-ssn    139/tcp    # NETBIOS Session Service
netbios-ssn    139/udp    # NETBIOS Session Service
microsoft-ds    445/tcp    # Microsoft-DS
microsoft-ds    445/udp    # Microsoft-DS
wins            1512/tcp    # Microsoft's Windows Internet Name Service
wins            1512/udp    # Microsoft's Windows Internet Name Service
winshadow      3261/tcp  # winShadow
winshadow      3261/udp  # winShadow
winshadow-hd    3861/tcp  # winShadow Host Discovery
winshadow-hd    3861/udp  # winShadow Host Discovery
miguel@babylon5:~>


humbletech99 12-15-2006 03:15 PM

there is no firewall on this distro.


All times are GMT -5. The time now is 08:52 PM.