--- bin/ldap-rewrite.pl 2009/03/17 10:59:31 30 +++ bin/ldap-rewrite.pl 2009/03/25 21:24:33 37 @@ -20,7 +20,7 @@ my $config = { yaml_dir => './yaml/', - listen => 'localhost:1389', + listen => shift @ARGV || 'localhost:1389', upstream_ldap => 'ldap.ffzg.hr', upstream_ssl => 1, overlay_prefix => 'ffzg-', @@ -99,7 +99,7 @@ if ( defined $response->{protocolOp}->{searchResEntry} ) { my $uid = $response->{protocolOp}->{searchResEntry}->{objectName}; - warn "## SEARCH $uid"; + warn "## objectName $uid"; my @attrs;