Topic
  • 4 replies
  • Latest Post - ‏2009-05-12T22:14:08Z by shargus
SystemAdmin
SystemAdmin
6902 Posts

Pinned topic SAMBA Installation

‏2009-05-12T19:49:59Z |
Hi,

Can anyone guide me in installing SAMBA 3.3.4 on AIX 5.3 server.
1. I have downloaded samba-3.3.4.tar.gz file
2. Unzipped and extracted the files, which created a directory samba-3.3.4 in the same location.
Under the directory samba-3.3.4, I got many directories but not sure how to proceed from here.

I got many smb.conf files under the extracted directory "samba-3.3.4"

./packaging/Debian/debian-sarge/smb.conf
./packaging/Debian/debian-woody/smb.conf
./packaging/Debian/debian-unstable/smb.conf
./packaging/RHEL-CTDB/setup/smb.conf
./packaging/RHEL/setup/smb.conf
./packaging/LSB/smb.conf
./packaging/SGI/smb.conf
./examples/dce-dfs/smb.conf
./examples/tridge/smb.conf

Need your assistance in fixing this.
Thanks
Updated on 2009-05-12T22:14:08Z at 2009-05-12T22:14:08Z by shargus
  • KentPerrier
    KentPerrier
    37 Posts

    Re: SAMBA Installation

    ‏2009-05-12T20:48:08Z  
    I cannot say I am going to fix anything, but it looks like you downloaded a source tarball. You will need a C compiler to generate the object code to create the runnable application.

    With some google searching you might be able to find a precompiled AIX binary distribution of samba out there.
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: SAMBA Installation

    ‏2009-05-12T21:13:02Z  
    I cannot say I am going to fix anything, but it looks like you downloaded a source tarball. You will need a C compiler to generate the object code to create the runnable application.

    With some google searching you might be able to find a precompiled AIX binary distribution of samba out there.
    I found right samba installation file "samba-3.0.26.0.bff". Installation completed successfully after which I executed these steps:

    1. edit /etc/services, enter suitable lines in the file /etc/services,
    such as the following:
    netbios-ns 137/tcp # NETBIOS Name Service
    netbios-ns 137/udp # NETBIOS Name Service
    netbios-dgm 138/tcp # NETBIOS Datagram Service
    netbios-dgm 138/udp # NETBIOS Datagram Service
    netbios-ssn 139/tcp # NETBIOS Session Service
    netbios-ssn 139/udp # NETBIOS Session Service
    swat 901/tcp # swat service of samba

    2. edit /etc/inetd.conf, enter suitable lines in the file
    /etc/inetd.conf, such as the following:
    netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd
    netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd
    swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat

    After editing the files, type refresh -s inetd.

    But after this while verifying of SAMBA, nothing returned.

    Use the smbclient command to test the installation:

    /usr/local/samba/bin/smbclient -L yourhostname

    IF someone can guide me from here, it will be helpful

    Thanks in advance
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: SAMBA Installation

    ‏2009-05-12T21:14:16Z  
    I found right samba installation file "samba-3.0.26.0.bff". Installation completed successfully after which I executed these steps:

    1. edit /etc/services, enter suitable lines in the file /etc/services,
    such as the following:
    netbios-ns 137/tcp # NETBIOS Name Service
    netbios-ns 137/udp # NETBIOS Name Service
    netbios-dgm 138/tcp # NETBIOS Datagram Service
    netbios-dgm 138/udp # NETBIOS Datagram Service
    netbios-ssn 139/tcp # NETBIOS Session Service
    netbios-ssn 139/udp # NETBIOS Session Service
    swat 901/tcp # swat service of samba

    2. edit /etc/inetd.conf, enter suitable lines in the file
    /etc/inetd.conf, such as the following:
    netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd
    netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd
    swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat

    After editing the files, type refresh -s inetd.

    But after this while verifying of SAMBA, nothing returned.

    Use the smbclient command to test the installation:

    /usr/local/samba/bin/smbclient -L yourhostname

    IF someone can guide me from here, it will be helpful

    Thanks in advance
    One more thing I forgot to mention is, there are no files under /usr/local/samba/bin directory.

    Thanks
  • shargus
    shargus
    157 Posts

    Re: SAMBA Installation

    ‏2009-05-12T22:14:08Z  
    You might want to check out the AIX Toolbox for Linux Applications:

    http://www-03.ibm.com/systems/power/software/aix/linux/index.html

    There's a precompiled Samba server and client in there.