From fdb49c1097fbd2df71e3df6ac00eb9f83c66f744 Mon Sep 17 00:00:00 2001 From: Vicent Guardiola Date: Fri, 30 Jul 2004 07:25:07 +0000 Subject: Clean ldap client configuration --- perl-install/authentication.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm index 06e66c8c9..6840374ee 100644 --- a/perl-install/authentication.pm +++ b/perl-install/authentication.pm @@ -202,6 +202,14 @@ sub set { shadowAccount => 'User', posixGroup => 'Group', ), + + + scope => 'sub', + pam_login_attribute => 'sAMAccountName', + pam_filter => 'objectclass=User', + pam_password => 'ad', + + (map_each { "nss_map_attribute_$::a" => $::b } uid => 'sAMAccountName', uidNumber => 'msSFU30UidNumber', @@ -210,7 +218,7 @@ sub set { uniqueMember => 'member', userPassword => 'msSFU30Password', homeDirectory => 'msSFU30HomeDirectory', - LoginShell => 'msSFU30LoginShell', + loginShell => 'msSFU30LoginShell', gecos => 'name', ), ); -- cgit v1.2.1