i had to change in the example "Example 2.9. LDAP backend smb.conf for PDC" the value:
ldap admin dn = cn=Manager to:
ldap admin dn = cn=Manager,dc=quenya,dc=org to get the example working.
Even Though i supply the example password like advices:
root# smbpasswd -w mordonL8
i cant made a connection to the ldap server and get wrong credentials.
If i supply the password from slapd.conf for the Manager Account it works like a charm. Probably that is a typo at 8. Add the LDAP password to the secrets.tdb file so Samba can update the LDAP database.
Fixed with commit 0fee7985 in master.
Will be included in 3.3.5 and 3.2.12.
Closing out bug report.
Thanks for reporting!