[yast-commit] r49885 - in /trunk/ldap-server/src: agent/SlapdConfigAgent.cc widgets.ycp
![](https://seccdn.libravatar.org/avatar/0dddba71f3ed8a18896e852e75c1a9e5.jpg?s=120&d=mm&r=g)
Author: rhafer Date: Fri Aug 8 17:23:55 2008 New Revision: 49885 URL: http://svn.opensuse.org/viewcvs/yast?rev=49885&view=rev Log: Hide "monitoring" and "read-only" Checkbox until they are backed by real code Modified: trunk/ldap-server/src/agent/SlapdConfigAgent.cc trunk/ldap-server/src/widgets.ycp Modified: trunk/ldap-server/src/agent/SlapdConfigAgent.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/agent/SlapdConfigAgent.cc?rev=49885&r1=49884&r2=49885&view=diff ============================================================================== --- trunk/ldap-server/src/agent/SlapdConfigAgent.cc (original) +++ trunk/ldap-server/src/agent/SlapdConfigAgent.cc Fri Aug 8 17:23:55 2008 @@ -1049,6 +1049,17 @@ (*i)->addAccessControl(arg->asString()->value_cstr()); ret = true; } + else if ( dbComponent == "dbconfig" ) + { + YCPList argList = arg->asList(); + StringList dbConfList; + for ( int j = 0; j < argList->size(); j++ ) + { + dbConfList.add( argList->value(j)->asString()->value_cstr() ); + } + (*i)->setStringValues("olcDbConfig", dbConfList ); + ret = true; + } else { lastError->add(YCPString("summary"), YCPString("Write Failed") ); Modified: trunk/ldap-server/src/widgets.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/widgets.ycp?rev=49885&r1=49884&r2=49885&view=diff ============================================================================== --- trunk/ldap-server/src/widgets.ycp (original) +++ trunk/ldap-server/src/widgets.ycp Fri Aug 8 17:23:55 2008 @@ -224,13 +224,13 @@ `VSpacing( 0.5 ), `Left( `PushButton( `id( `pb_changepw ), _("Change Password") ) - ), - `VSpacing( 0.5 ), - `Left( - `CheckBox( `id( `cb_dbreadonly ), _("Database is read-only"), false ) - ), - `Left( - `CheckBox( `id( `cb_dbmonitoring ), _("Enable Monitoring"), false ) +// ), +// `VSpacing( 0.5 ), +// `Left( +// `CheckBox( `id( `cb_dbreadonly ), _("Database is read-only"), false ) +// ), +// `Left( +// `CheckBox( `id( `cb_dbmonitoring ), _("Enable Monitoring"), false ) ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
rhafer@svn.opensuse.org