LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2015, 05:09 PM   #1
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Rep: Reputation: 18
ldap forwarding


We have a Linux Redhat LDAP server (server A) that perform forwarding. That is someone makes a request from the LDAP server and if it cannot find an entry for the request it makes the request of another server (server B). The authentication is by challenge response. The user name and password is given and if the user password combination is correct then details are returned.

My problem is that server B is to change to an authorised user authentication (ldaps)requiring a bind then a connection using the authorised user name and the password.

I have the authorised user name and password and can successfully do a direct request to server B (using an ldap python script) from server A. This doesn't use the ldap daemon.

My problem is how to configure the slapd.conf file on server A, to receive a request, given a user name and their password (password now not now needed) and find their details from server B performing a bind and authentication using the authorised user and that passwd.

Previous the slapd config for the forwarding was

Code:
database        ldap
uri             ldap://serverB.example.org.au
suffix  "dc=serverB,dc=example,dcorg,dc=au"

database        bdb
suffix          "dc=serverA,dc=example,dc=org,dc=au"
rootdn          "cn=Manager,dc=serverA,dc=example,dc=org,dc=au"
I could write a Python program but to receive forward and reply. It should, I think, be easier/quicker to configure slapd.conf
 
  


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
ip forwarding with iptables - double forwarding with openVPN?? sousacanfly Linux - Networking 8 01-20-2014 08:49 AM
[SOLVED] Apache authentication: allow LDAP group OR user named guest, but not all LDAP users AlucardZero Linux - Server 1 05-25-2011 03:21 PM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM
LXer: LDAP Series Part IV - Installing OpenLDAP on Debian Plus Some LDAP Commentary LXer Syndicated Linux News 0 10-31-2006 06:54 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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