• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1397
  • Last Modified:

Installing Samba on Aix 5.1?

I need to share files between an Aix and Windows server.  I've found a document on IBM's site that mentions that Samba can be optained in the Aix installp format and that this is the easiest way to install Samba.
The doc has a link that's no longer valid to www-frec.bull.com.  Does anyone know where I can find this Samba installp package the doc mentions?
0
Westez
Asked:
Westez
  • 5
  • 4
  • 2
2 Solutions
 
gheistCommented:
www.bullfreeware.com (3.0.4 for 5.2 works)

or install rpm from
http://www-03.ibm.com/servers/aix/products/aixos/linux/


Before doing any of these make sureyou have perl.rte installed on system.
aix.tools from bff is very useful.
0
 
JulieBouillonCommented:
Hi,

You could also have newer version already compiled from
http://aixpdslib.seas.ucla.edu/packages/samba.html

These packages are not in installp compatible format but instead are compressed tar files.
The installation can be done with the following command (assuming you are connected as root and in /):
zcat <downloaded file> | tar xf -

You will then have samba installed in /usr/local
0
 
WestezAuthor Commented:
Thanks, how do I confirm that it's installed? perl -v returns v5.8.0 and I find perl.rte in /usr/lpp.  I found a doc on google that says it's automatically installed with v5.3.  Is this true for v5.1 also?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
gheistCommented:
Versions differ, but yes.
You can uninstall that install another perl and break stuff. Very seriously on 4.3.3
0
 
WestezAuthor Commented:
Gheist, many thanks for your comments.  I think I'll just leave what's on there alone and give the Samba install a go.
0
 
gheistCommented:
You can use bffcreate from bullferrware to get aixpdslib packages uninstallable.
0
 
WestezAuthor Commented:
Julie - that command isn't working for me.  I've tried a couple of different things, but I'm still struggling.  
# zcat samba.3.0.21.tar.Z | tar xf-
tar: 0511-172 Specify a file name with the -f flag.
Usage: tar -{c|r|t|u|x} [-BdFhilmopsvw]
           [-Number] [-fFile]
           [-bBlocks] [-S [Feet] [Feet @Density] [Blocksb]]
           [-LInputList] [-NBlocks] [-C Directory] File ...
# zcat samba.3.0.21.tar.Z | tar xf- samba
tar: samba: A file or directory in the path name does not exist.
# zcat samba.3.0.21.tar.Z | tar xf- samba.3.0.21.tar.Z
tar: 0511-169 A directory checksum error on media; 0 not equal to 50529.
# zcat samba.3.0.21.tar.Z | tar xf- samba.3.0.21.tar
tar: samba.3.0.21.tar: A file or directory in the path name does not exist.
#

Gheist - >>You can use bffcreate from bullferrware to get aixpdslib packages uninstallable.
I don't understand what you mean.
0
 
WestezAuthor Commented:
What's the proper protocol on something like this?  You guys answered my original question.  Should I open up another question and offer points?
0
 
JulieBouillonCommented:
> # zcat samba.3.0.21.tar.Z | tar xf-
> tar: 0511-172 Specify a file name with the -f flag.
> Usage: tar -{c|r|t|u|x} [-BdFhilmopsvw]
>            [-Number] [-fFile]
>            [-bBlocks] [-S [Feet] [Feet @Density] [Blocksb]]
>            [-LInputList] [-NBlocks] [-C Directory] File ...

There is a space between xf and -
The explanation is that zcat uncompress samba.3.0.21.tar.Z to stdout which is redirecte with the pipe to the tar command. In the tar command the dash at the end of the command (with a space before it) tells that the input file is in fact stdin.
0
 
gheistCommented:
gzip -cd samba.tar.gz | tar xf -
0
 
WestezAuthor Commented:
Thanks guys.  I'm going to open up another question on the samba install.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now