[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
How to change BaseDN? (OpenLDAP/slapd)
- To: openldap-technical@openldap.org
- Subject: How to change BaseDN? (OpenLDAP/slapd)
- From: Dominique Fuchs <d.fuchs91@icloud.com>
- Date: Wed, 07 Aug 2019 14:43:20 GMT
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1565189000; bh=KHQDRrcS9/hJElW85Q18SLHmlWKqFzdmw/iPrxmX9ns=; h=To:From:Subject:Date:Message-id:Content-Type; b=q0UtJsWlMmoDT2xur0Lr9RNHidiH1UYGOmySjLmfBkxKAfogcGjOxBIaC72OHhLSi b5vuDFGl4x7aL74vN1f3QZnlOp4shoqsnGzXBEWhdu3Xg9iJYgrGHdHiyeGIkNRR4u TYmXwUVme7YYjA4/IYMgusuHoWxOcK/jHi1yUBZL7pftBpOyZz0H7WEc/IHYCzVVsk jXbo0m0ZI7of7Z4LKr+QQHi4lk/vj9/jXj5e+qsDhfPb/JiSkTkVJTkeksEz7aGXLL Ya9rfTKZ6GVzNcJXhMnVa/AZHJ8DKIKVV1N4cXeV+3vlQ2cSj75GFdsAMp5eehstgW gax2hFvGC3IHw==
Hi everyone,
I'm actually stuck trying to set up an OpenLDAP implementation on my server running debian/slapd. Based on the hostname of the server (server.foo.bar) slapd automatically sets up the base config with dc=foo,dc=bar as BaseDN. This runs fine and I can connect successfully. However, I actually want the BaseDN for the LDAP structure to rely on the subdomain ldap.foo.bar (dc=ldap,dc=foo,dc=bar). How can I accomplish this?
I already tried to fiddle around with ldapmodify/ldif-files, but the only thing I found online where descriptions of how to add a node, not how to change the root node.
This post on SO:
only explains how to rename an existing setup (and even there I can't imagine there isn't a more native way of changing the BaseDN).
Thanks in advance!