[interchange-cvs] interchange - racke modified lib/Vend/Table/LDAP.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Mon Jul 14 06:17:00 EDT 2003


User:      racke
Date:      2003-07-14 09:17:51 GMT
Modified:  lib/Vend/Table LDAP.pm
Log:
fix syntax error in unable to connect messages

Revision  Changes    Path
2.10      +4 -4      interchange/lib/Vend/Table/LDAP.pm


rev 2.10, prev_rev 2.9
Index: LDAP.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Table/LDAP.pm,v
retrieving revision 2.9
retrieving revision 2.10
diff -u -r2.9 -r2.10
--- LDAP.pm	12 Jul 2003 13:40:43 -0000	2.9
+++ LDAP.pm	14 Jul 2003 09:17:51 -0000	2.10
@@ -1,6 +1,6 @@
 # Vend::Table::LDAP - Interchange LDAP pseudo-table access
 #
-# $Id: LDAP.pm,v 2.9 2003/07/12 13:40:43 mheins Exp $
+# $Id: LDAP.pm,v 2.10 2003/07/14 09:17:51 racke Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -25,7 +25,7 @@
 
 package Vend::Table::LDAP;
 @ISA = qw/Vend::Table::Common/;
-$VERSION = substr(q$Revision: 2.9 $, 10);
+$VERSION = substr(q$Revision: 2.10 $, 10);
 use strict;
 
 use vars qw(
@@ -100,7 +100,7 @@
 			$alt_index++;
 			redo DOCONNECT;
 		}
-		die ::errmsg("Unable to connect to LDAP server %s", $host:$port);
+		die ::errmsg("Unable to connect to LDAP server %s", "$host:$port");
 	}
 	$ldap->bind(
 		dn => $config->{BIND_DN},
@@ -149,7 +149,7 @@
 	($host, $port) = split /:/, $host if ($host =~ /:/);
 	my $column_index = Vend::Table::Common::create_columns($columns, $config);
 	my $ldap = Net::LDAP->new($host, port => $port)
-		or die ::errmsg("Unable to connect to LDAP server %s", $host:$port);
+		or die ::errmsg("Unable to connect to LDAP server %s", "$host:$port");
 #::logDebug("created object " . ::uneval($ldap));
 	$ldap->bind(
 		dn => $config->{BIND_DN},







More information about the interchange-cvs mailing list