<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mehrwelt &#187; Mac OS X</title>
	<atom:link href="http://blog.mehrwert.de/tag/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mehrwert.de</link>
	<description>Die mehrwelt</description>
	<lastBuildDate>Sat, 07 Jan 2012 22:36:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Synology und Mac OS X Server Open-Directory (LDAP)</title>
		<link>http://blog.mehrwert.de/2011/09/04/synology-und-mac-os-x-server-open-directory-ldap/</link>
		<comments>http://blog.mehrwert.de/2011/09/04/synology-und-mac-os-x-server-open-directory-ldap/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 16:08:19 +0000</pubDate>
		<dc:creator>Andreas Beutel</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Technik]]></category>
		<category><![CDATA[Tips&Tricks]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open-Directory]]></category>
		<category><![CDATA[Synology]]></category>

		<guid isPermaLink="false">http://blog.mehrwert.de/?p=617</guid>
		<description><![CDATA[Im aktuellen DSM von Synology (DSM 3.2 Beta) kann man auch LDAP-Nutzer und Gruppen einbinden. Die Konfiguration ist dabei recht einfach: In der Systemsteuerung den Eintrag »LDAP« auswählen und den Server-Namen eintragen (beim ersten Test am besten keine Verschlüsselung wählen). &#8230; <a href="http://blog.mehrwert.de/2011/09/04/synology-und-mac-os-x-server-open-directory-ldap/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Im aktuellen DSM von <strong>Synology</strong> (DSM 3.2 Beta) kann man auch <strong>LDAP-Nutzer und Gruppen</strong> einbinden. Die Konfiguration ist dabei recht einfach: In der Systemsteuerung den Eintrag »LDAP« auswählen und den Server-Namen eintragen (beim ersten Test am besten keine Verschlüsselung wählen). Der Basis-DN entspricht dem im Server-Admin eingetragenen <strong>LDAP-Suchbeginn</strong> und anmelden kann man sich z.B. mit einem eigenen Nutzer (diradmin o.ä.). Der Bind erfolgt mit <strong>vollständigem DN,</strong> also der <strong>Kombination aus Basis-DN und Nutzer</strong> (die in cn=users liegen). Wenn also der Basis-DN <strong>dc=ldap,dc=domain,dc=tld</strong> lautet, so erfolgt der Bind via User diradmin z.B. mit <strong>uid=diradmin,cn=users,dc=ldap,dc=domain,dc=tld</strong></p>
<p>Eine Besonderheit fällt auf: Wenn für den Nutzer im Open-Directory über den Arbeitsgruppenmanager verschiedene Kurznamen (Reiter »Allgemein«) für einen Nutzer vergeben wurden, werden diese im Attribut <strong>uid</strong> gespeichert. Dies führt dazu, dass der LDAP-Nutzer auf der Synology unter dem <strong>letzten Kurznamen</strong> in der Liste auftaucht. Ist der normale Nutzer-Account z.B. user1 und dessen letzte Kurzname Vorname.Nachname so taucht dieser User als <strong>Vorname.Nachname@ldap.domain.tld</strong> auf.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mehrwert.de/2011/09/04/synology-und-mac-os-x-server-open-directory-ldap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using mod_security 2.5 and Apache 2 on Mac OS X</title>
		<link>http://blog.mehrwert.de/2010/01/16/using-macports-and-mod_security-2-5-11-with-apache-2/</link>
		<comments>http://blog.mehrwert.de/2010/01/16/using-macports-and-mod_security-2-5-11-with-apache-2/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 14:14:56 +0000</pubDate>
		<dc:creator>Andreas Beutel</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Coding/Languages]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technik]]></category>
		<category><![CDATA[Tips&Tricks]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[mod_security]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://blog.mehrwert.de/?p=559</guid>
		<description><![CDATA[A short guide on using a recent mod_security (2.5.11) with local MacPorts and Apache 2. <a href="http://blog.mehrwert.de/2010/01/16/using-macports-and-mod_security-2-5-11-with-apache-2/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Unfortunately recent <a title="Opens MacPorts website in new window" href="http://www.macports.org" target="_blank">MacPorts</a> comes with mod_security 1.8.6 and the maintainer is not actively supporting updates (for details see <a title="Opens new window for Ticket #15342" href="http://trac.macports.org/ticket/15432" target="_blank">this ticket</a>). Since I wanted to test some settings on a local Apache installation on my Mac with the latest release (2.5.11) I used the information given in the ticket to patch and update my mod_security port.</p>
<p>This guide is straight forward and shows just the required changes, a working MacPorts installation with Apache 2 is mandatory. You simply have to edit the Portfile that contains the details for mod_security.</p>
<h2>Step-by-step explanation</h2>
<ol>
<li>Update your MacPorts installation by <code>sudo port selfupdate</code> and <code>sudo port upgrade outdated</code> (<a title="Opens the guide how to selfupdate MacPorts in a new window" href="http://guide.macports.org/#using.port.selfupdate" target="_blank">read this guide for more details on MacPorts selfupdate</a>)</li>
<li>Open the portfile for mod_security and replace the content of the file with the provided code. The portfile in my installation resides in<code>/opt/local/var/macports/sources/rsync.macports.org/ release/ports/www/mod_security/Portfile<br />
</code></p>
<p><a title="Opens the file in a new window" href="http://blog.mehrwert.de/wp-content/uploads/2010/01/Portfile_mod_security_2.5.11.txt" target="_blank"><br />
Download the Portfile as text file<br />
</a></li>
<li>Now you may install <code>mod_security</code> via MacPorts using this terminal command:<code>sudo port install mod_security<br />
</code></li>
<li>Open the Apache configuration file (<code>/opt/local/apache2/conf/httpd.conf</code>) in a text editor and add <code> mod_security</code> to the list.Open a new Terminal (the Termin.app resides in /Applications/Utilities on your harddrive) window and then type the following command to open and edit the file (the <code>sudo</code> command is required to get write-access to this file since it is normally not writable for you user account).<code>sudo nano /opt/local/apache2/conf/httpd.conf</code>Now enter your password (the same you use to log in to your Mac). Use the cursor keys to scroll down to the section for the Dynamic Shared Object (DSO) Support and copy the following line <strong>below</strong> the last <em>LoadModule&#8230; </em>statement (see screenshot).<code>LoadModule security2_module modules/mod_security2.so</code>
<div style="text-align: center;"><a href="http://blog.mehrwert.de/wp-content/uploads/2010/01/mac_ports_mod_security_terminal-e1263652589976.png"><img class="aligncenter size-medium wp-image-558" title="Edit Apache configuration for mod_security in Terminal" src="http://blog.mehrwert.de/wp-content/uploads/2010/01/mac_ports_mod_security_terminal-e1263652589976-300x227.png" alt="" width="300" height="227" /></a></div>
<p>To save and leave the Nano editor press CTRL+X and confirm with Y (for Yes) to save.</li>
<li>Reload the Apache server. The security module should now be loaded by Apache (start or restart Apache to commit changes).<code>sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.mehrwert.de/2010/01/16/using-macports-and-mod_security-2-5-11-with-apache-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: blog.mehrwert.de @ 2012-02-08 02:48:50 by W3 Total Cache -->
