X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=bin%2Fldap-koha.pl;h=40c64d651255c65f376e36383d31b1f4688fae0d;hp=d50ebbca4655db00bb2134fb11ffee9ec87d3091;hb=fc93087a8d0925aaab323e7d9a2f38be6a962992;hpb=97697527827da534e72c5ed16d577df9ff21f837;ds=sidebyside diff --git a/bin/ldap-koha.pl b/bin/ldap-koha.pl index d50ebbc..40c64d6 100755 --- a/bin/ldap-koha.pl +++ b/bin/ldap-koha.pl @@ -8,16 +8,16 @@ use IO::Socket; use lib 'lib'; use LDAP::Koha; -my $port = 2389; +my $listen = '10.60.0.13:2389'; my $sock = IO::Socket::INET->new( Listen => 5, Proto => 'tcp', Reuse => 1, - LocalPort => $port, + LocalAddr => $listen, ) || die; -warn "# listening on $port"; +warn "# listening on $listen"; my $sel = IO::Select->new($sock); my %Handlers;