summaryrefslogtreecommitdiffstats
path: root/ldap_wizard/Ldap.pm
diff options
context:
space:
mode:
Diffstat (limited to 'ldap_wizard/Ldap.pm')
-rw-r--r--ldap_wizard/Ldap.pm20
1 files changed, 15 insertions, 5 deletions
diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm
index 6e0995b7..652feb9e 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -8,6 +8,7 @@ use lib qw(/usr/lib/libDrakX);
use ugtk2 qw(:create);
use strict;
use MDK::Wizard::ldapdef;
+use interactive;
use common;
use standalone;
use MDK::Wizard::Varspaceval;
@@ -125,11 +126,14 @@ $o->{pages} = {
next => 'welcome'
},
add_userposix => {
- name => N("LDAP Adding User") . "\n\n" . N("User Created in: ") . $o->{var}{defou} . ", " . $o->{var}{suffix},
+ name => N("LDAP Adding User") . "\n\n" ,
data => [
+ { label => N(" ") },
+ { label => N("User Created in: ". $o->{var}{defou} . ", " . $o->{var}{suffix})},
+ { label => N(" ") },
{ label => N("First Name:"), val => \$o->{var}{sn}, help => "aide p" },
{ label => N("Name:"), val => \$o->{var}{cn}, help => "aide p" },
- { label => N("User Name:"), val => \$o->{var}{uid}, help => "aide p" },
+ { label => N("User Login:"), val => \$o->{var}{uid}, help => "aide p" },
],
complete => sub {
if (!$o->{var}{sn}) {
@@ -150,6 +154,7 @@ $o->{pages} = {
password => {
name => N("LDAP User Password"),
data => [
+ { label => N(" ") },
{ label => N("Password:"), val => \$o->{var}{uidpass}, hidden => 1, help => N("passwords must match") },
{ label => N("Password (again):"), val => \$o->{var}{uidpass2}, hidden => 1, help => N("passwords must match") },
],
@@ -226,7 +231,9 @@ $o->{pages} = {
add_user_good => {
name => N("Successfully added User"),
- data => [ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
+ data => [
+ { label => N(" ") },
+ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
],
next => 'add_userposix',
end => 1,
@@ -234,7 +241,9 @@ $o->{pages} = {
add_user_nogood => {
name => N("Error for added User"),
- data => [ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
+ data => [
+ { label => N(" ") },
+ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
],
next => 'add_userposix',
end => 1,
@@ -253,7 +262,8 @@ $o->{pages} = {
{ label => N("LDAP Administrator:"), type => 'field', fixed_val => \$o->{var}{rootdn} },
{ label => N("Users Container:"), type => 'field', fixed_val => \$o->{var}{defou} },
],
- next => 'welcome',
+ no_back => '1',
+ next => 'ask_menu',
},
};