referrals

Jerome Alet alet at librelogiciel.com
Fri Apr 9 23:37:49 CEST 2004


Good evening,

On Fri, Apr 09, 2004 at 11:25:53PM +0200, Michael Ströder wrote:
> 
> The point is that handling of referrals is not something you can solve in a 
> generic way because referrals are used for achieving different goals. 
> Unless you provide more information about what you want to achieve in 
> *your* specific setup I can't give any real advice.

In my particular case, my application just binds to a slave server 
and reads datas successfully, but whenever I do an add or a modify, 
or a delete, I want to either have python-ldap rebind to the master 
(as hinted by the slave server it seems) and do the modification 
there instead of on the slave, or receive an exception with its 
arguments containing the master server's url and any other 
interesting information needed to have my own code do another bind 
and the modifications I wanted to do in the first place. 

No sure it is very clear. Summarised it could be : do all reads from 
the slave and all writes to the master. 

bye

Jerome Alet
-- 
"Now that I'm connected to the Internet, everybody seems 
to know that I've got a small dick." - Me.




More information about the python-ldap mailing list