Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49801 - in /trunk/ldap-server/src: LdapDatabase.ycp LdapServer.pm
  • From: rhafer@xxxxxxxxxxxxxxxx
  • Date: Wed, 06 Aug 2008 18:43:41 -0000
  • Message-id: <20080806184341.9855B2A035@xxxxxxxxxxxxxxxx>
Author: rhafer
Date: Wed Aug 6 20:43:41 2008
New Revision: 49801

URL: http://svn.opensuse.org/viewcvs/yast?rev=49801&view=rev
Log:
Default to "hdb" for new databases

Modified:
trunk/ldap-server/src/LdapDatabase.ycp
trunk/ldap-server/src/LdapServer.pm

Modified: trunk/ldap-server/src/LdapDatabase.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/LdapDatabase.ycp?rev=49801&r1=49800&r2=49801&view=diff
==============================================================================
--- trunk/ldap-server/src/LdapDatabase.ycp (original)
+++ trunk/ldap-server/src/LdapDatabase.ycp Wed Aug 6 20:43:41 2008
@@ -24,7 +24,6 @@
list enc_types = [
`item( `id( "CRYPT"), "CRYPT", enctype == "CRYPT" ),
`item( `id( "SMD5" ), "SMD5", enctype == "SMD5" ),
- `item( `id( "SHA" ), "SHA", enctype == "SHA" ),
`item( `id( "SSHA" ), "SSHA", enctype == "SSHA" ),
`item( `id( "PLAIN" ), "PLAIN", enctype == "PLAIN" )
];
@@ -174,7 +173,7 @@
map<string,string> db = $[
"suffix" : suffix,
"directory" : directory,
- "type" : "bdb",
+ "type" : "hdb",
];
if( rootdn != "" && (boolean)UI::QueryWidget(
`cb_append_basedn, `Value ) )
{

Modified: trunk/ldap-server/src/LdapServer.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/LdapServer.pm?rev=49801&r1=49800&r2=49801&view=diff
==============================================================================
--- trunk/ldap-server/src/LdapServer.pm (original)
+++ trunk/ldap-server/src/LdapServer.pm Wed Aug 6 20:43:41 2008
@@ -942,7 +942,7 @@
$dbDefaults{'rootpw_clear'} = "";
$dbDefaults{'pwenctype'} = "SSHA";
$dbDefaults{'entrycache'} = 10000;
- $dbDefaults{'idlcache'} = 10000;
+ $dbDefaults{'idlcache'} = 30000;
$dbDefaults{'checkpoint'} = [ YaST::YCP::Integer(1024),
YaST::YCP::Integer(5) ];

@@ -979,7 +979,7 @@
my $self = shift;

my $pwHash = $self->HashPassword($dbDefaults{'pwenctype'},
$dbDefaults{'rootpw_clear'} );
- my $database = { 'type' => 'bdb',
+ my $database = { 'type' => 'hdb',
'suffix' => $dbDefaults{'basedn'},
'rootdn' => $dbDefaults{'rootdn'},
'rootpw' => $pwHash,

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages