summaryrefslogtreecommitdiffstats
path: root/ldap_wizard/Ldap.pm
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-07 09:08:27 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-07 09:08:27 +0000
commit350d772bf27dbc7f96d6a1ba1db979fedb5267e1 (patch)
tree3d7cbde52fab8eb3f60566c39008567456d7c638 /ldap_wizard/Ldap.pm
parent08d567a0efb1d95c5d7608bf89ec9f2f256beb7a (diff)
downloaddrakwizard-350d772bf27dbc7f96d6a1ba1db979fedb5267e1.tar
drakwizard-350d772bf27dbc7f96d6a1ba1db979fedb5267e1.tar.gz
drakwizard-350d772bf27dbc7f96d6a1ba1db979fedb5267e1.tar.bz2
drakwizard-350d772bf27dbc7f96d6a1ba1db979fedb5267e1.tar.xz
drakwizard-350d772bf27dbc7f96d6a1ba1db979fedb5267e1.zip
fix banner pb, and remove help => if not used
Diffstat (limited to 'ldap_wizard/Ldap.pm')
-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 f8152266..f447d5bf 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -60,7 +60,7 @@ my $o = {
test_host_domain($wiz_host_name, $DOMAINNAME);
}
};
-
+$::Wizard_pix_up = "/usr/share/mcc/themes/default/ldap-mdk.png";
my $ldap_suffix=join(',dc=', split(/\./, chomp_(`hostname -f`)));
$ldap_suffix =~ s/[^,]*,//;
my $conf_file = "/etc/sysconfig/ldapwiz";
@@ -130,14 +130,14 @@ $o->{pages} = {
next => 'welcome',
},
add_userposix => {
- name => N("LDAP Adding User") . "\n\n" ,
+ name => N("LDAP Adding User"),
data => [
- { label => " " },
+ #{ label => " " },
{ label => N("User Created in: %s, %s", $o->{var}{defou}, $o->{var}{suffix}) },
- { label => " " },
- { label => N("First Name:"), val => \$o->{var}{sn}, help => "aide p" },
- { label => N("Name:"), val => \$o->{var}{cn}, help => "aide p" },
- { label => N("User Login:"), val => \$o->{var}{uid}, help => "aide p" },
+ { label => "" },
+ { label => N("First Name:"), val => \$o->{var}{sn} },
+ { label => N("Name:"), val => \$o->{var}{cn} },
+ { label => N("User Login:"), val => \$o->{var}{uid} },
],
complete => sub {
if (!$o->{var}{sn}) {
@@ -158,7 +158,7 @@ $o->{pages} = {
password => {
name => N("LDAP User Password"),
data => [
- { label => " " },
+ { label => "" },
{ 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") },
],
@@ -181,10 +181,10 @@ $o->{pages} = {
name => N("Configuring LDAP Server") . "\n\n" . N("LDAP directory tree") . "\n" . N("The DNS naming is used for LDAP directory tree definition") . "\n" . N("Domain name: %s", $wiz_domain_name) . "\n" . ("LDAP Diretory Tree: %s", $o->{var}{suffix}) . "\n\n" . N("LDAP Administrator") . "\n" . N("Administrator is a power user with grant access on LDAP database") . "\n" . "cn=" . N("Administrator,%s", $o->{var}{suffix}) . "\n\n",
data => [
{ label => " " },
- { label => N("LDAP directory tree:"), val => \$o->{var}{suffix}, help => "aide p" },
- { label => N("LDAP Administrator:"), val => \$o->{var}{rootdn}, help => "aide p" },
- { label => N("LDAP Password:"), hidden => 1, val => \$o->{var}{rootpass}, help => "aide p" },
- { label => N("LDAP Password (again):"), hidden => 1, val => \$o->{var}{rootpass2}, help => "aide p" },
+ { label => N("LDAP directory tree:"), val => \$o->{var}{suffix} },
+ { label => N("LDAP Administrator:"), val => \$o->{var}{rootdn} },
+ { label => N("LDAP Password:"), hidden => 1, val => \$o->{var}{rootpass} },
+ { label => N("LDAP Password (again):"), hidden => 1, val => \$o->{var}{rootpass2} },
],
pre => sub {
$o->{var}{rootdn} = "cn=" . N("Administrator,%s", $o->{var}{suffix});