AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  SAMBA Installation

    Posted Tue May 12, 2009 03:50 PM

    Originally posted by: SystemAdmin


    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
    #AIX-Forum


  • 2.  Re: SAMBA Installation

    Posted Tue May 12, 2009 04:48 PM

    Originally posted by: KentPerrier


    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.
    #AIX-Forum


  • 3.  Re: SAMBA Installation

    Posted Tue May 12, 2009 05:13 PM

    Originally posted by: SystemAdmin


    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
    #AIX-Forum


  • 4.  Re: SAMBA Installation

    Posted Tue May 12, 2009 05:14 PM

    Originally posted by: SystemAdmin


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

    Thanks
    #AIX-Forum


  • 5.  Re: SAMBA Installation

    Posted Tue May 12, 2009 06:14 PM

    Originally posted by: shargus


    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.
    #AIX-Forum