Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37858678
en ru br
ALT Linux repos
S:2.00-alt2
5.0: 2.00-alt1
4.1: 2.00-alt1
4.0: 2.00-alt1
3.0:
+backports:2.00-alt0.M30.1

Group :: Databases
RPM: ldapsh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ldapsh-2.00-alt-fix_undef_print.patch
Download


Fix warning message while tyying to print dn() not defined yet
--- ./lib/Net/LDAP/Config.pm	2006-05-28 09:20:25 +0400
+++ ./lib/Net/LDAP/Config.pm	2006-05-28 09:23:35 +0400
@@ -257,7 +257,7 @@
 		$config->dn($config->uid());
 	}
 
-	print $config->dn(), "\n";
+	print $config->dn(), "\n" if ($config->dn());
 
 	# this tells whether they are piping to us or have an interactive session
 	if (-t STDIN) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin