Author: rhafer Date: Wed Sep 10 12:19:55 2008 New Revision: 50943 URL: http://svn.opensuse.org/viewcvs/yast?rev=50943&view=rev Log: allow to choose database type from bdb or hdb (defaulting to hdb) Modified: trunk/ldap-server/src/LdapDatabase.ycp Modified: trunk/ldap-server/src/LdapDatabase.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/LdapDatabase.ycp?rev=50943&r1=50942&r2=50943&view=diff ============================================================================== --- trunk/ldap-server/src/LdapDatabase.ycp (original) +++ trunk/ldap-server/src/LdapDatabase.ycp Wed Sep 10 12:19:55 2008 @@ -83,6 +83,9 @@ `HSquash( `VBox ( `Left( + `ComboBox( `id( `cb_type ), _("Database Type"), [ "hdb", "bdb" ] ) + ), + `Left( `InputField(`id( `te_basedn), `opt(`hstretch, `notify) , _("&Base DN"), "" ) ), `VSpacing(0.5), @@ -238,7 +241,7 @@ } db["suffix"] = suffix; db["directory"] = directory; - db["type"] = "hdb"; + db["type"] = (string)UI::QueryWidget( `cb_type, `Value ); if( rootdn != "" && (boolean)UI::QueryWidget( `cb_append_basedn, `Value ) ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org