summaryrefslogtreecommitdiffstats
path: root/ldap_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'ldap_wizard')
-rw-r--r--ldap_wizard/Ldap.pm24
1 files changed, 12 insertions, 12 deletions
diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm
index a58de7d8..5f54f5b6 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -216,10 +216,10 @@ $o->{pages} = {
name => N("Confirmation of the user to create"),
data => [
{ label => " " },
- { label => N("Name:"), type => 'field', fixed_val => \$o->{var}{sn} },
- { label => N("First name:"), type => 'field', fixed_val => \$o->{var}{cn} },
- { label => N("User Name:"), type => 'field', fixed_val => \$o->{var}{uid} },
- { label => N("Create in:"), type => 'field', fixed_val => \$o->{var}{defou} }, #. \$o->{var}{suffix} },
+ { label => N("Name:"), type => 'field', val_ref => \$o->{var}{sn} },
+ { label => N("First name:"), type => 'field', val_ref => \$o->{var}{cn} },
+ { label => N("User Name:"), type => 'field', val_ref => \$o->{var}{uid} },
+ { label => N("Create in:"), type => 'field', val_ref => \$o->{var}{defou} }, #. \$o->{var}{suffix} },
],
post => \&do_it_user_add,
next => $o->{var}{useraddisnogood},
@@ -228,9 +228,9 @@ $o->{pages} = {
name => N("Confirmation Information for create an LDAP server"),
data => [
{ label => " " },
- { label => N("LDAP directory tree:"), type => 'field', fixed_val => \$o->{var}{suffix} },
- { label => N("LDAP Administrator:"), type => 'field', fixed_val => \$o->{var}{rootdn} },
- { label => N("Users Container:"), type => 'field', fixed_val => \$o->{var}{defou} },
+ { label => N("LDAP directory tree:"), type => 'field', val_ref => \$o->{var}{suffix} },
+ { label => N("LDAP Administrator:"), type => 'field', val_ref => \$o->{var}{rootdn} },
+ { label => N("Users Container:"), type => 'field', val_ref => \$o->{var}{defou} },
],
post => \&do_it_setldap,
next => 'end',
@@ -250,7 +250,7 @@ $o->{pages} = {
name => N("Successfully added User"),
data => [
{ label => " " },
- { label => "\n" , fixed_val => \$o->{var}{error_user_add} },
+ { label => "\n" , val_ref => \$o->{var}{error_user_add} },
],
no_back => '1',
next => 'ask_menu',
@@ -259,7 +259,7 @@ $o->{pages} = {
name => N("Error when adding user in Ldap database"),
data => [
{ label => " " },
- { label => "\n" , fixed_val => \$o->{var}{error_user_add} },
+ { label => "\n" , val_ref => \$o->{var}{error_user_add} },
],
no_back => '1',
next => 'add_userposix',
@@ -270,9 +270,9 @@ $o->{pages} = {
my $container_ou = $o->{var}{wiz_level} . "," . $o->{var}{suffix};
},
data => [ { label => " " } ,
- { label => N("LDAP directory tree:"), type => 'field', fixed_val => \$o->{var}{suffix} },
- { label => N("LDAP Administrator:"), type => 'field', fixed_val => \$o->{var}{rootdn} },
- { label => N("Users Container:"), type => 'field', fixed_val => \$o->{var}{defou} },
+ { label => N("LDAP directory tree:"), type => 'field', val_ref => \$o->{var}{suffix} },
+ { label => N("LDAP Administrator:"), type => 'field', val_ref => \$o->{var}{rootdn} },
+ { label => N("Users Container:"), type => 'field', val_ref => \$o->{var}{defou} },
],
no_back => '1',
next => 'ask_menu',