Oops,

it fell off the list ;-)

Anyway. it seems to be halfway correct at most,
now that I have read Graham's answer.

Peter


On Monday 05 April 2004 19:05, Peter Marschall wrote:
> Hi,
>
> On Monday 05 April 2004 18:05, Safford, Brian wrote:
> > I obviously didn't explain myself very well ...
> >
> > I know how to connect TO an LDAP host ... I need to specify which IP
> > address will be used to make that connection.  I have multiple ethernet
> > interfaces on my server, and due to some firewall restrictions
> > downstream, I need to specify a particular local IP address with which to
> > do the TCP bind.
>
> Are you talking about he IP of the server or the IP of the client you want
> to have set to a fixed value.
>
> If it is the server's IP (the machine the LDAP server runs on) then connect
> to that IP in the Net::LDAP->new() call and you are done.
>
> If you talk about the client IP (the machine you run your perl-ldap script
> on) I do not know of a way to set the IP address in perl-ldap.
>
> IMHO setting this IP is not the job of perl-ldap but part of the routing
> configuration in your IP stack (on your client)
>
> If you want to connect from your client to the server using one source IP
> for the LDAP protocol and another one for e.g. HTTP this will not work. The
> applications on your client share one IP stack that takes the routing
> decisions based upon the target IP independently of the target port.
>
> Peter

-- 
Peter Marschall
eMail: [EMAIL PROTECTED]

Reply via email to