- Timestamp:
- May 20, 2009, 6:46:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/Portability.html
r149 r204 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 43. Portability</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="compiling.html" title="Chapter 42. How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 43. Portability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="compiling.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Other-Clients.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Portability"></a>Chapter 43. Portability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:[email protected]">[email protected]</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:[email protected]">[email protected]</a>></code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Portability.html#id2682 092">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682195">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682234">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682376">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682419">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2682481">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2682487">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id26820 74"></a>3 <a class="indexterm" name="id26820 80"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 43. Portability</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part VI. Reference Section"><link rel="prev" href="compiling.html" title="Chapter 42. How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter 44. Samba and Other CIFS Clients"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 43. Portability</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="compiling.html">Prev</a> </td><th width="60%" align="center">Part VI. Reference Section</th><td width="20%" align="right"> <a accesskey="n" href="Other-Clients.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Portability"></a>Chapter 43. Portability</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:[email protected]">[email protected]</a>></code></p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:[email protected]">[email protected]</a>></code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Portability.html#id2682">Locking Improvements</a></span></dt><dt><span class="sect2"><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id26820"></a> 3 <a class="indexterm" name="id26820"></a> 4 4 Samba works on a wide range of platforms, but the interface all the 5 5 platforms provide is not always compatible. This chapter contains 6 platform-specific information about compiling and using Samba.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682 092"></a>HPUX</h2></div></div></div><p>7 <a class="indexterm" name="id2682 099"></a>8 <a class="indexterm" name="id26821 06"></a>6 platform-specific information about compiling and using Samba.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682"></a>HPUX</h2></div></div></div><p> 7 <a class="indexterm" name="id2682"></a> 8 <a class="indexterm" name="id26821"></a> 9 9 Hewlett-Packard's implementation of supplementary groups is nonstandard (for 10 10 historical reasons). There are two group files, <code class="filename">/etc/group</code> and … … 24 24 This is documented in the HP manual pages under setgroups(2) and passwd(4). 25 25 </p><p> 26 <a class="indexterm" name="id26821 77"></a>27 <a class="indexterm" name="id26821 84"></a>26 <a class="indexterm" name="id26821"></a> 27 <a class="indexterm" name="id26821"></a> 28 28 On HP-UX you must use gcc or the HP ANSI compiler. The free compiler 29 29 that comes with HP-UX is not ANSI compliant and cannot compile Samba. 30 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682 195"></a>SCO UNIX</h2></div></div></div><p>30 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2682"></a>SCO UNIX</h2></div></div></div><p> 31 31 If you run an old version of SCO UNIX, you may need to get important 32 32 TCP/IP patches for Samba to work correctly. Without the patch, you may … … 44 44 require significant patching of Samba source code. It is much easier to obtain binary 45 45 packages directly from SCO. 46 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26822 34"></a>DNIX</h2></div></div></div><p>46 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26822"></a>DNIX</h2></div></div></div><p> 47 47 DNIX has a problem with seteuid() and setegid(). These routines are 48 48 needed for Samba to work correctly, but they were left out of the DNIX … … 101 101 </p><pre class="programlisting"> 102 102 #define NO_EID 103 </pre><p>from the DNIX section of <code class="filename">includes.h</code>.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26823 76"></a>Red Hat Linux</h2></div></div></div><p>103 </pre><p>from the DNIX section of <code class="filename">includes.h</code>.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26823"></a>Red Hat Linux</h2></div></div></div><p> 104 104 By default during installation, some versions of Red Hat Linux add an 105 105 entry to <code class="filename">/etc/hosts</code> as follows: … … 108 108 </pre><p> 109 109 </p><p> 110 <a class="indexterm" name="id26824 01"></a>110 <a class="indexterm" name="id26824"></a> 111 111 This causes Samba to loop back onto the loopback interface. 112 112 The result is that Samba fails to communicate correctly with … … 116 116 Corrective action: Delete the entry after the word "loopback" 117 117 in the line starting 127.0.0.1. 118 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26824 19"></a>AIX: Sequential Read Ahead</h2></div></div></div><p>118 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26824"></a>AIX: Sequential Read Ahead</h2></div></div></div><p> 119 119 Disabling sequential read ahead can improve Samba performance significantly 120 120 when there is a relatively high level of multiprogramming (many smbd processes … … 135 135 If you have a mix of jfs and jfs2 filesystems on the same host, simply use both 136 136 ioo commands. 137 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26824 81"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2682487"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl137 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id26824"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl 138 138 when running Samba on Solaris. The built-in file-locking mechanism was 139 139 not scalable. Performance would degrade to the point where processes would
Note:
See TracChangeset
for help on using the changeset viewer.
