LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   OpenLDAP and DNS problem. (https://www.linuxquestions.org/questions/linux-server-73/openldap-and-dns-problem-585722/)

vedang 09-19-2007 01:43 AM

OpenLDAP and DNS problem.
 
Hi,

I have made a setup of OpenLDAP and DNS server to work as Domain Controller.
In OpenLDAP I can add users query users and query domain aslo. OpenLDAP alone seems to be working fine.
I have also added an enrtry in forward zone file on DNS. The entry is as follows
server IN A 192.168.0.114
_ldap._tcp.example.com. IN SRV 0 0 389 server
_ldap._tcp.dc._msdcs.example.com. IN SRV 0 0 389 server

And when I query the DNS server it gives with proper answer for A, NS and AAAA records.

Now when I try to add a WinXP machine to this domain it gives following error.

DNS was successfully queried for the service location (SRV) resou\rce record used to locate a domain controller for domain example.com.

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

The following domain controler were identified by the query.

server.example.com

Common causes of this problem include

-HOST (A) records that map the name for the domain controller to it's IP addresses are missing or contain incorrect addresses.
-Domain controller registered in DNS are not connected to the network or are not running.


Please help me to solve this problem.



Thanks in advance.

vedang 10-10-2007 12:24 AM

LDAP error
 
Thanks for the reply. It really helped me out. I added object to base.ldif and now I can add users to the database.
Now openldap is working ok. It answers to the query also.
I have also configured DNS for the openldap server and my entries to zone file are as following.

_ldap._tcp.example.com. SRV 0 0 389
_ldap._tcp.dc._msdcs.example.com. SRV 0 0 389

But now what problem I have is that I cannot add a WinXP machine to this domain.

Please help me solving this problem.


Thanks in advance.


All times are GMT -5. The time now is 12:35 PM.