[Samba] Again: restriction on workgroup name length ?

Joerg.Thomas.Vogt at Sun.COM Joerg.Thomas.Vogt at Sun.COM
Wed Aug 27 15:16:04 GMT 2003


Hi,

I have checked out the cvs tree on Monday, Aug 25 which includes
your patch, built and installed it but without success:


log.nmbd:

[2003/08/27 16:34:00, 0] nmbd/nmbd_nameregister.c:(73)
  register_name_response: Answer name EMEA.CORPDIR.NE<00> differs from question name EMEA.CORPDIR.NET<00>.
[2003/08/27 16:34:00, 0] nmbd/nmbd_nameregister.c:(73)
  register_name_response: Answer name EMEA.CORPDIR.NE<1e> differs from question name EMEA.CORPDIR.NET<1e>.
[2003/08/27 16:34:05, 2] nmbd/nmbd_nameregister.c:(182)
  wins_registration_timeout: WINS server 192.68.1.100 timed out registering IP 192.168.1.200
[2003/08/27 16:34:05, 2] nmbd/nmbd_nameregister.c:(182)
  wins_registration_timeout: WINS server 192.168.1.100 timed out registering IP 192.168.1.200
[2003/08/27 16:37:04, 0] nmbd/nmbd_elections.c:(95)
  check_for_master_browser_fail: Unable to find workgroup EMEA.CORPDIR.NE on subnet 192.168.1.200.=

Configuration:

smb.conf:
   workgroup = emea.corpdir.net
   security = domain
   password server = domserver
   wins server = 192.168.1.100
   name resolve order = wins bcast

======================

Output from "net ads lookup"

Information for Domain Controller: domserver

Response Type: SAMLOGON
GUID: aa51fc84-369f-4353-b939-af1592d560fb
Flags:
        Is a PDC:                                   no
        Is a GC of the forest:                      yes
        Is an LDAP server:                          yes
        Supports DS:                                yes
        Is running a KDC:                           yes
        Is running time services:                   yes
        Is the closest DC:                          yes
        Is writable:                                yes
        Has a hardware clock:                       no
        Is a non-domain NC serviced by LDAP server: no
Forest:                 corpdir.net
Domain:                 emea.corpdir.net
Domain Controller:      domserver.emea.corpdir.net
Pre-Win2k Domain:       EMEA
Pre-Win2k Hostname:     DOMSERVER
Site Name:              X-XXX-X
Site Name (2):          X-XXX-X
NT Version: 5
LMNT Token: ffff
LM20 Token: ffff

==========================

/etc/krb5/krb5.conf:

[libdefaults]
        default_realm = EMEA.CORPDIR.NET

[realms]
       EMEA.CORPDIR.NET = {
                kdc = domserver
        }

==========================

Output from: smbclient -L localhost

        Sharename      Type      Comment
        ---------      ----      -------
        tmp            Disk      Temporary file space
        IPC$           IPC       IPC Service (sambaserver, running Samba ver. CVS 3.0.0rc2)
        ADMIN$         IPC       IPC Service (sambaserver, running Samba ver. CVS 3.0.0rc2)

        Server               Comment
        ---------            -------
        SAMBASERVER          sambaserver, running Samba ver. CVS 3.0.0rc2

        Workgroup            Master
        ---------            -------
        EMEA.CORPDIR.NE


============================


May I run into problems because of different Kerberos- and Domainnames 
(EMEA.CORPDIR.NET versus EMEA.CORPDIR.NE) ???

Cheers, Thomas

>On Fri, Aug 22, 2003 at 04:49:20PM +0200, Joerg.Thomas.Vogt at Sun.COM wrote:
>> Hi,
>> 
>> I have a Windows 2000 Domain Controller serving the domain
>> EMEA.CORPDIR.NET
>> 
>> smb.conf:
>> 
>>     workgroup = emea.corpdir.net
>>     security = domain
>> 
>> nmbd show the following errors: 
>> 
>>   register_name_response: Answer name EMEA.CORPDIR.NE<00> differs from question name EMEA.CORPDIR.NET<00>.
>> [2003/08/22 16:29:42, 0] nmbd/nmbd_nameregister.c:(73)
>>   register_name_response: Answer name EMEA.CORPDIR.NE<1e> differs from question name EMEA.CORPDIR.NET<1e>.
>> [2003/08/22 16:29:46, 2] nmbd/nmbd_nameregister.c:(182)
>> 
>> 
>> and it's not possible to join the domain.
>
>This looks like an off by one bug in nmbd when dealing
>with names. I'm working on this code at the moment, I'll
>try and ensure this gets fixed for RC2.
>
>Jeremy.
>



More information about the samba mailing list