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


#Operatingsystems
#Opensource
#AIX
#AIX Open Source
 View Only
Expand all | Collapse all

SAMBA shares issue after upgrade from 4.10.13-1 to 4.14.12-1.

  • 1.  SAMBA shares issue after upgrade from 4.10.13-1 to 4.14.12-1.

    Posted Mon August 15, 2022 02:37 PM
    Hi Team,
    we are not able to access samba shares after upgrade from 4.10.13-1 to 4.14.12-1, we are using the same configuration file which was using for old version, 
    however it says permission denied error at Windows side. Do I need to change any anything on the existing conf file.
    here is my conf file:

    root@aixedi:/opt/freeware/bin # ./testparm
    Load smb config files from /etc/samba/smb.conf
    lpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated
    lpcfg_do_global_parameter: WARNING: The "client ntlmv2 auth" option is deprecated
    Loaded services file OK.
    Weak crypto is allowed

    WARNING: lock directory /var/locks should have permissions 0755 for browsing to work

    WARNING: The setting 'security=domain' should NOT be combined with the 'password server' parameter.
    (by default Samba will discover the correct DC to contact automatically).

    idmap range not specified for domain '*'
    ERROR: Invalid idmap range for domain *!

    Server role: ROLE_DOMAIN_MEMBER

    Press enter to see a dump of your service definitions

    # Global parameters
    [global]
    deadtime = 15
    dns proxy = No
    log file = /prlogs/samba/log.%m
    max log size = 204800
    password server = njproddc01.intprod.local
    realm = INTPROD.LOCAL
    restrict anonymous = 2
    security = DOMAIN
    server string = Samba Server
    smb passwd file = /usr/local/samba/private/smbpasswd
    socket options = IPTOS_LOWDELAY
    username map = /etc/samba/usermap.txt
    wins server = 172.17.3.33
    workgroup = INTPROD
    idmap config * : backend = tdb

    ------------------------------
    Tulasiram Morusu
    ------------------------------


  • 2.  RE: SAMBA shares issue after upgrade from 4.10.13-1 to 4.14.12-1.

    Posted Tue August 16, 2022 02:57 AM
    Edited by Ayappan P Tue August 16, 2022 03:00 AM
    As you can see, there are problems with the configuration shown by the testparm. 
    Fix them first , then restart/reload the services.

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