It is necessary to enable users to access shared disks on a remote server using LDAP information, that is, Samba needs to access the LDAP server and get it to authenticate based on its data. How to do it at all?

    1 answer 1

    In the Samba settings you need to set the following

    passdb backend = ldapsam:ldap://<<your-hostname>ldap suffix =ldap admin dn 

    and execute

     smbpasswd -w <ldap-secret>