LinuxQuestions.org
Help answer threads with 0 replies.
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 06-28-2011, 01:36 AM   #1
vijith.pa@gmail.com
LQ Newbie
 
Registered: Feb 2009
Posts: 26

Rep: Reputation: 0
Question LDAP TLS Replication not Working on Ubuntu 10.04 Server


Hi friends,

LDAP TLS replication not working for me , It's Showing some errors like

Jun 28 11:15:25 ldap-02 slapd[919]: slapd starting
Jun 28 11:15:26 ldap-02 slapd[919]: slap_client_connect: URI=ldap://ipaddres Warning, ldap_start_tls failed (-11)
Jun 28 11:15:26 ldap-02 slapd[919]: slap_client_connect: URI=ldap://ipaddres DN="cn=admin,dc=example,dc=com" ldap_sasl_bind_s failed (-1)
Jun 28 11:15:26 ldap-02 slapd[919]: do_syncrepl: rid=000 rc -1 retrying


But Without TLS it's working , here am generated self-sign Certificate for both LDAP Servers and edited cn=config tree also content

dn: olcDatabase={1}hdb,cn=config
replace: olcSyncrepl
olcSyncrepl: {0}rid=0 provider=ldap://ip-address bindmethod=simple binddn="cn=ad
min,dc=example,dc=com" credentials=secret searchbase="dc=example,dc=com" logbas
e="cn=accesslog" logfilter="(&(objectClass=auditWriteObject)(reqResult=0))" s
chemachecking=on type=refreshAndPersist retry="60 +" syncdata=accesslog starttls=yes



if anyone face this issuse before or anyone know pls share ur info ??

with regards

Vijith P A
 
Old 06-29-2011, 11:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,685

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by vijith.pa@gmail.com View Post
Hi friends,
LDAP TLS replication not working for me , It's Showing some errors like

Jun 28 11:15:25 ldap-02 slapd[919]: slapd starting
Jun 28 11:15:26 ldap-02 slapd[919]: slap_client_connect: URI=ldap://ipaddres Warning, ldap_start_tls failed (-11)
Jun 28 11:15:26 ldap-02 slapd[919]: slap_client_connect: URI=ldap://ipaddres DN="cn=admin,dc=example,dc=com" ldap_sasl_bind_s failed (-1)
Jun 28 11:15:26 ldap-02 slapd[919]: do_syncrepl: rid=000 rc -1 retrying


But Without TLS it's working , here am generated self-sign Certificate for both LDAP Servers and edited cn=config tree also content

dn: olcDatabase={1}hdb,cn=config
replace: olcSyncrepl
olcSyncrepl: {0}rid=0 provider=ldap://ip-address bindmethod=simple binddn="cn=ad
min,dc=example,dc=com" credentials=secret searchbase="dc=example,dc=com" logbas
e="cn=accesslog" logfilter="(&(objectClass=auditWriteObject)(reqResult=0))" s
chemachecking=on type=refreshAndPersist retry="60 +" syncdata=accesslog starttls=yes



if anyone face this issuse before or anyone know pls share ur info ??
Spell out your words...text-speak isn't pleasant for anyone to read. You don't post your configuration, or tell us what version/distro of Linux you're using, but the configuration guides have a good deal of troubleshooting info on them?
http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html

Don't know what you're trying to do, your environment, or what you've tried..without details, no one can help. Have you checked your firewalls/selinux?
 
Old 06-29-2011, 11:55 PM   #3
vijith.pa@gmail.com
LQ Newbie
 
Registered: Feb 2009
Posts: 26

Original Poster
Rep: Reputation: 0
Hi,

am using Ubuntu Server 10.04, and firewall already Disabled. then also getting same error...
 
Old 06-30-2011, 12:15 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
The LDAP HOWTO here may help http://www.linuxhomenetworking.com/w...DAP_and_RADIUS
 
  


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
How to LDAP Server in Suse 11.x !! Certification TLS!! reda Linux - Server 4 06-23-2009 10:19 AM
Verifying that TLS is used when contacting LDAP server kenneho Linux - Security 5 05-14-2008 08:28 AM
LDAP server replication csaju Linux - Server 1 02-07-2007 05:15 AM
Ldap replication using TLS/SSL jitender.rajpal Linux - Networking 0 10-18-2006 07:59 AM
Replication of LDap server rockage2001 Linux - Software 0 07-09-2003 11:35 AM

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

All times are GMT -5. The time now is 09:34 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