Install Samba

Hello

Can someone help how to install samba on aix 5.3,

I go to tha samba page and i download two files

opt-samba-base.tar.gz
opt-samba-3.0.28-AIX5.tar.gz

and I read the readme file but there is a file that miss and I dont know if I need to do this necessary

"You can now verify the signature of the tarball. This will require you to haveGPG 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

My questions are
I need both files to install
I need to do the last part import the public key.

There is some other way to install samba or another place, I get in to bullfreeware.com but say that the file it�s not tested.

Thanks for your answers

Oops. I misunderstood your question and put up a post that would not help. Now I have to change it. Sorry this is spam.

This is not a direct answer to your question, but i suppose you want Samba to be installed in first place, no matter how.

Go to IBMs Linux toolbox for AIX and download the two (three if you need the client too) packages in RPM format you will find there: "samba-client 2.2.7", "samba-common 2.2.7" and "samba 2.2.7".

Save the files to a directory and install with "rpm -i *".

As IBM is the manufacturer of your OS you have to trust them anyways.

I hope this helps.

bakunin

Thanks bakunin for your replay.

I download both files samba 2.2.7 and samba-common 2.2.7

I have a question which one goes first.

I the other question is, after this it will be installed on an aix box but I need to configure right.

Do you have some basic configuration for this or web page, because I find a lot of pages and books but I need basically the basic configure.

After that I will start to read a book and deep configurations etc,etc.

Thanks in advance

rpm will complain if you install them in the wrong order. Most likely -common needs to go first.

I'd try this as a starting point: Samba Documentation

It is one of the first links in Google when you enter "samba how-to". GIYF

I hope this helps.

bakunin

Thanks era and bakunin for your replays

I install both files samba-common-2.2.7-4 and samba-2.2.7-4 but there is not the file smb.conf.

This file its installed when you installed samba ?

or you can create it.

How can I know that my installation was succesful.

If i type lslpp -l samba I cant get any file about samba
If I choose to remove software this is what I get

Remove Installed Software

Type or s
Press Ent SOFTWARE name

      Move cursor to desired item and press F7.                                
  • SOFTWAR ONE OR MORE items can be selected. +
    PREVIEW Press Enter AFTER making all selections. +
    REMOVE +
    EXTEND [MORE...677] +
    DETAILE rsct.msg.en_US.core.sr +
    rsct.msg.en_US.core.utils
    samba-2.2.7-4
    samba-common-2.2.7-4
    sysmgt.help.en_US.websm
    sysmgt.help.msg.en_US.websm
    sysmgt.msg.en_US.sguide.rte
    sysmgt.msg.en_US.websm.apps
    [MORE...30]

Thanks for your help

Hello

How I started the samba daemons

The Samba server is made up of the following daemons:

nmbd
smbd

I look in smitty Processes & Subsystems and Subsystems and Start a Subsystem but in the list of my subsystems this 2 daemons are not in the list.

Im using Aix 5.3

Thanks for your help

Hello

I got this message when I use the smbstatus

smbstatus
Unknown parameter encountered: "mangle case"
Ignoring unknown parameter "mangle case"
sessionid.tdb not initialised
/opt/pware/samba/3.0.28/var/locks/connections.tdb not initialised
This is normal if an SMB client has never connected to your server.
Failed to open byte range locking database /opt/pware/samba/3.0.28/var/locks/brlock.tdb
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting

Any advice, thanks in advance

Check first if these files exist in .../samba/bin/... directory.
Then run them from command line...

</> $SAMBA_DIR/bin/smbd -D
</> $SAMBA_DIR/bin/nmbd -D

or from a script (!! it runs on AIX 4.3.3)