Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing Samba

Status
Not open for further replies.

rvickers

IS-IT--Management
Mar 1, 2005
16
US
I've downloaded and extracted the Samba file. I need instructs on the rest of the Samba install on AIX 5.1, someone point me in the right direction?
Thanks
 
I've just done this. Assuming you've got a C compiler (I used the IBM version rather than gcc)

1) Download and extract samba-3.0.11.tar.gz
2) cd wherever/samba-3.0.11/source
3) run './configure'
4) run 'make'
5) run 'make install'

This installs samba in /usr/local/samba/sbin smb.conf and in /usr/local/samba/lib (plus quite a lot of other stuff.

I did have problems with a library libiconv which I also had to download and build in the same way.

Columb Healy
 
Once done be sure to define (add) your samba users with the command "smbpasswd -u username". Once each user has been defined it will be much easier for them to access. Also, you might want to download and install "webmin" which is a browser based configuration tool which actually supports Samba quite well.

Good luck.
 
I downloaded a precompiled Samba3.0.10 and when I run any command, for example smbclient -L hostname, I get errors caused by "libldap.a(libldap-2.2.so.7) could not be loaded. So, I downloaded the libldap-2.2.23-alt2.i586.rpm but when I rpm it I get more dependency problems. Is there a better solution than what I'm trying? Would I be better off loading an older version of Samba on AIX 5.2?
 
If you want to install from a package, install the OpenSSL package as well. (Don't think you would need OpenLDAP but you can install that if you have problems)
You can find it on the IBM freeware page or Bullfreeware.

I recently had problems with the package you're trying to install.
I then had to download, install gcc and compile.

configure --prefix=/opt/samba
make
make install

Then I installed the mkinstallp fileset and created a package for my other machines.

By the way, if you're joining a Windows domain and using a user map file to map Unix users to Windows Users, remember to use the domain name as well. (I found out the hard way)
eg. root = NTDOM\\administrator

Good Luck




"If you always do what you've always done, you will always be where you've always been."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top