LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   xp giving error when trying to join samba domain (https://www.linuxquestions.org/questions/linux-networking-3/xp-giving-error-when-trying-to-join-samba-domain-865746/)

MegaTech 03-01-2011 09:51 AM

xp giving error when trying to join samba domain
 
Hello

I am working on a rhel 3 server with samba 3.0.9 and openldap 2.0.27. I have configured samba an openldap. But when i try to join one of my xp machines to the domain i get this error message. And i dont exactly know how to fix it.

The error message on Windows XP:
A domain controller for te domain TEST could nog be contacted.

note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.

The domain name TEST might be a NetBIOS domain name. If this is the case, verify that the domain name is properly registered with WINS.

If you are certain that the name is not a NetBIOS domain name, then the following information can help you troubleshoot your DNS configuration.

The following error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain TEST:

The error was: "DNS name does not exist."
(error code 0x0000232B RCODE_NAME_ERROR)

The query was for the SRV record for _ldap._tcp.dc._msdcs.TEST

Common causes of this error include the following:

- The DNS SRV record is not registered in DNS.

- One or more of the following zones do not include delegation to its child zone:

TEST
. (the root zone)

For information about correcting this problem, click Help.

This is my samba configuration:
#======================= Global Settings =====================================
[global]
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m.log
max log size = 50
map acl inherit = yes

#======================= Network Settings ====================================
[network]
workgroup = TEST
netbios name = GANESHA
server string = Ganesha - Primary domain controller
interfaces = eth0, lo
name resolve order = wins bcast hosts
time server = yes
wins support = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#======================= Domain Settings =====================================
[domain]
security = user
os level = 50
domain master = yes
preferred master = yes
domain logons = yes
encrypt passwords = yes

And i think this is a DNS problem so i wil post my dns configuration to don't know if it wil help but stil.

DNS configuration:
// named.conf for ad.nl

options {
directory "/var/named";
forwarders { 213.51.129.37 port 53; 8.8.8.8 port 53; };
};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

acl alledozen {
192.168.1.0/24;
};

include "/etc/rndc.key";

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "fhcnad.nl" IN {
type master;
file "test.nl.zone";
allow-update { alledozen; };
};

zone file configuration
$ORIGIN .
$TTL 86400 ; 1 day
test.nl IN SOA dns.test.nl. postmaster.test.nl. (
2010110301 ; serial
10800 ; refresh (3 hours)
900 ; retry (15 minutes)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
IN NS dns.test.nl.


$ORIGIN test.nl.
pfsense IN A 192.168.1.1
ganesha IN A 192.168.1.2
dns IN A 192.168.1.3
vishnu IN A 192.168.1.4

Already thanks.

MegaTech

rizhun 03-03-2011 03:09 AM

First off, I would change the name of your workgroup.
I've seen plenty of weeeird and unexpected behaviour when things are called TEST.

MegaTech 03-04-2011 02:01 AM

Well test isn't the actual name of my workgroup, for the thread i made i just called it that.
but thanx for the idea anyhow.

MegaTech


All times are GMT -5. The time now is 06:08 AM.