Web lists-archives.com

Re: [Samba] Samba 4.7 and Editposix/Trusted Ldapsam extension support.




On Tue, 5 Feb 2019 11:31:53 +0300
Vladimir Skubriev via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Something like this.
> 
> But this link has no info that I need.
> 
> On the roadmap: https://wiki.samba.org/index.php/Roadmap
> 
> There is information
> <https://wiki.samba.org/index.php/Samba4/LDAP_Backend#.28De.29motivation>
> about general purpose LDAP server as the backend (e.g. openLDAP).

That page is about using openldap with a Samba AD DC instead of the
builtin ldap.

> 
> But that's not what i was looking for.
> 
> I looking for status of `passdb backend = ldapsam` feature. This
> feature implemented in `3.6.25`.
> 
> But when I try to configure this in 4.7, there is a some caveats
> prompting that my system will not work.

It worked last time I tried it.

> 
> For example:
> 
> root@server-storage:/#  net idmap set secret ACME PasswordClearText
> ldap_url_parse_ext(ldap://localhost/)
> ldap_init: trying /etc/ldap/ldap.conf
> ldap_init: using /etc/ldap/ldap.conf
> ldap_url_parse_ext(ldaps://ldap.acme.com)
> ldap_init: HOME env is /root
> ldap_init: trying /root/ldaprc
> ldap_init: trying /root/.ldaprc
> ldap_init: trying ldaprc
> ldap_init: LDAPCONF env is NULL
> ldap_init: LDAPRC env is NULL
> The only currently supported backend are LDAP and rfc2307
> 
> Message `The only currently supported backend are LDAP and rfc2307`
> hints that it is not supported.
> 

As far as I am aware, ldapsam editposix is LDAP. Perhaps you haven't
set Samba up correctly ?

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba