[Samba] Join W2008 R2 64bit to samba 3.5.8

Daniel Müller mueller at tropenklinik.de
Wed Jun 8 08:51:40 MDT 2011


> Did you try the nslookup command on the windows server itself?  

C:\Users\Administrator>nslookup  tuepdc  192.168.135.143
Server:  tuepdc.local
Address:  192.168.135.143

Name:    tuepdc.local
Address:  192.168.135.143

C:\Users\Administrator>nslookup tuepdc.tuepdc
Server:  linux.local
Address:  192.168.135.252

Name:    tuepdc.local
Address:  192.168.135.143
Aliases:  tuepdc.tuepdc.local

> Did you change the port settings on samba-  you may want to  stick with
defaults (139  445 )
[root at tuepdc ~]# testparm|grep ports

smb ports = 139 445


> Did you disable Netbios-over-TCP on Windows

C:\Users\Administrator>nbtstat -A 192.168.135.132

LAN-Verbindung 2:
Knoten-IP-Adresse: [0.0.0.0] Bereichskennung: []

    Host nicht gefunden.

LAN-Verbindung 4:
Knoten-IP-Adresse: [192.168.135.132] Bereichskennung: []

      NetBIOS-Namentabelle des Remotecomputers

       Name               Typ          Status
    ---------------------------------------------
    EUSSERVER      <00>  EINDEUTIG   Registriert
    TUEPDC.LOCAL   <00>  GRUPPE      Registriert
    EUSSERVER      <20>  EINDEUTIG   Registriert
    TUEPDC.LOCAL   <1E>  GRUPPE      Registriert
    TUEPDC.LOCAL   <1D>  EINDEUTIG   Registriert
    ..__MSBROWSE__.<01>  GRUPPE      Registriert

    MAC Adresse = 00-25-90-01-EC-D4


C:\Users\Administrator>nbtstat -A 192.168.135.252

LAN-Verbindung 2:
Knoten-IP-Adresse: [0.0.0.0] Bereichskennung: []

    Host nicht gefunden.

LAN-Verbindung 4:
Knoten-IP-Adresse: [192.168.135.132] Bereichskennung: []

    Host nicht gefunden.

C:\Users\Administrator>nbtstat -c

LAN-Verbindung 2:
Knoten-IP-Adresse: [0.0.0.0] Bereichskennung: []

    Keine Namen im Cache

LAN-Verbindung 4:
Knoten-IP-Adresse: [192.168.135.132] Bereichskennung: []

                  NetBIOS-Remotecache-Namentabelle

        Name              Typ        Hostadresse     Dauer [Sek.]
    -------------------------------------------------------------
    EUSSERVER      <20>  EINDEUTIG       192.168.135.132     427


So the server gives me with his IP 192.168.135.251 nothing with nbtstat.
With his IP 192.168.135.132 everything is fine for the local address.
Remote addresses do not work.



-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Gaiseric Vandal
Gesendet: Mittwoch, 8. Juni 2011 16:04
An: samba at lists.samba.org
Betreff: Re: [Samba] Join W2008 R2 64bit to samba 3.5.8

Did you try the nslookup command on the windows server itself?  Does the 
windows VM  appear to have multiple nic's (doesn't matter about the 
hyper-visor.)

Can the windows server see shares from the samba server?

Did you disable Netbios-over-TCP on Windows-  this would definitely 
break stuff.  It still seems to be expecting  an AD domain.


Win 2008 has ip v6 enabled by default.   Maybe that is creating 
issues.   If you disable ip v6 in the network settings that doesn't 
really disable it and just makes things worse.

Did you change the port settings on samba-  you may want to  stick with 
defaults (139  445 )


On 06/08/2011 04:34 AM, Daniel Müller wrote:
> For true I set this in my registry and nothing else:
>
>> HKLM\System\CCS\Services\LanmanWorkstation\Parameters
>> DWORD DomainCompatibilityMode = 1
>> DWORD DNSNameResolutionRequired = 0
> Restarted w2008 R2 X64 and the same error on and on....
> Joining a windows 7 X64 without any trouble.
> The only difference I mentioned further is :HyperV is running on the w2008
> machine  along with several nics.
> To go further I configured bind on the Samba-PDC to serve the dns-records:
>
> host -t SRV _ldap._tcp.tuepdc.local.
> _ldap._tcp.tuepdc.local has SRV record 0 0 389 tuepdc.tuepdc.local.
>
> host -t A tuepdc.tuepdc.local.
> tuepdc.tuepdc.local has address 192.168.135.143
>
> Now the w2008 give errors about an A or AAA record. Just stupid!
>
> -----------------------------------------------
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
>
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> -----------------------------------------------
>
> -----Ursprüngliche Nachricht-----
> Von: TAKAHASHI Motonobu [mailto:monyo at monyo.com]
> Gesendet: Sonntag, 5. Juni 2011 20:23
> An: mueller at tropenklinik.de
> Cc: samba at lists.samba.org
> Betreff: Re: [Samba] Join W2008 R2 64bit to samba 3.5.8
>
> From: Daniel_Müller<mueller at tropenklinik.de>
> Date: Wed, 1 Jun 2011 09:31:46 +0200
>
>> Sorry,
>>
>> but I did,
> (snip)
>
>> And restarted several times and still the same when trying to join my
> W2008
>> to domain:
>>
>> The following error occurred when DNS was queried for the service
location
>> (SRV) resource record used to locate a domain controller for domain
>> "DNS name does not exist." ...................
> I examined that Windows Server 2008 R2 can join Samba 3.5.6
> domain. Only to need to change is:
>
>> HKLM\System\CCS\Services\LanmanWorkstation\Parameters
>> DWORD DomainCompatibilityMode = 1
>> DWORD DNSNameResolutionRequired = 0
> as described at https://wiki.samba.org/index.php/Windows7
>
> According to your error message, DNSNameResolutionRequired is not yet
> enabled...
>
> ---
> TAKAHASHI Motonobu<monyo at samba.gr.jp>
>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list