~ubuntu-branches/ubuntu/gutsy/samba/gutsy-updates

« back to all changes in this revision

Viewing changes to docs/htmldocs/Samba3-HOWTO/Portability.html

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2006-11-28 20:14:37 UTC
  • mfrom: (0.10.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128201437-a6x4lzlhempazocp
Tags: 3.0.23d-1ubuntu1
* Merge from debian unstable.
* Drop python2.4-samba, replace with python-samba. Added Conflicts/Replaces
  on python2.4-samba
* Drop track-connection-dos.patch, ubuntu-winbind-panic.patch, 
  ubuntu-fix-ldap.patch, ubuntu-setlocale.patch, ubuntu-setlocale-fixes.patch
* Remaining Ubuntu changes:
  - Revert Debian's installation of mount.cifs and umount.cifs as suid
  - Comment out the default [homes] shares and add more verbose comments to
    explain what they do and how they work (closes: launchpad.net/27608)
  - Add a "valid users = %S" stanza to the commented-out [homes] section, to
    show users how to restrict access to \\server\username to only username.
  - Change the (commented-out) "printer admin" example to use "@lpadmin"
    instead of "@ntadmin", since the lpadmin group is used for spool admin.
  - Alter the panic-action script to encourage users to report their
    bugs in Ubuntu packages to Ubuntu, rather than reporting to Debian.
    Modify text to more closely match the Debian script
  - Munge our init script to deal with the fact that our implementation
    (or lack thereof) of log_daemon_msg and log_progress_msg differs
    from Debian's implementation of the same (Ubuntu #19691)
  - Kept ubuntu-auxsrc.patch: some auxilliary sources (undocumented in 
    previous changelogs)
  - Set default workgroup to MSHOME

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�41.�Portability</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="The Official Samba-3 HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part�VI.�Reference Section"><link rel="prev" href="compiling.html" title="Chapter�40.�How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter�42.�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�41.�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�41.�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">&lt;<a href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</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">&lt;<a href="mailto:jht@samba.org">jht@samba.org</a>&gt;</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#id2654860">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2654964">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2655003">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2655145">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2655188">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2655209">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2655215">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="id2654842"></a>
3
 
<a class="indexterm" name="id2654849"></a>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�42.�Portability</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"><link rel="start" href="index.html" title="The Official Samba-3 HOWTO and Reference Guide"><link rel="up" href="Appendix.html" title="Part�VI.�Reference Section"><link rel="prev" href="compiling.html" title="Chapter�41.�How to Compile Samba"><link rel="next" href="Other-Clients.html" title="Chapter�43.�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�42.�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�42.�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">&lt;<a href="mailto:jelmer@samba.org">jelmer@samba.org</a>&gt;</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">&lt;<a href="mailto:jht@samba.org">jht@samba.org</a>&gt;</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#id2691166">HPUX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2691269">SCO UNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2691308">DNIX</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2691450">Red Hat Linux</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2691493">AIX: Sequential Read Ahead</a></span></dt><dt><span class="sect1"><a href="Portability.html#id2691514">Solaris</a></span></dt><dd><dl><dt><span class="sect2"><a href="Portability.html#id2691520">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="id2691148"></a>
 
3
<a class="indexterm" name="id2691154"></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="id2654860"></a>HPUX</h2></div></div></div><p>
7
 
<a class="indexterm" name="id2654868"></a>
8
 
<a class="indexterm" name="id2654875"></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="id2691166"></a>HPUX</h2></div></div></div><p>
 
7
<a class="indexterm" name="id2691173"></a>
 
8
<a class="indexterm" name="id2691180"></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
11
11
<code class="filename">/etc/logingroup</code>; the system maps UIDs to numbers using the former, but
23
23
</p><p>
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="id2654946"></a>
27
 
<a class="indexterm" name="id2654952"></a>
 
26
<a class="indexterm" name="id2691251"></a>
 
27
<a class="indexterm" name="id2691258"></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="id2654964"></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="id2691269"></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 
33
33
encounter corrupt data transfers using Samba.
43
43
problems with your installation. To build Samba for SCO UNIX products  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="id2655003"></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="id2691308"></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
49
49
C library for some reason.
100
100
You should then remove the line:
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="id2655145"></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="id2691450"></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:
106
106
</p><pre class="programlisting">
107
107
127.0.0.1 loopback "hostname"."domainname"
108
108
</pre><p>
109
109
</p><p>
110
 
<a class="indexterm" name="id2655170"></a>
 
110
<a class="indexterm" name="id2691475"></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
113
113
the world and therefore may fail to correctly negotiate who
115
115
</p><p>
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="id2655188"></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="id2691493"></a>AIX: Sequential Read Ahead</h2></div></div></div><p>
119
119
Disabling sequential read ahead using <strong class="userinput"><code>vmtune -r 0</code></strong> improves 
120
120
Samba performance significantly.
121
 
</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2655209"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2655215"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl 
 
121
</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2691514"></a>Solaris</h2></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2691520"></a>Locking Improvements</h3></div></div></div><p>Some people have been experiencing problems with F_SETLKW64/fcntl 
122
122
when running Samba on Solaris. The built-in file-locking mechanism was
123
123
not scalable. Performance would degrade to the point where processes would
124
124
get into loops of trying to lock a file. It would try a lock, then fail,
134
134
</p><p>Thanks to Joe Meslovich for reporting this.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="winbind-solaris9"></a>Winbind on Solaris 9</h3></div></div></div><p>
135
135
Nsswitch on Solaris 9 refuses to use the Winbind NSS module. This behavior
136
136
is fixed by Sun in patch <a href="http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&amp;type=collections&amp;max=50&amp;language=en&amp;queryKey5=112960;rev=14&amp;toDocument=yes" target="_top">112960-14</a>.
137
 
</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="compiling.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="Other-Clients.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter�40.�How to Compile Samba�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Chapter�42.�Samba and Other CIFS Clients</td></tr></table></div></body></html>
 
137
</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="compiling.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="Appendix.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="Other-Clients.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter�41.�How to Compile Samba�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Chapter�43.�Samba and Other CIFS Clients</td></tr></table></div></body></html>