Index of /samba/ftp/Binary_Packages/AIX
Name Last modified Size Description
Parent Directory 16-Nov-2006 07:37 -
opt-samba-3.0.26a-AI..> 22-Oct-2007 05:31 1k
opt-samba-3.0.26a-AI..> 22-Oct-2007 05:31 48.5M
opt-samba-3.0.28-AIX..> 17-Dec-2007 09:50 1k
opt-samba-3.0.28-AIX..> 17-Dec-2007 09:50 48.6M
opt-samba-base.tar.asc 13-Sep-2006 03:48 1k
opt-samba-base.tar.gz 13-Sep-2006 03:46 32.8M
############################################################
##
## README for AIX Builds (updated 2007/06/27)
##
## Author: William Jojo <jojowil@samba.org>
##
############################################################
################
# Installation #
################
***NOTE***
This package was built on AIX 5.2 and should run fine on 5.3.
Download the files:
7A26B8A8.txt
README
opt-samba-3.0.23c-AIX5.tar.asc
opt-samba-3.0.23c-AIX5.tar.gz
opt-samba-base.tar.asc
opt-samba-base.tar.gz
* This package will NOT install on AIX 3, 4 or 5.1. *
If this is your first time using these binaries, you MUST download the
BASE package as well. If you have the base already, you're good.
KRB5, OpenLDAP, libiconv, SASL, OpenSSL and BDB are all included to manage
a complete environment. This includes AD support.
Why do it this way? Well, you get slapd for LDAP, db_* tools for maintaining
the Berkeley databases, Kerberos for AD support, SSL/SASL tools for
encryption and security. You also get modularity and the ability to upgrade
libraries for known problems since the majority of them are shared.
These will install into a directory that should not interfere with existing
software. This is also a subset of a larger pool of software called "pWare".
<version> refers to the version of Samba you are working with. For example,
if the version downloaded is 3.0.23c, you should substitute 3.0.23c where
you see <version> in these instructions.
Decompress the opt-samba-<version>-AIX5.tar.gz and opt-samba-base.tar.gz
$ gunzip opt-samba-<version>-AIX5.tar.gz
$ gunzip opt-samba-base.tar.gz
You can now verify the signature of the tarball. This will require you to have
GPG installed. You can still install the package without verifying. These
steps will import the public key and then verify the package.
$ gpg --import 7A26B8A8.txt
$ gpg --verify opt-samba-<version>-AIX52.tar.asc
$ gpg --verify opt-samba-base.tar.asc
Before extracting the contents, know the following:
1) /opt fileystem exists, is mounted and has at least 768MB free.
2) /opt/pware/samba/<version> is where the package will be installed.
3) Package is designed to allow multiple versions of Samba to
be installed in /opt/pware/samba.
4) Make sure you are the root user.
Extract the package:
$ mkdir /tmp/samba
$ cp opt-samba-<version>-AIX5.tar /tmp/samba
$ cd /tmp/samba
$ tar -xf opt-samba-<version>-AIX5.tar
$ tar -xf opt-samba-base-AIX5.tar
Read the license agreement
$ installp -lE -d.
Install the packages:
$ installp -agYX -d. all
Remove the packages:
$ installp -u pware.*
##################
# Starting Samba #
##################
To start the package:
1) Refer to the many wonderful pieces of documentation available
at the Samba web site http://samba.org and set up a smb.conf in
/opt/pware/samba/<version>/lib
2) Make sure you are the root user and:
$ /opt/pware/samba/<version>/sbin/nmbd -D
$ /opt/pware/samba/<version>/sbin/smbd -D
[ If you need winbindd support for trusts and such ]
$ /opt/pware/samba/<version>/sbin/winbindd
[ to configure SWAT ]
Add the following line to /etc/inetd.conf:
swat stream tcp nowait root /opt/pware/samba/<version>/sbin/swat swat
Add the following line to /etc/services:
swat 901/tcp
Run:
$ refresh -s inetd
Connect to SWAT with your favorite browser:
http://server.my.domain:901
Congratulations! You are now running Samba on AIX!
You may write to me at the above email address if you have questions,
but please read the How-To's and online docs first. :-)
http://samba.org/samba/docs/
################
# Known Issues #
################
AIO
----
AIO support is installed in this package. If you have problems starting Samba,
try the following:
$ lsdev -Cc posix_aio
posix_aio0 Available Posix Asynchronous I/O
If the above says "Defined" instead of "Available":
$ mkdev -l posix_aio0
posix_aio0 Available
$ chdev -l posix_aio0 -a autoconfig=available -P
posix_aio0 changed
The first command forces the kernel extentions for AIO support to be loaded.
The second command forces the ODM to make posix_aio0 available on each boot.
Retry the commands above for "Starting Samba".
Missing Symbols
---------------
If you get a message similar to:
<snip>
exec(): 0509-036 Cannot load program ./nmbd because of the following errors:
0509-130 Symbol resolution failed for nmbd because:
0509-136 Symbol statvfs64 (number 134) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol opendir64 (number 169) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol closedir64 (number 170) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol readdir64 (number 171) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol seekdir64 (number 180) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-136 Symbol telldir64 (number 229) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
</snip>
Check your version with "oslevel -r". A "00" on the end means your system
is baseline and should be upgraded. These symbols are available in
subsequent maintenance releases. Go to the link provided for maintenance release information.
http://www-03.ibm.com/servers/eserver/support/unixservers/aixfixes.html
LIBPATH
-------
At some sites due to sysadmin requirements or for political reasons
LIBPATH is set to point to other necessary libraries. This can be a problem
when LIBPATH overrides the library path embedded in the executables.
The best approach is to create a Samba startup script that has:
unset LIBPATH
near the top so that LIBPATH cannot get in the way.