<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Nahum Shalman</title>
 <link href="http://nahamu.github.com/atom.xml" rel="self"/>
 <link href="http://nahamu.github.com/"/>
 <updated>2013-04-19T12:05:07-07:00</updated>
 <id>http://nahamu.github.com/</id>
 <author>
   <name>Nahum Shalman</name>
 </author>

 
 <entry>
   <title>SmartOS Wiki Pages</title>
   <link href="http://nahamu.github.com/2013/04/19/smartos-wiki.html"/>
   <updated>2013-04-19T00:00:00-07:00</updated>
   <id>http://nahamu.github.com/2013/04/19/smartos-wiki</id>
   <content type="html">&lt;h1&gt;SmartOS Wiki Pages&lt;/h1&gt;

&lt;p class=&quot;meta&quot;&gt;2013-04-19&lt;/p&gt;


&lt;h2&gt;Just a list of some SmartOS wiki pages I've spent a lot of time working on.&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://wiki.smartos.org/display/DOC/Simple+PXE+Server&quot;&gt;Simple PXE Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://wiki.smartos.org/display/DOC/Spice+on+SmartOS&quot;&gt;Spice on SmartOS&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Also, this blog (such as it is) has been added to the &lt;a href=&quot;http://networkboot.org/planet/&quot;&gt;NetworkBoot.org blog roll&lt;/a&gt;.&lt;br /&gt;
I probably won't write a whole lot of PXE related posts, but I look forward to the broader exposure if/when I do!&lt;br /&gt;
People finding this post from that avenue might enjoy this page: &lt;a href=&quot;http://wiki.smartos.org/display/DOC/PXE+Booting+SmartOS&quot;&gt;PXE Booting SmartOS&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Some quick notes on compiling and running Samba 4 on SmartOS</title>
   <link href="http://nahamu.github.com/2013/04/19/samba-4-on-smartos.html"/>
   <updated>2013-04-19T00:00:00-07:00</updated>
   <id>http://nahamu.github.com/2013/04/19/samba-4-on-smartos</id>
   <content type="html">&lt;h1&gt;Some quick notes on compiling and running Samba 4 on SmartOS&lt;/h1&gt;

&lt;p class=&quot;meta&quot;&gt;2013-04-19&lt;/p&gt;


&lt;h2&gt;Setup&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Follow &lt;a href=&quot;http://www.perkin.org.uk/posts/pkgsrc-on-smartos-zone-creation-and-basic-builds.html&quot;&gt;Jonathan Perkin's instructions for setting up a pkgsrc tree for builds&lt;/a&gt; (I used 2012Q4 on base64-1.9.1)&lt;/li&gt;
&lt;li&gt;Patch the wip/samba package:&lt;/li&gt;
&lt;/ol&gt;


&lt;pre&gt;
diff --git a/samba/PLIST b/samba/PLIST
index f69b907..1ae2141 100644
--- a/samba/PLIST
+++ b/samba/PLIST
@@ -187,7 +187,6 @@ lib/libndr.so.0
 lib/libndr.so.0.0.1
 lib/libnetapi.so
 lib/libnetapi.so.0
-lib/libnss_winbind.so
 lib/libnss_wins.so
 lib/libnss_wins.so.2
 lib/libpdb.so
@@ -753,7 +752,6 @@ lib/samba/service/winbind.so
 lib/samba/service/wrepl.so
 lib/samba/vfs/acl_tdb.so
 lib/samba/vfs/acl_xattr.so
-lib/samba/vfs/aio_fork.so
 lib/samba/vfs/aio_posix.so
 lib/samba/vfs/aio_pthread.so
 lib/samba/vfs/audit.so
&lt;/pre&gt;


&lt;h2&gt;Building and Running it&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Build and install samba&lt;/li&gt;
&lt;li&gt;Run the domain setup with an extra flag&lt;/li&gt;
&lt;/ol&gt;


&lt;pre&gt;
samba-tool domain provision --use-ntvfs --interactive
  (follow prompts)
cp /opt/local/etc/samba/private/krb5.conf /etc/krb5/krb5.conf
&lt;/pre&gt;


&lt;h2&gt;Next steps&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Create an SMF manifest (I haven't done this yet... I'm currently just running it manually for testing)&lt;/li&gt;
&lt;li&gt;(Also haven't done this yet:) &lt;a href=&quot;http://wiki.smartos.org/display/DOC/Joining+SmartOS+to+an+Active+Directory+domain&quot;&gt;Add the Global zone to the domain&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</content>
 </entry>
 
 <entry>
   <title>Serving SmartOS from your PXE server</title>
   <link href="http://nahamu.github.com/2011/08/17/smartos-pxe.html"/>
   <updated>2011-08-17T00:00:00-07:00</updated>
   <id>http://nahamu.github.com/2011/08/17/smartos-pxe</id>
   <content type="html">&lt;h1&gt;Serving SmartOS from your PXE server&lt;/h1&gt;

&lt;p class=&quot;meta&quot;&gt;2011-08-17&lt;/p&gt;


&lt;p&gt;(Quick and Dirty Edition)&lt;/p&gt;

&lt;h2&gt;Assumptions&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;This guide assumes that you already have a PXE (TFTP) server set up.&lt;/li&gt;
&lt;li&gt;This guide assumes that you use &lt;a href=&quot;http://syslinux.zytor.com/wiki/index.php/PXELINUX&quot;&gt;pxelinux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;This guide assumes that you only want to boot SmartOS.  Please adjust accordingly.&lt;/li&gt;
&lt;li&gt;This guide assumes that you know how to do all sorts of other things as well...&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;Instructions&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Download the ISO from &lt;a href=&quot;http://smartos.org/&quot;&gt;smartos.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Extract the entire &lt;code&gt;platform&lt;/code&gt; subtree from the ISO.&lt;/li&gt;
&lt;li&gt;Download a tarball of &lt;a href=&quot;http://syslinux.zytor.com/wiki/index.php/Download&quot;&gt;SYSLINUX&lt;/a&gt; and get the &lt;code&gt;mboot.c32&lt;/code&gt; binary out of it.&lt;/li&gt;
&lt;li&gt;In the tftp root directory, create a directory named &lt;code&gt;smartos&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Copy the &lt;code&gt;platform&lt;/code&gt; directory you got from the ISO into the &lt;code&gt;smartos&lt;/code&gt; directory&lt;/li&gt;
&lt;li&gt;Copy the &lt;code&gt;mboot.c32&lt;/code&gt; binary into the &lt;code&gt;smartos&lt;/code&gt; directory&lt;/li&gt;
&lt;li&gt;Update your &lt;code&gt;pxelinux.cfg/default&lt;/code&gt; file with this content:
&lt;pre&gt;
default smartos
prompt 1
timeout 50
label smartos
kernel smartos/mboot.c32
append smartos/platform/i86pc/kernel/amd64/unix -B console=text,standalone=true,noimport=true,root_shadow='$5$2HOHRnK3$NvLlm.1KQBbB0WjoP7xcIwGnllhzp2HnT.mDO7DpxYA' --- smartos/platform/i86pc/amd64/boot_archive
&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;References&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://www.ryan.net/smartos-disk-blogpost/real_disk_smartos.html&quot;&gt;Ryan's Guide to a disk install of SmartOS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://syslinux.zytor.com/wiki/index.php/Mboot.c32&quot;&gt;mboot.c32 documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</content>
 </entry>
 
 <entry>
   <title>Hello World</title>
   <link href="http://nahamu.github.com/2011/05/08/first-post.html"/>
   <updated>2011-05-08T00:00:00-07:00</updated>
   <id>http://nahamu.github.com/2011/05/08/first-post</id>
   <content type="html">&lt;h1&gt;Hello World&lt;/h1&gt;
&lt;p class=&quot;meta&quot;&gt;2011-05-08&lt;/p&gt;
&lt;p&gt;Just getting everything in order to start writing here.&lt;/p&gt;</content>
 </entry>
 
 
</feed>
