summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ldap_wizard/ldapdef.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldap_wizard/ldapdef.pm b/ldap_wizard/ldapdef.pm
index 3f1caaab..ab7bdd3e 100644
--- a/ldap_wizard/ldapdef.pm
+++ b/ldap_wizard/ldapdef.pm
@@ -1,7 +1,6 @@
package MDK::Wizard::ldapdef;
use strict;
-use MDK::Wizard::Ldap;
use Net::LDAP;
use Net::LDAP::Util qw(ldap_error_text);
use MDK::Common;
@@ -103,5 +102,7 @@ sub add_user {
]
);
# create_dialog("", ldap_error_text($result->code));
- return ldap_error_text($result->code));
+ #$result->code && die $result->error;
+ return ($result->error, ldap_error_text($result->code));
+ #return ldap_error_text($result->code);
}