[Samba] Nmblookup problem.

Latrell is85022 at cis.nctu.edu.tw
Fri Jul 7 07:40:06 GMT 2006


Hi All:

When I usign nmblookup to query my domain controller, I got different =
results:

root at Latrell:# nmblookup -A ADDomain.com
Looking up status of 169.254.211.91
No reply from 169.254.211.91

root at Latrell:# nmblookup -A ADDomain.com
Looking up status of 172.23.26.204
        WIN-2003                  <00> -         M <ACTIVE>
        WIN                           <00> - <GROUP> M <ACTIVE>
        WIN                           <1c> - <GROUP> M <ACTIVE>
        WIN-2003                  <20> -         M <ACTIVE>
        WIN                           <1b> -         M <ACTIVE>
        WIN                           <1e> - <GROUP> M <ACTIVE>
        WIN                           <1d> -         M <ACTIVE>
        ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>

        MAC Address =3D 00-0A-E4-09-D9-34

The seond output is what I need. The condition is consistent: one =
correct, one incorrect, etc. The problem happened when my samba server =
and DC are in different subnet.
My samba version is 3.0.21c with kernel 2.4.31. Ad domain is win2003 =
with sp1.

My global settings are as follows:
        dos charset =3D UTF8
        display charset =3D UTF8
        unix charset =3D UTF8
        server string =3D %h
        netbios name =3D Latrell
        wins server =3D 172.23.26.209
        write ok =3D yes
        guest account =3D smbguest
        map to guest =3D bad user
        encrypt passwords =3D yes
        map archive =3D no
        client use spnego =3D no
        auth methods =3D guest sam_ignoredomain winbind:ntdomain
        host msdfs =3D yes
        winbind use default domain =3D yes

        workgroup =3D ADDomain
        security =3D ads
        password server =3D ADDomain.com *
        idmap uid =3D 100000-500000
        idmap gid =3D 100000-500000
        winbind cache time =3D 15
        template homedir =3D /tmp/users/home/%D/%U
        template shell =3D /bin/bash

        create mask =3D 777
        directory mask =3D 777
        force create mode =3D 777
        force directory mode =3D 777

Thanks,
Latrell



More information about the samba mailing list