summaryrefslogtreecommitdiffstats
path: root/ldap_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2006-06-20 20:54:31 +0000
committerAntoine Ginies <aginies@mandriva.com>2006-06-20 20:54:31 +0000
commitef83c3384527da74e78aa47c017c96dd34a629b9 (patch)
treee94e7cbe89ae84a1f07939b43939bf641607bd46 /ldap_wizard
parentfa60acb6d2feb2b86924afff15d1124c01a70f7d (diff)
downloaddrakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar
drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar.gz
drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar.bz2
drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar.xz
drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.zip
fix fixed_val and fixed_list
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',