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@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@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
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@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@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@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
for win2k there is no difference with service packs to a samba pc did you checked that you have no firewall involved? you can switch out for testing to dns errors if you make hosts entries for both systems add user script = /usr/sbin/useradd -d /dev/null -g workstations -s the line above is for version 2.2.8a to create machine accounts on the fly, the syntax changed for version 3, are you sure what version you running? Regards ----- Original Message ----- From: "Emannuel Silva" <emsilva@eml.cc> To: <samba@lists.samba.org> Sent: Friday, November 14, 2003 1:44 PM Subject: Re: UPDT: [Samba] Samba PDC on RH9 w/ W2k SP4 Client.> 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@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 orXP> > 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 seeMicrosoft> > 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@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@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 sessionservice> > 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 experiencein> > 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 > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > >
Hi, Tried that, client an server can ping each other's netbios name. But I am still receiving that message when trying to join the domain. I don't have a clue on what else could've being going on. Thank you, regards, Manny Silva On Fri, 14 Nov 2003 15:10:37 +0100, "rruegner" <robowarp@gmx.de> said:> Before dns was founded there was a host file on every computer > in present it is still there > with editing this file you can solve dns prblems cause linux and win > looks > first in the host file for name lookup > edit /etc/hosts > and search under windows to this file there are examples for entries in > it. > if you done you will see you can ping the other computer with his name. > But i am not sure that this will solve your problem , but it will keep > you > out for dns error, so you can look if there are others bugs may involved > in > your setup > Regards > ----- Original Message ----- > From: "Emannuel Silva" <emsilva@eml.cc> > To: "rruegner" <robowarp@gmx.de>; "Samba List" <samba@lists.samba.org> > Sent: Friday, November 14, 2003 2:59 PM > Subject: Re: UPDT: [Samba] Samba PDC on RH9 w/ W2k SP4 Client. > > > > Hi rruegnet, > > > > First of all, thank you for your response. > > > > There is no firewall on our network. My iptables configurations is also > > clean as you can see: > > > > [root@adilnx02 root]# iptables -L > > Chain INPUT (policy ACCEPT) > > target prot opt source destination > > > > Chain FORWARD (policy ACCEPT) > > target prot opt source destination > > > > Chain OUTPUT (policy ACCEPT) > > target prot opt source destination > > > > "You can switch out for testing to dns errors if you make hosts entries > > for both systems" > > > > Sorry, I was unable to understand this sentence... could you please be > > a little more specific? > > > > Regarding the version I am using at this moment: > > > > [root@adilnx02 root]# smbd -V > > Version 3.0.1pre2 > > > > I updated from 3.0.0 which before was 2.2.8 (Neither was connecting) > > and this line remained. Anyway, I have the machine account created > > manually, so I don't think it could be the problem.. right? > > > > Thank you again, > > Regards, > > > > Emannuel Silva > > > > > > On Fri, 14 Nov 2003 13:52:06 +0100, "rruegner" <robowarp@gmx.de> said: > > > for win2k there is no difference with service packs to a samba pc > > > did you checked that you have no firewall involved? > > > you can switch out for testing to dns errors if you make hosts entries > > > for > > > both systems > > > add user script = /usr/sbin/useradd -d /dev/null -g workstations -s > > > the line above is for version 2.2.8a to create machine accounts on the > > > fly, > > > the syntax changed for version 3, are you sure what version you running? > > > > > > Regards > > > > >