LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-19-2007, 01:43 AM   #1
vedang
Member
 
Registered: May 2006
Posts: 89

Rep: Reputation: 15
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.
 
Old 10-10-2007, 12:24 AM   #2
vedang
Member
 
Registered: May 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Question 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenLDAP problem leiw Linux - General 3 07-27-2006 03:35 AM
openldap Problem veeraalin Linux - Networking 2 02-17-2006 05:26 AM
openLDAP hanging problem. topcat Linux - Software 2 03-28-2005 06:10 AM
OpenLDAP Problem help!! Sabeer Linux - Software 0 10-10-2003 10:09 AM
Problem to install OpenLDAP MOCKBA Linux - Newbie 1 10-09-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration