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 4.12.10-1 msdfs link read errors re-introduced ?

    Posted Tue February 09, 2021 01:13 AM
    Samba 4.12.10-1 cannot display/read msdfs links - generating 'math routine'  errors reading msdfs links. 

    Appears to be same error that was fixed 10/25/2018  in 4.6.16  "uploaded Samba-4.6.16 which addresses the latest CVEs and the msdfs links issue"

    ref thread from Sept 2018 

    samba debug log message:

    [2021/02/08 14:51:05.766328, 6, pid=11075786, effective(50233, 401), real(0, 0)] ../../source3/smbd/dir.c:820(smbd_dirptr_get_entry)

    smbd_dirptr_get_entry: dirptr 0x302f7e48 now at offset 129

    [2021/02/08 14:51:05.766383, 0, pid=11075786, effective(50233, 401), real(0, 0), class=vfs] ../../source3/modules/vfs_default.c:469(vfswrap_read_dfs_pathat)

    vfswrap_read_dfs_pathat: Error reading msdfs link share1: A return value of a math subroutine is not within machine precision.

    [2021/02/08 14:51:05.766535, 5, pid=11075786, effective(50233, 401), real(0, 0)] ../../source3/smbd/trans2.c:1793(smbd_dirptr_lanman2_mode_fn)

    smbd_dirptr_lanman2_mode_fn: Couldn't stat [share1] (A file or directory in the path name does not exist.)


    samba.conf settings: 

    [global]

           host msdfs = yes

    [dfs]

           comment         = Data automount directory msdfs

           path           = /var/lib/server-74/data

           browseable     = Yes

           msdfs root     = yes

           read only       = No

    > ls -l /var/lib/server-74/data

    lrwxrwxrwx   1 root     system           46 May 26 2020 share1 -> msdfs:server.corp.domainxxxx.com\data_share1


    Thanks

    ------------------------------
    STEVE ROGERS
    ------------------------------


  • 2.  RE: Samba 4.12.10-1 msdfs link read errors re-introduced ?

    Posted Tue February 09, 2021 01:30 AM
    Thanks for reporting the issue. 
    There were lot of code changes in the new releases. So that could have introduced this. 
    Working on a fix. Probably this week or next week a fixed samba will be available in Toolbox.

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



  • 3.  RE: Samba 4.12.10-1 msdfs link read errors re-introduced ?

    Posted Tue March 02, 2021 10:49 AM
    Any ETA on when fix will be available ?   thx

    ------------------------------
    STEVE ROGERS
    ------------------------------



  • 4.  RE: Samba 4.12.10-1 msdfs link read errors re-introduced ?

    Posted Tue March 02, 2021 11:57 AM
    We are unable to upload the rpms to Toolbox because the upload infra is down because of US winter storm. 
    Hopefully will be able to upload next week.

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