<?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>Sysadmin&#039;s World</title>
	<atom:link href="http://www.sysadmins-world.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.sysadmins-world.com</link>
	<description>Harald&#039;s Blog for System Administrators.</description>
	<lastBuildDate>Wed, 21 Jul 2010 13:20:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Joining a NetApp Filer to a PDC on OS X 10.5/10.6 &#8211; Unsolved</title>
		<link>http://www.sysadmins-world.com/?p=87</link>
		<comments>http://www.sysadmins-world.com/?p=87#comments</comments>
		<pubDate>Tue, 08 Sep 2009 08:09:12 +0000</pubDate>
		<dc:creator>Harald Haentsch</dc:creator>
				<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[Join]]></category>
		<category><![CDATA[Mac OS X Server]]></category>

		<guid isPermaLink="false">http://www.sysadmins-world.com/?p=87</guid>
		<description><![CDATA[NetApp (OnTap 7.3.1.1) is not able to join with authentication on an NT4 Domain or Samba PDC. In order to join the Filer to such a Domain the machine account needs to be created before. That works so far on a normal Samba PDC. But this does not work on a Mac OS X 10.5 [...]]]></description>
			<content:encoded><![CDATA[<p>NetApp (OnTap 7.3.1.1) is not able to join with authentication on an NT4 Domain or Samba PDC. In order to join the Filer to such a Domain the machine account needs to be created before. That works so far on a normal Samba PDC. But this does not work on a Mac OS X 10.5 or 10.6 Server.</p>
<p>I tried to add the machine to the OpenDirectory before. The Filer messages shows that the connection gets terminated during the join process.</p>
<pre>CIFS - Starting SMB protocol...
Tue Sep  8 07:00:42 GMT [auth.dc.trace.DCConnection.statusMsg:info]: AUTH: TraceDC- Starting DC address discovery for CENIX-TEST.
Tue Sep  8 07:00:42 GMT [auth.dc.trace.DCConnection.statusMsg:info]: AUTH: TraceDC- Starting NetBIOS DC broadcasts.
Tue Sep  8 07:00:43 GMT [auth.dc.trace.DCConnection.statusMsg:info]: AUTH: TraceDC- Found 1 BDC addresses through NetBIOS broadcast.
Tue Sep  8 07:00:44 GMT [auth.dc.trace.DCConnection.statusMsg:info]: AUTH: TraceDC- Found 1 PDC addresses through NetBIOS broadcast.
Tue Sep  8 07:00:44 GMT [auth.dc.trace.DCConnection.statusMsg:info]: AUTH: TraceDC- DC address discovery for CENIX-TEST complete. 1 unique addresses found.
Tue Sep  8 07:01:14 GMT [cifs.server.infoMsg:info]: CIFS: Warning for server \\SNAIL: Connection terminated.
Tue Sep  8 07:01:14 GMT [cifs.server.infoMsg:info]: CIFS: Warning for server \\SNAIL: Unable to create NETLOGON pipe.
Tue Sep  8 07:01:32 GMT [nbt.nbns.registrationComplete:info]: NBT: All CIFS name registrations have completed for the local server.
Tue Sep  8 07:01:44 GMT [cifs.server.infoMsg:info]: CIFS: Warning for server \\SNAIL: Connection terminated.
***     CIFS Setup could not establish a connection with the Primary Domain
***     Controller (PDC). Usually this happens when the 'GUINEA' account does
***     not exist in the domain or must have it's password reset.</pre>
<pre>Once you have created and/or reset the 'GUINEA' machine account, press ENTER. [continue]:Tue Sep  8 07:01:44 GMT [cifs.server.infoMsg:info]: CIFS: Warning for server \\SNAIL: Unable to create NETLOGON pipe.</pre>
<p>Samba on Mac OS X does  ot show anything helpful:</p>
<pre>Module '/usr/lib/samba/auth/odsam.dylib' loaded
[2009/09/08 10:07:06, 2, pid=81922] /SourceCache/samba/samba-235/samba/source/smbd/reply.c:reply_special(332)
 netbios connect: name1=SNAIL           name2=GUINEA         
[2009/09/08 10:07:06, 2, pid=81922] /SourceCache/samba/samba-235/samba/source/smbd/reply.c:reply_special(339)
 netbios connect: local=snail remote=guinea, name type = 0
[2009/09/08 10:07:06, 2, pid=81922] /SourceCache/samba/samba-235/samba/source/lib/module.c:do_smb_load_module(64)</pre>
<pre>Module '/usr/lib/samba/auth/odsam.dylib' loaded
[2009/09/08 10:07:06, 2, pid=81922] /SourceCache/samba/samba-235/samba/source/smbd/reply.c:reply_special(332)
 netbios connect: name1=SNAIL           name2=GUINEA         
[2009/09/08 10:07:06, 2, pid=81922] /SourceCache/samba/samba-235/samba/source/smbd/reply.c:reply_special(339)
 netbios connect: local=snail remote=guinea, name type = 0
[2009/09/08 10:07:06, 2, pid=81922] /SourceCache/samba/samba-235/samba/source/lib/module.c:do_smb_load_module(64)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmins-world.com/?feed=rss2&amp;p=87</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing CIFS Share on NetApp Filer gives Error -36</title>
		<link>http://www.sysadmins-world.com/?p=67</link>
		<comments>http://www.sysadmins-world.com/?p=67#comments</comments>
		<pubDate>Mon, 07 Sep 2009 14:40:31 +0000</pubDate>
		<dc:creator>Harald Haentsch</dc:creator>
				<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[FAS 3020c]]></category>
		<category><![CDATA[OS X 10.6]]></category>

		<guid isPermaLink="false">http://www.sysadmins-world.com/?p=67</guid>
		<description><![CDATA[There seem to be an issue with Snow Leopard accessing a CIFS Share on a Filer. Especially copying of Files ends up with the following Error: The Finder can&#8217;t complete the operation because some data in &#8220;&#60;filename&#62;&#8221; can&#8217;t be read or written. (Error code -36) The files on destination do exists afterwards. They also seem [...]]]></description>
			<content:encoded><![CDATA[<p>There seem to be an issue with Snow Leopard accessing a CIFS Share on a Filer. Especially copying of Files ends up with the following Error:</p>
<p>The Finder can&#8217;t complete the operation because some data in &#8220;&lt;filename&gt;&#8221; can&#8217;t be read or written.<br />
(Error code -36)</p>
<p><img class="alignnone size-medium wp-image-68" title="Picture 1" src="http://www.sysadmins-world.com/wp-content/uploads/2009/09/Picture-1-300x90.png" alt="Picture 1" width="300" height="90" /></p>
<p>The files on destination do exists afterwards. They also seem to be correct. Just the Error message shows up in general.</p>
<p>I also realized that this happens only on certain users. So I will investigate more about the differences.</p>
<p>It seems only member of the Domain Admins mounts the samba share with the acl&#8217;s. And that leads to this issue. I found a concerning discusion on <a href="http://discussions.apple.com/thread.jspa?threadID=1776934" target="_blank">Apple&#8217;s developer forum</a>.</p>
<p>As a workaround, you could try these option on a samba server:</p>
<pre><a href="http://discussions.apple.com/">global</a>
 unix extensions = no</pre>
<p>And on a NetApp Filer, I tried and succeed turning this option off:</p>
<pre>options cifs.preserve_unix_security off</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmins-world.com/?feed=rss2&amp;p=67</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Changing the Installer package Checkpoint&#8217;s SecureClient R56 to work with Snow Leopard</title>
		<link>http://www.sysadmins-world.com/?p=62</link>
		<comments>http://www.sysadmins-world.com/?p=62#comments</comments>
		<pubDate>Mon, 07 Sep 2009 14:01:24 +0000</pubDate>
		<dc:creator>Harald Haentsch</dc:creator>
				<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Checkpoint]]></category>
		<category><![CDATA[SecureClient]]></category>

		<guid isPermaLink="false">http://www.sysadmins-world.com/?p=62</guid>
		<description><![CDATA[As in my previous post I describe a method to have SecureClient R56 running on Snow Leopard. However, if you have  a lot of machines to be installed an VPN Client, it might be worth just doing the changes inside the package. So it must be done only once. All you need to later, just [...]]]></description>
			<content:encoded><![CDATA[<p>As in my previous post I describe a method to have SecureClient R56 running on Snow Leopard. However, if you have  a lot of machines to be installed an VPN Client, it might be worth just doing the changes inside the package. So it must be done only once. All you need to later, just running the Package on Snow Leopard without editing anything.</p>
<p>It requires some knowledge using the shell, so a basic understanding of Linux commands would be good.</p>
<p><span style="text-decoration: underline;">To get around the Leopard Check</span></p>
<ol>
<li>edit two  Files inside the package (Right-Click on the Package / Show Package Contents. This opens finder within the package.</li>
<li>go to Contents/Resources</li>
<li>open TextEdit, use vi in a shell or whatever you prefer to edit a simple file</li>
<li>on file &#8220;InstallationCheck&#8221; change <em>the number 9 in line 8 to number 10: if  [ "$MAJOR" != "10" ]; then </em></li>
<li>same on file &#8220;postinstall &#8220;<em> </em>change <em>the number 9 in line 84 to number 10</em></li>
</ol>
<p><span style="text-decoration: underline;">Creating a new content (pax archive)</span></p>
<p>I suspect the original unchanged package is on your Desktop and its name is &#8220;SecureClient_B634000031_1&#8243;.</p>
<p>Open a Terminal window from the Utilities folder.</p>
<pre>cd Desktop
mkdir temp
cd temp
mv $HOME/Desktop/SecureClient_B634000031_1.pkg/Contents/Archive.pax.gz .
gunzip Archive.pax.gz
pax -r -f Archive.pax
mkdir SC
cd SC
tar -xzvf ../desktop_B634000031_1.tgz</pre>
<p>Now just go ahead and do the changes inside Desktop/temp/SC</p>
<p>so please edit &#8220;scuninstall&#8221; in the bin folder and it will uninstall cleanly:</p>
<pre># Delete install entry so the next time we run the installer it would suggest
# installing and not upgrading
$RM -r -f /Library/Receipts/SecureClient*.pkg
# the following lines should be added here
$RM -r -f /private/var/db/receipts/com.checkpoint.secureclient.R56.bom
$RM -r -f /private/var/db/receipts/com.checkpoint.secureclient.R56.plist</pre>
<p>Open a hex editor and change anything with &#8220;kextload -s&#8221; to &#8220;kextload -r&#8221;. on the following files:</p>
<pre>temp/SC/bin/StartupItemsMgr
temp/SC/boot/SecureClient/SecureClientStarter</pre>
<p>Please have alook at my <a href="http://www.sysadmins-world.com/?p=1" target="_self">previous post</a>.</p>
<pre>mkdir ../newSC
tar -czvf ../newSC/desktop_B634000031_1.tgz *
sudo chown -R root:wheel ../newSC
cd ../newSC/
mkbom -s ./ ../Archive.bom
rm ../Archive.pax
pax -U root -x cpio -w . &gt; ../Archive.pax
cd ..
gzip Archive.pax
mv Archive.bom $HOME/Desktop/SecureClient_B634000031_1.pkg/Contents/Archive.bom
mv Archive.pax.gz $HOME/Desktop/SecureClient_B634000031_1.pkg/Contents/Archive.pax.gz
exit</pre>
<p>After testing the package, you can delete the temp folder on your desktop.</p>
<p>Feedback welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmins-world.com/?feed=rss2&amp;p=62</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>Clean uninstall of Checkpoint SecureClient on Snow Leopard</title>
		<link>http://www.sysadmins-world.com/?p=57</link>
		<comments>http://www.sysadmins-world.com/?p=57#comments</comments>
		<pubDate>Mon, 07 Sep 2009 12:34:32 +0000</pubDate>
		<dc:creator>Harald Haentsch</dc:creator>
				<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Checkpoint]]></category>
		<category><![CDATA[R56]]></category>
		<category><![CDATA[SecureClient]]></category>

		<guid isPermaLink="false">http://www.sysadmins-world.com/?p=57</guid>
		<description><![CDATA[Once you want to uninstall SecureClient R56 HFA1 on Snow Leopard, it might leave 2 or 3 files on your receipts folder. This is not a big issue as long you are not reinstalling the SecureClient. But if so, the installer will  end with &#8220;succeeded&#8221;. Unfortunately SecureClient is not in the Application folder nor in [...]]]></description>
			<content:encoded><![CDATA[<p>Once you want to uninstall SecureClient R56 HFA1 on Snow Leopard, it might leave 2 or 3 files on your receipts folder. This is not a big issue as long you are not reinstalling the SecureClient. But if so, the installer will  end with &#8220;succeeded&#8221;. Unfortunately SecureClient is not in the Application folder nor in /opt. Nothing really is installed.</p>
<p>After you uninstalled SecureClient with Checkpoints uninstaller (Application/Checkpoint/uninstall) you have to remove 2 or 3 files in a receipts folder. Afterwards a new installation of SecureClient should be really succeed in showing up the Application.</p>
<p>Open the Terminal Application from the utilities folder and type:</p>
<pre>sudo rm -rf /private/var/db/receipts/com.checkpoint.secureclient.R56.bom
sudo rm -rf /private/var/db/receipts/com.checkpoint.secureclient.R56.plist
sudo rm -rf /Library/Receipts/SecureClient_B634000031_1.pkg/</pre>
<p>The last line might be different depending on the Name of the package you installed with.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmins-world.com/?feed=rss2&amp;p=57</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A Fix for Checkpoint SecureClient VPN on Mac OS X 10.6 Snow Leopard</title>
		<link>http://www.sysadmins-world.com/?p=1</link>
		<comments>http://www.sysadmins-world.com/?p=1#comments</comments>
		<pubDate>Thu, 03 Sep 2009 12:23:46 +0000</pubDate>
		<dc:creator>Harald Haentsch</dc:creator>
				<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Checkpoint]]></category>
		<category><![CDATA[SecureClient]]></category>

		<guid isPermaLink="false">http://wp1111907.wp147.webpack.hosteurope.de/?p=1</guid>
		<description><![CDATA[We all remember, once Leopard was out it took Checkpoint quite a long time to update their VPN client. Now Snow Leopard is out and it begins &#8230; After installing Snow Leopard, Checkpoints SecureClient refuses to install and if already installed (through an upgrade) it won&#8217;t start at all. I did some investigation and I [...]]]></description>
			<content:encoded><![CDATA[<p>We all remember, once Leopard was out it took Checkpoint quite a long time to update their VPN client. Now Snow Leopard is out and it begins &#8230;</p>
<p>After installing Snow Leopard, Checkpoints SecureClient refuses to install and if already installed (through an upgrade) it won&#8217;t start at all.</p>
<p>I did some investigation and I finaly made it working since Apple hasn&#8217;t changed too much.</p>
<p><strong>1. The Checkpoint installer refuses to install</strong></p>
<p>The installer checks up for the Darwin Kernel version 9. In Snow Leopard we have version 10. So two files need to be edit within the installer package.</p>
<ol>
<li>just right click on the installer and select <em>Show Package Contents</em>. This opens finder within the package.</li>
<li>go to Contents/Resources.</li>
<li>open TextEdit, use vi in a shell or whatever you prefer to edit a simple file</li>
<li>on file &#8220;InstallationCheck&#8221; change <em>the number 9 in line 8 to number 10: if  [ "$MAJOR" != "10" ]; then </em></li>
<li>same on file &#8220;postinstall &#8220;<em> </em>change <em>the number 9 in line 84 to number 10</em></li>
</ol>
<p>That&#8217;s it. Just install it and reboot. Changes need to make afterwards in order to have it starting.</p>
<p><strong>2. SecureClient fails to start</strong></p>
<p><strong><img class="alignnone size-medium wp-image-48" title="Screen shot 2009-09-07 at 1.28.55 PM_2" src="http://www.sysadmins-world.com/wp-content/uploads/2009/09/Screen-shot-2009-09-07-at-1.28.55-PM_2-300x137.png" alt="Screen shot 2009-09-07 at 1.28.55 PM_2" width="300" height="137" /><br />
</strong></p>
<p>Now this gets just a bit more tricky. Apple has moved some options of kextload to kextutil in 10.6. Checkpoint hardcoded such an option -s in two binary files. This option is to create the symbol files in the Checkpoint directory. It  does not exist anymore in kextload, and is now provided in kextutil. But creating the symbol files is only needed for debug reasons, so not really necessary. Therefore I only replaced the option -s with option -r to fill up the space, because the binary file should not change in size. Two binary files have to be changed with an hexeditor.</p>
<p style="padding-left: 30px;">Preparation:</p>
<ul>
<li> Download and install a hexeditor. <a title="0XED hex editor" href="http://www.suavetech.com/0xed/0xed.html" target="_blank">0xED</a> is one of it.</li>
<li>After inserting the first command, it will ask you for your local user password (User needs Administrator permission)</li>
</ul>
<ol>
<li>Open the terminal application from Utilities folder and type:.<br />
<em><em> sudo c</em></em><em>p /opt/CPsrsc-50/bin/StartupItemsMgr $HOME/Desktop<br />
</em><em>sudo cp /opt/CPsrsc-50/boot/SecureClient/SecureClientStarter /$HOME/Desktop<br />
sudo chown $USER /$HOME/Desktop/<em>StartupItemsMgr</em></em><em><em><br />
sudo chown $USER /$HOME/Desktop/</em>SecureClientStarter</em></p>
<p><em> </em></li>
<li>Now run 0xED and choose File/Open Files from the Menu to load the <em><em>StartupItemsMgr </em></em>and<em><em> </em></em><em>SecureClientStarter </em>from your Desktop in it.</li>
<li>From Menu Edit choose Find/Find or just press Apple-F and type in to find: &#8220;kextload -s&#8221; and type in replace &#8220;kextload -v&#8221;<br />
Click on Replace All<br />
<img class="alignnone size-medium wp-image-96" title="Screen shot 2009-09-11 at 11.49.50 AM" src="http://www.sysadmins-world.com/wp-content/uploads/2009/09/Screen-shot-2009-09-11-at-11.49.50-AM-300x146.png" alt="Screen shot 2009-09-11 at 11.49.50 AM" width="300" height="146" /><br />
Save and close &#8230;</li>
<li>Now once you succeeded editing copy those back by typing in the terminal window:<br />
<em><em>sudo c</em></em><em>p $HOME/Desktop/</em><em>StartupItemsMgr</em><em> /opt/CPsrsc-50/bin/<br />
sudo cp $HOME/Desktop/</em><em>SecureClientStarter /</em><em>opt/CPsrsc-50/boot/SecureClient/<br />
rm </em><em>$HOME/Desktop/</em><em>StartupItemsMgr</em><br />
<em>rm </em><em>$HOME/Desktop/</em><em>SecureClientStarter</em></li>
<li><em> </em>Reboot and you should have SecureClient starting &#8230;</li>
</ol>
<p>Its also possible to <a href="http://www.sysadmins-world.com/?p=62" target="_blank">change the installer package</a> itself. This makes it easier if you have a lot of Macs.</p>
<p>Please let me know if this did help.</p>
<p><strong>Update1:</strong> There is an EarlyAvailable Version for Snow Leopard (32bit) by now. It won&#8217;t need all these steps and even more some small issues are solved in there. You can apply to the EA Program and could get the download almost immediately with a vaild support contract.</p>
<p><strong>Update2: </strong>Finally, Checkpoint released its VPN client to the public. You can download it here: <a href="http://dl3.checkpoint.com/paid/a6/Check_Point_SecureClient_R56_HFA_02_Mac_OSX.pkg.zip?HashKey=1279724900_b1b5cfe63801dbdec860f761749362b1&amp;xtn=.zip">SecureClient NG-AI R56 HFA 2 for Mac OS X 10.6 (Snow Leopard)</a> It works fine, so just (clean) uninstall your old VPN Client and install the new one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmins-world.com/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>295</slash:comments>
		</item>
	</channel>
</rss>
