Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; "(it's": 0.09; 'bind': 0.09; 'etc).': 0.09; 'ldap': 0.09; 'modify,': 0.09; 'first),': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'rewrites': 0.16; 'subject:ldap': 0.16; 'subject:proxy': 0.16; 'subject:user': 0.16; 'twisted': 0.16; 'wrote:': 0.18; 'wrote': 0.21; 'header:In-Reply-To:1': 0.22; 'code': 0.26; 'pm,': 0.29; 'server': 0.30; "client's": 0.30; 'message-id:@gmail.com': 0.31; 'michael': 0.31; 'anonymous': 0.32; 'go.': 0.32; 'thanks': 0.32; 'requests': 0.32; 'totally': 0.32; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.35; 'received:org': 0.36; 'but': 0.37; 'received:192': 0.38; 'option': 0.39; 'cannot': 0.39; 'user': 0.40; 'to:addr:python.org': 0.40; 'more': 0.61; 'your': 0.61; 'share': 0.66; 'rights': 0.68; 'replay': 0.84; 'ships': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sat, 11 Feb 2012 20:35:33 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.16 MIME-Version: 1.0 To: python-list@python.org Subject: Re: ldap proxy user bind References: <452a9dab-af23-44ef-9460-33a6fbf6faf0@g4g2000pbi.googlegroups.com> <224a1023-a78f-4658-92b3-8448e305e6bd@iu7g2000pbc.googlegroups.com> In-Reply-To: <224a1023-a78f-4658-92b3-8448e305e6bd@iu7g2000pbc.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1329019404 news.xs4all.nl 6842 [2001:888:2000:d::a6]:60920 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20246 On 02/11/2012 02:19 PM, sajuptpm wrote: > Hi Michael Ströder, > Thanks for replay > > Yea i am not totally clear about that > > Client's Requirement is > option to have a ldap proxy user bind to the ldap server if it needs > more directory rights than an anonymous bind. > option to use a ldap proxy user when searching. I wrote a true LDAP proxy server last year that intercepts and rewrites requests (bind, search, modify, etc). I used as my basis the LDAP proxy server that ships with Python-Twisted. Unfortunately I cannot share my code with you, but if you can get your head wrapped around Twisted (it's *extremely* hard to understand how it works at first), then this is the way to go.