UPDT: [Samba] Samba PDC on RH9 w/ W2k SP4 Client.

Emannuel Silva emsilva at eml.cc
Fri Nov 14 12:44:50 GMT 2003


Hi again,

  Just FYI, I was pretty sure that the problem was SP4 related and
  rolledback to SP2... and guess what?
  Still not working, still receiving the same DNS error message.

Any feedback will be appreciated greatly.

  Thank you,

    Emannuel Silva.


On Thu, 13 Nov 2003 17:22:14 -0300, "Emannuel Silva" <emsilva at eml.cc>
said:
> Hi Folks,
> 
>   I have a RH9 machine running Samba 3.0.0 (Had the same situation when
>   running 2.2.8) and I am not being able to make my W2K SP4 clients or XP
>   join the PDC.
> 
>   I keep receiving the following message:
> 
> 
>    "The following error occurred validating the name "ADIDOMAIN"
>    The condition may be caused by a DNS lookup problem. For information 
>    about troubleshooting common DNS lookup problems, please see Microsoft 
>    Web Site: http://go.microsoft.com/fwlink/?LinkId=5171
> 
>    The Specified domain either does no exist or could not be contacted."
> 
> My first tough was that nmb was broken, and the netbios name was not
> being setup correctly.
> But I did the following:
> 
> 
> Tried to find the domain:
> 
> [root at adilnx02 root]# nmblookup adidomain
> added interface ip=10.179.8.90 bcast=10.179.8.255 nmask=255.255.255.0
> querying adidomain on 10.179.8.255
> Got a positive name query response from 10.179.8.90 ( 10.179.8.90 )
> 10.179.8.90 adidomain<00>
> 
> 
> Tried to find the client:
> 
> [root at adilnx02 root]# nmblookup imageadi
> added interface ip=10.179.8.90 bcast=10.179.8.255 nmask=255.255.255.0
> querying imageadi on 10.179.8.255
> Got a positive name query response from 10.179.8.149 ( 10.179.8.149 )
> 10.179.8.149 imageadi<00>
> 
> both are working!
> 
> Then I tough it was probably something to do with my client. For some
> reason, my client was not being able to see my domain. Then I tried:
> 
> net use h: \\adidomain\homes /user:myuser 
> ping adidomain
> 
> and both works!
> 
> Checked my services: (/etc/services)
> 
> netbios-ns      137/tcp                         # NETBIOS Name Service
> netbios-ns      137/udp
> netbios-dgm     138/tcp                         # NETBIOS Datagram
> Service
> netbios-dgm     138/udp
> netbios-ssn     139/tcp                         # NETBIOS session service
> netbios-ssn     139/udp
> microsoft-ds    445/tcp
> microsoft-ds    445/udp
> 
> seens okay.
> 
> Checked the proccess:
> 
> 
> root      5807  0.0  1.0  9620 2580 ?        S    14:26   0:00 smbd -D
> root      5811  0.0  0.9  7840 2436 ?        S    14:26   0:00 nmbd -D
> nobody    5890  0.0  1.2 10088 3244 ?        S    14:54   0:00 [smbd]
> nobody    5891  0.0  1.2 10096 3252 ?        S    14:54   0:00 [smbd]
> 
> seens okay also.
> 
> 
> checked my config file:
> 
> [global]
>     add user script = /usr/sbin/useradd -d /dev/null -g workstations -s
>     /bin/false -M %u
>     create mask = 0664
>     dead time = 0
>     debug level = 3
>     default case = lower
>     directory mask = 0770
>     dns proxy = no
>     domain logons = yes
>     domain master = yes
>     dos filetimes = yes
>     encrypt passwords = yes
>     hide dot files = yes
>     interfaces     = tr0
>     load printers = no
>     local master = yes
>     log file = /var/log/samba/log.%m
>     log level = 2
>     logon drive = H:
>     logon path  = \\%L\profiles\%u
>     logon home  = \\%L\%U\.profile
>     logon script = netlogin.bat
>     max log size = 50
>     name resolve order = host wins bcast
>     netbios name = adidomain
>     os level = 64
>     passwd program = /usr/bin/passwd %u
>     os level = 64
>     passwd program = /usr/bin/passwd %u
>     password level = 8
>     preferred master = yes
>     printcap name = /etc/printcap
>     security = user
>     server string = ADI Primary Domain Controller (Samba %v PDC)
>     socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
>     SO_SNDBUF=8192
>     smb passwd file = /etc/samba/smbpasswd
>     time server = yes
>     unix password sync = yes
>     username level = 8
>     username map = /etc/samba/smbusers
>     wins support = yes
>     workgroup = ADI
>     null passwords = no
> 
> 
> [netlogon]
>   path              = /home/domain/netlogon
>   read only         = yes
>   browseable        = no
>   write list        = @admin
> 
> 
> [profiles]
>     path = /home/domain/profiles
>     read only = no
>     path = /home/domain/profiles
>     read only = no
>     create mask = 0600
>     directory mask = 0700
>     force directory mode = 0700
>     inherit permissions = yes
>     nt acl support = yes
>     map system = yes
>     map hidden = yes
>     browseable = no
>     comment = User profile directory on %L (Samba %v PDC)
>     profile acls = yes
> 
> 
> [homes]
>   comment           = Home Directories
>   browseable        = no
>   writeable         = yes
> 
> 
> Does not looks like I have a problem here. testparm is happy also.
> 
> 
> I did my homework by googling and looking for things in the maillist.
> Found lot of info on SP4 + Samba.
> Things I tried (All the combinations of the following were tried):
> 
> - Disable LMSHOSTS
> - Add samba server to DNS configuration
> - Add samba server to wins configuration
> - Change the netlogon\parameters thing on the REGEDIT, even knowing its
> only for windows XP pro.
> 
> 
> And its still not working, still giving that DNS message.
> 
> Is there anything else I could try? Do any of you guys have experience in
> this scenario? 
> Any help would be greatly appreciated.
> 
> Thank you very much,
> 
>   Emannuel Silva
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list