[Freedombox-discuss] ldapadd failure

Sunil Mohan Adapa sunil at medhas.org
Tue Sep 30 21:07:32 BST 2025


On 9/22/25 22:18, Stefan Monnier via Freedombox-discuss wrote:
[...]
>      Sep 23 01:16:08 FBOX /usr/bin/plinth[1378985]: Error running action users..setup(): CalledProcessError(53, ["ldapadd", "-Q", "-Y", "EXTERNAL", "-H", "ldapi:///"])
[...]
>                                                       ║ ldap_add: Server is unwilling to perform (53)
>                                                       ║         additional info: no global superior knowledge
[...]
>      Sep 23 01:16:08 FBOX /usr/bin/plinth[1378985]: Setup completed: users: Error updating app: {exception} Command '['ldapadd', '-Q', '-Y', 'EXTERNAL', '-H', 'ldapi:///']' returned non-zero exit status 53.

FreedomBox is trying to setup LDAP server for the first time. It is 
trying to create a entry such as "dn: ou=users,dc=thisbox" and it unable 
to do so as it did not find the parent entry (dc=thisbox).  This is 
unexpected because FreedomBox also responsible for creating the parent 
entry by configuring the 'slapd' package. Does the problem get solved if 
you run 'dpkg-reconfigure slapd' and specify the value 'thisbox' when 
the package asks for 'domain'?

How did you install FreedomBox? I assume this is using the Debian 
installer (and selecting the FreedomBox Blend). Unfortunately, in this 
approach there are some unnecessary questions being asked (we are 
looking for solution). Leaving them all to their default works just 
fine. FreedomBox will later set the right values. However, if you have 
answered this to some value unexpected, this could have happened. What 
did you answer for the question LDAP domain?

-- 
Sunil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x36C361440C9BC971.asc
Type: application/pgp-keys
Size: 54314 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/freedombox-discuss/attachments/20250930/bc9a836f/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/freedombox-discuss/attachments/20250930/bc9a836f/attachment-0001.sig>


More information about the Freedombox-discuss mailing list