[yast-commit] r48594 - /trunk/ldap-server/src/agent/SlapdConfigAgent.cc
Author: rhafer Date: Fri Jun 27 15:56:57 2008 New Revision: 48594 URL: http://svn.opensuse.org/viewcvs/yast?rev=48594&view=rev Log: Add missing line breaks to LDIF output Modified: trunk/ldap-server/src/agent/SlapdConfigAgent.cc Modified: trunk/ldap-server/src/agent/SlapdConfigAgent.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/agent/SlapdConfigAgent.cc?rev=48594&r1=48593&r2=48594&view=diff ============================================================================== --- trunk/ldap-server/src/agent/SlapdConfigAgent.cc (original) +++ trunk/ldap-server/src/agent/SlapdConfigAgent.cc Fri Jun 27 15:56:57 2008 @@ -264,15 +264,15 @@ y2milestone("ConfigToLdif"); std::list<boost::shared_ptr<OlcDatabase> >::const_iterator i = databases.begin(); std::ostringstream ldif; - ldif << globals->toLdif(); - ldif << schemaBase->toLdif(); + ldif << globals->toLdif() << std::endl; + ldif << schemaBase->toLdif() << std::endl; LdifWriter writer(ldif); writer.writeIncludeRecord("/etc/openldap/schema/core.ldif"); writer.writeIncludeRecord("/etc/openldap/schema/cosine.ldif"); writer.writeIncludeRecord("/etc/openldap/schema/inetorgperson.ldif"); for ( ; i != databases.end(); i++ ) { - ldif << (*i)->toLdif(); + ldif << (*i)->toLdif() << std::endl; } return YCPString(ldif.str()); } -- 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