Cezary Drożak wrote:
> On 6/17/22 13:17, Ulrich Windl wrote:
>> I think you (or the instructions) are mixing conf-syntax with config-syntax.
>> IMHO olc* is config-syntax.
>> See "man slapd.conf" vs. "man slapd-config".
> 
> The config.ldap file example from the Arch Wiki is almost the same as the one 
> in the EXAMPLES section of the "slapd-config" man page you mentioned. The 
> command
> is also almost the same — only the argument order is different and that on 
> Arch it is executed as the "ldap" user.
> 
> I tried to follow the official guide at 
> https://www.openldap.org/doc/admin26/quickstart.html (starting from point 8., 
> because I installed the package from the
> Arch Linux repository), but had the same error. The instructions are too very 
> similar to those on Arch Wiki.
> 
> Also, I forgot to mention it in the previous message, but I think that the 
> error message not giving any details qualifies as a bug (that's what I meant 
> by that
> title). "slapadd: could not add entry dn="cn=config" (line=1):"… but why? 
> What is wrong with that entry?

Add -d -1 to the slapadd invocation.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to