Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
  • 1.  Samba 4.14.12-1 not working

    Posted 10/18/22 05:47 AM
      |   view attached

    Hi all

    We have installed Samba 4.14.12-1 on AIX 7.2
    The process is working and the we were able to join the the Domain-Controller.

    But if we try to map a share on Windows it's not working.

    Find attached the smb.conf-File.

    Here is the log-File:

    [2022/10/18 11:43:48.536733, 3] ../../source3/libads/ldap.c:278(ads_try_connect)
    ads_try_connect: CLDAP request failed.
    [2022/10/18 11:43:48.536798, 3] ../../source3/libsmb/namequery.c:3243(get_dc_list)
    get_dc_list: preferred server list: ", *"
    [2022/10/18 11:43:48.538446, 3] ../../source3/libads/ldap.c:707(ads_connect)
    Successfully contacted LDAP server 10.1.50.22
    [2022/10/18 11:43:48.538573, 3] ../../source3/libsmb/namequery.c:3243(get_dc_list)
    get_dc_list: preferred server list: ", *"
    [2022/10/18 11:43:48.539480, 3] ../../source3/libsmb/namequery.c:3243(get_dc_list)
    get_dc_list: preferred server list: ", *"
    [2022/10/18 11:43:48.541931, 3] ../../source3/libsmb/namequery.c:3243(get_dc_list)
    get_dc_list: preferred server list: ", *"
    [2022/10/18 11:43:48.542112, 3] ../../source3/libsmb/namequery.c:3243(get_dc_list)
    get_dc_list: preferred server list: ", *"
    [2022/10/18 11:44:13.514093, 2] ../../source3/libads/cldap.c:383(ads_cldap_netlogon)
    Failed to create cldap tsocket_address for - NT_STATUS_UNSUCCESSFUL


    I'm looking forward to a possible solution.

    Many thanks , Lukas



    ------------------------------
    Lukas Schmid
    ------------------------------

    #AIXOpenSource

    Attachment(s)

    conf
    smb.conf   1 KB 1 version


  • 2.  RE: Samba 4.14.12-1 not working

    Posted 10/18/22 06:33 AM
    There is nothing much one can deduce from these logs. 
    You can increase the log level to 10 and look for the errors. If you are going to share the logs here, then blank out sensitive details.
    Run "testparm" to check for any config issues with smb.conf file.

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



  • 3.  RE: Samba 4.14.12-1 not working

    Posted 10/28/22 06:26 AM

    Hi Ayappan

    I've found the root cause of the problem. The customer had 2 smb.conf file on its box with different content.

    One is stored in the original location /etc/samba/smb.conf and one is store in a shared folder /samba/etc/smb.conf.

    During the smb-Start procedure, the client is using the /samba/etc/smb.conf file. But to join the Domain etc, they used the "net ads join -U xxxx" without the option

    -- configfile.  I have now linked the /samba/etc/smb.conf -> /etc/samba/smb.conf and since then it works fine.

    Thanks for your support, Lukas



    ------------------------------
    Lukas Schmid
    ------------------------------