AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Samba Issue

    Posted Thu September 24, 2020 01:29 PM
    Hi Team ,

    In our production server we've below samba file-sets, When client transferred the files to server with samba configuration(smbclient), it showed the time difference
    For example, if Client transfer the file at 10:00PM on Jan20 and server has different time, the server time get changed.
    samba.base 3.3.12.0 COMMITTED Samba for AIX
    samba.license 3.3.12.0 COMMITTED Samba for AIX
    samba.man.en_US 3.3.12.0 COMMITTED Samba for AIX
    samba.base 3.3.12.0 COMMITTED Samba for AIX
    After investigation, we got to know that AIX doesn't support Samba*.rte files and rpm file-sets of samba need to installed.
    So We removed AIX samba*rte file-sets , Configured YUM and installed samba.
    bash> rpm -qa |grep -i samba
    samba-common-4.10.13-2.ppc
    samba-winbind-clients-4.10.13-2.ppc
    samba-winbind-4.10.13-2.ppc
    samba-devel-4.10.13-2.ppc
    samba-client-4.10.13-2.ppc
    samba-libs-4.10.13-2.ppc
    samba-4.10.13-2.ppc
    bashl> lslpp -l |grep -i rpm.rte
    rpm.rte 4.15.1.0 COMMITTED RPM Package Manager
    rpm.rte 4.15.1.0 COMMITTED RPM Package Manager

    Errors :
    While I trying to do smbclient(/opt/freeware/bin/smbclient //server/CHAKRI -U client100, Getting below errors . Please suggest us to fix
    exec(): 0509-036 Cannot load program /opt/freeware/bin/smbclient because of the following errors:
    0509-150 Dependent module /opt/freeware/lib/libreadline.a(libreadline.so.8) could not be loaded.
    0509-152 Member libreadline.so.8 is not found in archive (edited)

    ------------------------------
    Chakravarthi Thaduri
    ------------------------------


  • 2.  RE: Samba Issue

    Posted Fri September 25, 2020 02:45 AM
    Samba has a dependency on "readline > = 8.0-2 ". So you should have readline 8.0-2 already installed in the system (unless you installed samba manually with --nodeps option). 
    Suggest you to reinstall readine 8.0-2 and try again.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Samba Issue

    Posted Fri September 25, 2020 10:21 AM
    The file-sets was available in the system 
    rpm -qa |grep -i read
    readline-8.0-2.ppc

    ------------------------------
    Chakravarthi Thaduri
    ------------------------------



  • 4.  RE: Samba Issue

    Posted Fri September 25, 2020 10:26 AM
    "rpm -V readline" will show whether any corruption happened.
    Suggest you to reinstall readline and try smbclient.

    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: Samba Issue

    Posted Fri September 25, 2020 02:45 PM
    Edited by Chakravarthi Thaduri Fri September 25, 2020 02:47 PM
    Hi Ayappan P

    Good Day
     I could not able to uninstall the readline

    bash/]# rpm -qa |grep -i readline
    readline-8.0-2.ppc
    bash /]#
    bash/]#
    bash /]# rpm -V readline
    ....L.... /opt/freeware/lib/libhistory.a
    ....L.... /opt/freeware/lib/libreadline.a
    bash /]#
    bash/]# rpm -e readline-8.0-2.ppc
    error: Failed dependencies:
    libreadline.a(libreadline.so.8) is needed by (installed) samba-common-4.10.13-2.ppc
    libreadline.a(libreadline.so.8) is needed by (installed) samba-client-4.10.13-2.ppc
    readline >= 5.2 is needed by (installed) sqlite-3.15.2-1.ppc
    readline >= 8.0-2 is needed by (installed) samba-common-4.10.13-2.ppc



    ------------------------------
    Chakravarthi Thaduri
    ------------------------------



  • 6.  RE: Samba Issue

    Posted Sat September 26, 2020 07:23 AM
    You need not to uninstall readline. 
    You can just install the package again forcefully.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 7.  RE: Samba Issue

    Posted Mon September 28, 2020 07:59 AM
    Hi Team ,

    After re-install of readline (with forceful option)  errors was cleared .

    When I am trying smbclient, I am getting below errors (IP details has marked as X.X.X for security reason)

    [root@]# /opt/freeware/bin/smbclient //X.X.X.X//FIN91TST -U cliente01
    Enter WORKGROUP\cliente01's password:
    session setup failed: NT_STATUS_LOGON_FAILURE


    [root@]# cat /etc/samba/smb.conf |grep -p FIN91TST
    [FIN91TST]
    path = /home/cliente01/FIN91TST/
    writable = yes
    write list = cliente01

    [root@# ls -ld /home/cliente01/FIN91TST/
    drwxrwxrwx 3 cliente0 tuxadm 256 Nov 04 2015 /home/cliente01/FIN91TST/

    ------------------------------
    Chakravarthi Thaduri
    ------------------------------



  • 8.  RE: Samba Issue

    Posted Mon September 28, 2020 09:02 AM
    You need to look into the samba log file for the errors.

    ------------------------------
    Ayappan P
    ------------------------------



  • 9.  RE: Samba Issue

    Posted Mon September 28, 2020 10:16 AM

    Hi ,

    Thanks ,its resolved as performed below steps adding user and reset password

    smbpasswd -a cliente01 and /opt/freeware/bin/smbpasswd -U cliente01



    ------------------------------
    Chakravarthi Thaduri
    ------------------------------