]> git.proxmox.com Git - pmg-api.git/blobdiff - PMG/LDAPCache.pm
show all errors when we get an ldap connection error
[pmg-api.git] / PMG / LDAPCache.pm
index b151ea710d087f6f6ce2bd8ce54592c3fc1b1c1a..0d3601915acb281d2462a764e98cb7297c4a57ad 100755 (executable)
@@ -358,7 +358,7 @@ sub ldap_connect_and_bind {
      my ($self) = @_;
 
      my $ldap = $self->ldap_connect() ||
-        die "Can't bind to ldap server '$self->{id}': $!\n";
+        die "Can't bind to ldap server '$self->{id}': $! $@\n";
 
      my $mesg;